Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] CHROMIUMOS: mac80211: Increase retry attempts for nullfunc probes
@ 2012-05-18 20:49 Gary Morain
  2012-05-21 19:26 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Morain @ 2012-05-18 20:49 UTC (permalink / raw)
  To: linux-wireless; +Cc: pstew

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 <gmorain@chromium.org>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-22  0:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 20:49 [PATCH] CHROMIUMOS: mac80211: Increase retry attempts for nullfunc probes Gary Morain
2012-05-21 19:26 ` Johannes Berg
     [not found]   ` <CADfcX6r=GuQh2kdC_OEX9fvfGjWXeGwFKGTfFWs-88nqgGNF_Q@mail.gmail.com>
2012-05-21 22:29     ` Gary Morain
2012-05-22  0:56       ` Sujith Manoharan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox