When a nullfunc probe fails for lack of an ACK, it is retried
almost immediately. The current setting of 2 retries completes
in about 4 ms. If an AP is off-channel scanning, this is not
enough time for the AP to return to the operating channel and
ACK the nullfunc. As a result, the client disconnects when the
AP is still there and operating.
Signed-off-by: Gary Morain <[email protected]>
---
net/mac80211/mlme.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index dbd4bd9..dd1d901 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -36,7 +36,7 @@
#define IEEE80211_ASSOC_TIMEOUT (HZ / 5)
#define IEEE80211_ASSOC_MAX_TRIES 3
-static int max_nullfunc_tries = 2;
+static int max_nullfunc_tries = 100;
module_param(max_nullfunc_tries, int, 0644);
MODULE_PARM_DESC(max_nullfunc_tries,
"Maximum nullfunc tx tries before disconnecting (reason 4).");
--
1.7.7.3