summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-12-05 10:35:38 +0200
committerGregory Greenman <gregory.greenman@intel.com>2022-12-07 17:35:06 +0200
commit8ca67e3d8bfe8d1cf9e68328c585562ab5e63309 (patch)
treed141535c438e6a110fc07bf74e2de5d263f68ea0 /drivers
parent65e6af6cebefbf7d8d8ac52b71cd251c2071ad00 (diff)
downloadlinux-stable-8ca67e3d8bfe8d1cf9e68328c585562ab5e63309.tar.gz
linux-stable-8ca67e3d8bfe8d1cf9e68328c585562ab5e63309.tar.bz2
linux-stable-8ca67e3d8bfe8d1cf9e68328c585562ab5e63309.zip
wifi: iwlwifi: nvm-parse: enable WiFi7 for Fm radio for now
We're still working out how the hardware/firmware (will) advertise support for this - for now, assume that Fm radio supports it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20221205102808.f73face1a674.Ic62ee5c61c0ef2a5b5e9f89782b7bc82b0caa408@changeid
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
index 476b90f32626..aa8e08487b52 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
@@ -1964,6 +1964,8 @@ struct iwl_nvm_data *iwl_get_nvm(struct iwl_trans *trans,
!!(mac_flags & NVM_MAC_SKU_FLAGS_BAND_5_2_ENABLED);
nvm->sku_cap_mimo_disabled =
!!(mac_flags & NVM_MAC_SKU_FLAGS_MIMO_DISABLED);
+ if (CSR_HW_RFID_TYPE(trans->hw_rf_id) == IWL_CFG_RF_TYPE_FM)
+ nvm->sku_cap_11be_enable = true;
/* Initialize PHY sku data */
nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains);