iwlwifi: mvm: add extended dwell time
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 22 Nov 2015 14:37:36 +0000 (16:37 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 20 Dec 2015 21:27:40 +0000 (23:27 +0200)
commitc3e230b167a9d618c4eb41c0a5ba1851d33d6dbd
treea358316ee50dd9b2ded64850d9f1a6e294dc8d5c
parentc81240707c71f343d96dae3537997682a9eb436d
iwlwifi: mvm: add extended dwell time

When doing active scan on crowded channels we are likely to miss probe
responses due to collisions. To overcome this issue we use an extended
dwell time on channels 1, 6 and 11; this dwell time is set to 100.

In case of fragmented scan extended dwell time is the maximum out of
channel time - 44 msec. Fragmented active scan will be addressed later.

Extended dwell time isn't used in sched scan or p2p find.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-scan.h
drivers/net/wireless/intel/iwlwifi/mvm/scan.c