]> 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)
commit50d5db5bfa79d4ef60a7cf4a1f8061df51e38079
tree4e584861dfdd93b6ace23b63e10678b7e7f0042e
parent1499e4c8f328f227e431c58138000838966ea8a3
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