iwlwifi: mvm: use fast balance scan in case of DCM mode with P2P GO
authorAyala Beker <ayala.beker@intel.com>
Wed, 4 Jul 2018 09:08:23 +0000 (12:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 8 Oct 2018 07:36:18 +0000 (10:36 +0300)
commit2ec3ef4614c9d50425334b2f2cd146740d9352e8
treeeff9600f4442b4916a43804b3fbb4956e6cf8802
parent6ff80f18d539975ac5120f95b83b0fa0053d4fa8
iwlwifi: mvm: use fast balance scan in case of DCM mode with P2P GO

Currently in case of DCM with P2P GO where BSS DTIM interval < 220 msec
the fw fails to allocate events for the P2P GO dtim due to long passive
scan events.

Fix this by requesting all scans in this scenario to be fragmented with
fast balance scan time settings.  The only exception is in case
fragmented scan was planned to be set due to low latency or high
throughput reason, set the scan timing as planned.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c