aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
diff options
context:
space:
mode:
authorBenjamin Berg <[email protected]>2024-03-19 08:10:19 +0000
committerJohannes Berg <[email protected]>2024-03-25 14:39:10 +0000
commita615323f7f90838887ae583007fd2e069ba985ad (patch)
treef4941ef499ad7c7ab3551bddc507ee6a17491e53 /drivers/net/wireless/intel/iwlwifi/fw/runtime.h
parentwifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8 (diff)
downloadkernel-a615323f7f90838887ae583007fd2e069ba985ad.tar.gz
kernel-a615323f7f90838887ae583007fd2e069ba985ad.zip
wifi: iwlwifi: mvm: always apply 6 GHz probe limitations
When scanning on 6 GHz we allocate a set of short-SSIDs and BSSIDs to probe. However, when we need to do an active scan because of a hidden SSID, then we could add too many entries for probing causing an assertion in the firmware input validation. Reshuffle the code a bit to first calculate the maximum number of short-SSIDs and BSSIDs that are permitted for the channel. Then ensure that we do not set more than the permitted number of bits in the bitmasks and turn on force_passive when we have surpassed the limit. While at it, also change the logic so that allow_passive is always disabled in case a hidden SSID is included. Previously, we might not have done so if we added the short-SSID based on the number of BSSIDs already in the request. Signed-off-by: Benjamin Berg <[email protected]> Reviewed-by: Ilan Peer <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20240319100755.e0b114b68d1d.Ib86afccdb955f0d221ef5d7b8afdc1d67c3542ef@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/runtime.h')
0 files changed, 0 insertions, 0 deletions