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>
This commit is contained in:
Ron Rindjunsky
2008-08-08 01:50:46 +03:00
committed by John W. Linville
parent 008c44825d
commit 6042a3e3ff
2 changed files with 10 additions and 3 deletions

View File

@@ -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;