diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-08-08 00:50:46 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-22 22:29:59 +0200 |
commit | 6042a3e3ff7943e4ff5cbcb8c223ea87337501ea (patch) | |
tree | 299af6b93c402be6bb25a62492123a79656f1ede /net/mac80211/ieee80211_i.h | |
parent | rt2x00: Add module parameter to disable HW crypto (diff) | |
download | linux-6042a3e3ff7943e4ff5cbcb8c223ea87337501ea.tar.xz linux-6042a3e3ff7943e4ff5cbcb8c223ea87337501ea.zip |
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.h | 4 |
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 { struct sk_buff_head skb_queue; - int auth_tries, assoc_tries; + int assoc_scan_tries; /* number of scans done pre-association */ + int auth_tries; /* retries for auth req */ + int assoc_tries; /* retries for assoc req */ unsigned long request; |