]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit390808db4ab5c658dc1eb8078d82027ce7d0ea78
tree4e584861dfdd93b6ace23b63e10678b7e7f0042e
parentc68929060181eb088bef252c5f493a66a44e77b1
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