]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: iwlwifi: support BIOS override for 5G9 in CA also in LARI version 8
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 26 Dec 2024 15:44:49 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 20:59:57 +0000 (21:59 +0100)
commitfd82d29c4cfb4767167823ffac6825525c13d2cc
treea2b699ef131c0c310e2e175e494ed837e9de3290
parent7f306c651feab2f3689185f60b94e72b573255db
wifi: iwlwifi: support BIOS override for 5G9 in CA also in LARI version 8

commit b1e8102a4048003097c7054cbc00bbda91a5ced7 upstream.

Commit 6b3e87cc0ca5 ("iwlwifi: Add support for LARI_CONFIG_CHANGE_CMD
cmd v9")
added a few bits to iwl_lari_config_change_cmd::oem_unii4_allow_bitmap
if the FW has LARI version >= 9.
But we also need to send those bits for version 8 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.dc5836f84514.I1e38f94465a36731034c94b9811de10cb6ee5921@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c