diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-04-13 16:38:40 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-16 14:38:43 -0400 |
commit | f9616e0f8828fba6c06d1feff1c26eaf049b1e8a (patch) | |
tree | 3f921d41e29e107952f3ce467d38cd835b86b53b /net | |
parent | de5f8fc3a3fd4db14568332ffe39a117eaae5498 (diff) | |
download | linux-f9616e0f8828fba6c06d1feff1c26eaf049b1e8a.tar.gz linux-f9616e0f8828fba6c06d1feff1c26eaf049b1e8a.tar.bz2 linux-f9616e0f8828fba6c06d1feff1c26eaf049b1e8a.zip |
cfg80211: increse bss expire time
The background scan completion takes more time when the station is
having heavy uplink traffic. The scan state machine decides to fall
back to home channel on every off-channel visit when there are pending
frames in tx queue. bgscan completion took ~30sec on dual band US
regulatory card.
scan period = (20 active channels * probe timeout) +
(12 passive channels * passive probe timeout) +
(32 * timeout on home channel) +
(32 * flush timeout)
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index fdbcfe692a36..1442bb68a3f3 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -18,7 +18,7 @@ #include "nl80211.h" #include "wext-compat.h" -#define IEEE80211_SCAN_RESULT_EXPIRE (15 * HZ) +#define IEEE80211_SCAN_RESULT_EXPIRE (30 * HZ) void ___cfg80211_scan_done(struct cfg80211_registered_device *rdev, bool leak) { |