diff options
author | 2023-09-21 11:58:10 +0300 | |
---|---|---|
committer | 2023-09-25 09:15:00 +0200 | |
commit | c513228c472d65980f81ff061adb1b656b4dca90 (patch) | |
tree | 09385003a0a767ca225d59ecce6e7b82f37efcb9 /drivers/net/wireless/intel/iwlwifi/pcie | |
parent | wifi: iwlwifi: mvm: check for iwl_mvm_mld_update_sta() errors (diff) | |
download | linux-c513228c472d65980f81ff061adb1b656b4dca90.tar.gz linux-c513228c472d65980f81ff061adb1b656b4dca90.tar.bz2 linux-c513228c472d65980f81ff061adb1b656b4dca90.zip |
wifi: iwlwifi: add mapping of a periphery register crf for WH RF
Add the support for prph register RF details and map it
to get the RF ID of NIC.
Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230921110727.ccfc4868111f.I94dd75fc82443facf571f2fe8e23c50e9053a35a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c index bc83d2ba55c6..e8687683ff29 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c @@ -1196,6 +1196,9 @@ static int map_crf_id(struct iwl_trans *iwl_trans) case REG_CRF_ID_TYPE_FMR: iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_FM << 12); break; + case REG_CRF_ID_TYPE_WHP: + iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_WH << 12); + break; default: ret = -EIO; IWL_ERR(iwl_trans, |