wifi: iwlwifi: mvm: record and return channel survey information
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 6 May 2024 07:04:13 +0000 (10:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 14:33:25 +0000 (16:33 +0200)
commitfc612222416ce206e01d7509b013bad41a051d83
tree9fc53ae11fe72aea744b856fd0ef8f03b17292b7
parent97320888cb1582312bb171f4d8b5adc96e630333
wifi: iwlwifi: mvm: record and return channel survey information

While doing a passive scan, the firmware will report per-channel survey
information. This information is primarily useful for hostapd when doing
an ACS (Automatic Channel Selection). Collect this information and add
it to the result set when getting the survey information.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240506095953.9287591a5999.I54a3f9f6480d3694e67eea1cb4f5853beace2780@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/scan.c
drivers/net/wireless/intel/iwlwifi/mvm/tests/Makefile
drivers/net/wireless/intel/iwlwifi/mvm/tests/scan.c [new file with mode: 0644]