wifi: iwlwifi: nvm-parse: enable WiFi7 for Fm radio for now
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Dec 2022 08:35:38 +0000 (10:35 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Wed, 7 Dec 2022 15:35:06 +0000 (17:35 +0200)
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
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c

index 476b90f32626cdf41509fb6ff98563d8c6a9514e..aa8e08487b52a0d16b8801d8b9e97203b92a4627 100644 (file)
@@ -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);