* [PATCH] mac80211: modify max_nullfunc parameter
@ 2012-12-12 10:28 Chen, Chien-Chia
2012-12-12 10:46 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Chen, Chien-Chia @ 2012-12-12 10:28 UTC (permalink / raw)
To: linux-wireless, ath9k-devel, users
From: Chen, Chien-Chia <matt680209@gmail.com>
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.
Signed-off-by: Chen, Chien-Chia <matt680209@gmail.com>
---
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 1b7eed2..ef872d7 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 = 20;
module_param(max_nullfunc_tries, int, 0644);
MODULE_PARM_DESC(max_nullfunc_tries,
"Maximum nullfunc tx tries before disconnecting (reason 4).");
--
1.7.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211: modify max_nullfunc parameter
2012-12-12 10:28 [PATCH] mac80211: modify max_nullfunc parameter Chen, Chien-Chia
@ 2012-12-12 10:46 ` Johannes Berg
2012-12-12 10:49 ` Adrian Chadd
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2012-12-12 10:46 UTC (permalink / raw)
To: Chen, Chien-Chia; +Cc: linux-wireless, ath9k-devel, users
On Wed, 2012-12-12 at 18:28 +0800, Chen, Chien-Chia wrote:
> From: Chen, Chien-Chia <matt680209@gmail.com>
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211: modify max_nullfunc parameter
2012-12-12 10:46 ` Johannes Berg
@ 2012-12-12 10:49 ` Adrian Chadd
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Chadd @ 2012-12-12 10:49 UTC (permalink / raw)
To: Johannes Berg; +Cc: Chen, Chien-Chia, linux-wireless, ath9k-devel, users
Well, first question is figuring out why that's occuring. It's not
being sent at some really ridiculously high rate, is it?
Adrian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-12 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 10:28 [PATCH] mac80211: modify max_nullfunc parameter Chen, Chien-Chia
2012-12-12 10:46 ` Johannes Berg
2012-12-12 10:49 ` Adrian Chadd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).