Skip to contentSkip to conversation

mac80211: modify max_nullfunc parameter

PATCH In review Chen, Chien-Chia 3 participants 3 messages Dec 12, 2012 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: modify max_nullfunc parameter

From: Chen, Chien-Chia <[email protected]>

This parameter default is 2. But it is easy to cause my station losing the connection with AP. After I tune it to 20. It improves much when using rt2x00 and Linksys WRT160N V3 AP router.

---
 net/mac80211/mlme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/mlme.c +1 -1
index 1b7eed2..ef872d7 100644
@@ -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 = 20;
 module_param(max_nullfunc_tries, int, 0644);
 MODULE_PARM_DESC(max_nullfunc_tries,
 		 "Maximum nullfunc tx tries before disconnecting (reason 4).");
Signature · 1 line
1.7.7
maintainer
#1 lore raw
Quoted 5 lines · Chien-Chia

From: Chen, Chien-Chia <[email protected]>

This parameter default is 2. But it is easy to cause my station losing the connection with AP. After I tune it to 20. It improves much when using rt2x00 and Linksys WRT160N V3 AP router.

I'm not very keen on taking a driver specific change into mac80211 ... maybe the driver shouldn't lose so many frames instead?

johannes

#2 lore raw

Well, first question is figuring out why that's occuring. It's not being sent at some really ridiculously high rate, is it?

Adrian