]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Passively scan non PSC channels only when requested so
authorIlan Peer <ilan.peer@intel.com>
Fri, 4 Feb 2022 10:25:03 +0000 (12:25 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:53 +0000 (10:40 +0200)
commit0e1d3a9e3c5bee5ceb86a9696a25666026ed5fb0
treefcb82d15080a226a9df267b8722b7f4c255660a6
parentda8c24d6264a797b4a85e149a98c74b6851d487f
iwlwifi: mvm: Passively scan non PSC channels only when requested so

Non PSC channels should generally be scanned based on information about
collocated APs obtained during scan on legacy bands, and otherwise
should not be scanned unless specifically requested so (as there are
relatively many non PSC channels, scanning them passively is time consuming
and interferes with regular data traffic).

Thus, modify the scan logic to avoid passively scanning PSC channels
if there is no information about collocated APs and the scan is not
a passive scan.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220204122220.457da4cc95eb.Ic98472bab5f5475f1e102547644caaae89ce4c4a@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c