summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-r3776/327-rssi_disconnect.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
commit16731f482f4d3f3e94c90beb70c9cbba9c8dd631 (patch)
tree59850f98e47a5e8165d1a1084b7e78d45db77b64 /package/madwifi/patches-r3776/327-rssi_disconnect.patch
parent4d144eee67a94959f1a5d875678e466775782c14 (diff)
downloadmtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.zip
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.gz
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.bz2
refresh madwifi-testing patches
SVN-Revision: 11866
Diffstat (limited to 'package/madwifi/patches-r3776/327-rssi_disconnect.patch')
-rw-r--r--package/madwifi/patches-r3776/327-rssi_disconnect.patch24
1 files changed, 8 insertions, 16 deletions
diff --git a/package/madwifi/patches-r3776/327-rssi_disconnect.patch b/package/madwifi/patches-r3776/327-rssi_disconnect.patch
index 1ce8e2a..b7e406c 100644
--- a/package/madwifi/patches-r3776/327-rssi_disconnect.patch
+++ b/package/madwifi/patches-r3776/327-rssi_disconnect.patch
@@ -3,10 +3,8 @@ when letting wpa_supplicant control roaming.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-Index: madwifi-trunk-r3776/net80211/ieee80211_ioctl.h
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_ioctl.h 2008-07-17 04:03:30.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_ioctl.h 2008-07-17 04:07:29.000000000 +0200
+--- a/net80211/ieee80211_ioctl.h
++++ b/net80211/ieee80211_ioctl.h
@@ -656,6 +656,8 @@
IEEE80211_PARAM_PROTMODE_RSSI = 85, /* RSSI Threshold for enabling protection mode */
IEEE80211_PARAM_PROTMODE_TIMEOUT = 86, /* Timeout for expiring protection mode */
@@ -16,10 +14,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_ioctl.h
};
#define SIOCG80211STATS (SIOCDEVPRIVATE+2)
-Index: madwifi-trunk-r3776/net80211/ieee80211_wireless.c
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_wireless.c 2008-07-17 04:03:07.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_wireless.c 2008-07-17 04:07:56.000000000 +0200
+--- a/net80211/ieee80211_wireless.c
++++ b/net80211/ieee80211_wireless.c
@@ -2832,6 +2832,12 @@
case IEEE80211_PARAM_ROAM_RATE_11G:
vap->iv_roam.rate11g = value;
@@ -61,10 +57,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_wireless.c
{ IEEE80211_PARAM_UAPSDINFO,
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "uapsd" },
{ IEEE80211_PARAM_UAPSDINFO,
-Index: madwifi-trunk-r3776/net80211/ieee80211_input.c
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_input.c 2008-07-17 04:07:08.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_input.c 2008-07-17 04:09:03.000000000 +0200
+--- a/net80211/ieee80211_input.c
++++ b/net80211/ieee80211_input.c
@@ -3234,6 +3234,17 @@
/* When rssi is low, start doing bgscans more frequently to allow
@@ -83,10 +77,8 @@ Index: madwifi-trunk-r3776/net80211/ieee80211_input.c
if ((rssi < vap->iv_bgscanthr) &&
(!vap->iv_bgscanthr_next ||
!time_before(jiffies, vap->iv_bgscanthr_next)) &&
-Index: madwifi-trunk-r3776/net80211/ieee80211_var.h
-===================================================================
---- madwifi-trunk-r3776.orig/net80211/ieee80211_var.h 2008-07-17 04:07:08.000000000 +0200
-+++ madwifi-trunk-r3776/net80211/ieee80211_var.h 2008-07-17 04:07:10.000000000 +0200
+--- a/net80211/ieee80211_var.h
++++ b/net80211/ieee80211_var.h
@@ -233,6 +233,9 @@
u_int iv_bgscanintvl; /* bg scan min interval */
u_int iv_bgscanthr; /* bg scan rssi threshold */