Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6993e4d2 authored by Rajkumar Manoharan's avatar Rajkumar Manoharan Committed by Padma, Santhosh Kumar
Browse files

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: default avatarRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Git-commit: f9616e0f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/


jberg/mac80211-next.git
CRs-Fixed: 2036907
Change-Id: I8b57fba12f0d42fa7d01243210206d432fbf9757
Signed-off-by: default avatarPadma, Santhosh Kumar <skpadma@codeaurora.org>
parent 7fc1bbb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,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)
{