summaryrefslogtreecommitdiff
path: root/net/wireless/scan.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-04-13 16:38:40 +0530
committerPadma, Santhosh Kumar <skpadma@codeaurora.org>2017-04-21 17:34:31 +0530
commit74e43f3573cb188fe5f8006ec0c5d765cebf76f7 (patch)
treed5b9a36d46761afc64867dfdfe9b34e3a5d7cf82 /net/wireless/scan.c
parent1a2fe3d28ee65d3015ced41c335e11e1c3974247 (diff)
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> Git-commit: f9616e0f8828fba6c06d1feff1c26eaf049b1e8a Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/ jberg/mac80211-next.git CRs-Fixed: 2036907 Change-Id: I8b57fba12f0d42fa7d01243210206d432fbf9757 Signed-off-by: Padma, Santhosh Kumar <skpadma@codeaurora.org>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r--net/wireless/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 5b4906ad1b81..a6451bf9a717 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -69,7 +69,7 @@ module_param(bss_entries_limit, int, 0644);
MODULE_PARM_DESC(bss_entries_limit,
"limit to number of scan BSS entries (per wiphy, default 1000)");
-#define IEEE80211_SCAN_RESULT_EXPIRE (7 * HZ)
+#define IEEE80211_SCAN_RESULT_EXPIRE (30 * HZ)
static void bss_free(struct cfg80211_internal_bss *bss)
{