]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: increse bss expire time
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 13 Apr 2012 11:08:40 +0000 (16:38 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:43 +0000 (14:38 -0400)
commit2f83238297627ec308967084a319cfa8a0d2371c
tree3f921d41e29e107952f3ce467d38cd835b86b53b
parent37956fe578a87e599b1c8a20d32b2d03bb32c218
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>
net/wireless/scan.c