]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: split remain-on-channel
authorJohannes Berg <johannes.berg@intel.com>
Tue, 20 Sep 2011 22:37:22 +0000 (15:37 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 20:19:42 +0000 (16:19 -0400)
commit9b6da0d9ba112f4a77d0033022bd7a27ce558b4c
tree4e584861dfdd93b6ace23b63e10678b7e7f0042e
parent956f3e62bfa41895d9cfe407924c4d10c5fc3db2
iwlagn: split remain-on-channel

If we're associated and want to do P2P at the same
time, the scan for remain-on-channel is currently
limited to 80ms because of the way the device will
behave in that case. Instead of doing that, split
up the dwell times into little pieces. It will not
actually be a single big dwell time then, but will
be close enough. This improves robustness of P2P
in such scenarios.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-scan.c