]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: support BIOS override for UNII4 in CA/US also in LARI versions < 12
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 26 Dec 2024 15:44:48 +0000 (17:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 13:00:54 +0000 (14:00 +0100)
commita581a0287c8d3348ced3c3e7f4a7100d89769b7a
tree1e1d214d61954dbbc6c9f7f7476408b2ad84f4d7
parent09bdddd3ed2ed2bfaf4bfd35138775faceb6a7b7
wifi: iwlwifi: support BIOS override for UNII4 in CA/US also in LARI versions < 12

Commit ef7ddf4e2f94 ("iwlwifi: Add support for LARI_CONFIG_CHANGE_CMD v12")
added a few bits to iwl_lari_config_change_cmd::chan_state_active_bitmap
if the FW has LARI version >= 12.
But we also need to send those bits for version 8-11 if the FW is capable
of this feature (indicated with capability bits)
Add the FW capability bit, and set the additional bits in the cmd when
the version is 8 and the FW capability bit is set.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20241226174257.672651ad849c.I67a00d9544c48ad964f8e998ebe8c168071c3d01@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/fw/regulatory.c