[package] iwinfo: transparently handle radioX names in madwifi backend
[openwrt.git] / package / madwifi / patches / 357-bgscan_thresh.patch
index c9d60ea856e3b3e9170ed01156ac7c69fc8dde4a..bf3483776ff2806db9b7b9b0ffa569dc945481e2 100644 (file)
@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 --- a/net80211/ieee80211_ioctl.h
 +++ b/net80211/ieee80211_ioctl.h
 @@ -646,6 +646,7 @@ enum {
-       IEEE80211_PARAM_MINRATE                 = 76,   /* Maximum rate (by table index) */
+       IEEE80211_PARAM_MINRATE                 = 76,   /* Minimum rate (by table index) */
        IEEE80211_PARAM_PROTMODE_RSSI           = 77,   /* RSSI Threshold for enabling protection mode */
        IEEE80211_PARAM_PROTMODE_TIMEOUT        = 78,   /* Timeout for expiring protection mode */
 +      IEEE80211_PARAM_BGSCAN_THRESH           = 79,   /* bg scan rssi threshold */
@@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
  }
  
  static __inline int
-@@ -3258,6 +3260,25 @@ ieee80211_recv_mgmt(struct ieee80211vap 
+@@ -3258,6 +3260,25 @@ ieee80211_recv_mgmt(struct ieee80211vap
                        /* record tsf of last beacon */
                        memcpy(ni->ni_tstamp.data, scan.tstamp,
                                sizeof(ni->ni_tstamp));