mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
wifi: iwlwifi: add mapping of prph register crf for PE RF
In blank OTP, we get the CRF type from a peripheral register, support it for PE CRF Signed-off-by: Somashekhar(Som) <somashekhar.puttagangaiah@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20241228223206.a8899d585a6e.I9d9b223c75d5370811220291c62c364967c0acc3@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
20eccf4ac9
commit
049412e732
|
|
@ -458,6 +458,7 @@ enum {
|
|||
#define REG_CRF_ID_TYPE_GF 0x410
|
||||
#define REG_CRF_ID_TYPE_FM 0x910
|
||||
#define REG_CRF_ID_TYPE_WHP 0xA10
|
||||
#define REG_CRF_ID_TYPE_PE 0xA30
|
||||
|
||||
#define HPM_DEBUG 0xA03440
|
||||
#define PERSISTENCE_BIT BIT(12)
|
||||
|
|
|
|||
|
|
@ -1302,6 +1302,9 @@ static int map_crf_id(struct iwl_trans *iwl_trans)
|
|||
case REG_CRF_ID_TYPE_WHP:
|
||||
iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_WH << 12);
|
||||
break;
|
||||
case REG_CRF_ID_TYPE_PE:
|
||||
iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_PE << 12);
|
||||
break;
|
||||
default:
|
||||
ret = -EIO;
|
||||
IWL_ERR(iwl_trans,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user