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:
committed by
John W. Linville
parent
008c44825d
commit
6042a3e3ff
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user