aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-08-07 18:50:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 16:29:59 -0400
commit6042a3e3ff7943e4ff5cbcb8c223ea87337501ea (patch)
tree299af6b93c402be6bb25a62492123a79656f1ede /net/mac80211/ieee80211_i.h
parent008c44825db74c6cdcea13dfb1598896e74fe908 (diff)
mac80211: change number of pre-assoc scans
This patch fixes noticed problem in noisy environments of 50+ APs that scan fails to find the requested AP on first try, which leads to connection refusal. second scan has empirically proven to fix this problem in almost all cases. Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: Esti Kummer <ester.kummer@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 747814f319af..c6de3156930c 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -361,7 +361,9 @@ struct ieee80211_if_sta {
361 361
362 struct sk_buff_head skb_queue; 362 struct sk_buff_head skb_queue;
363 363
364 int auth_tries, assoc_tries; 364 int assoc_scan_tries; /* number of scans done pre-association */
365 int auth_tries; /* retries for auth req */
366 int assoc_tries; /* retries for assoc req */
365 367
366 unsigned long request; 368 unsigned long request;
367 369