Commit c513228c authored by Mukesh Sisodiya's avatar Mukesh Sisodiya Committed by Johannes Berg
Browse files

wifi: iwlwifi: add mapping of a periphery register crf for WH RF

parent 3aa80d31
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -452,6 +452,7 @@ enum {
#define REG_CRF_ID_TYPE_FM			0x910
#define REG_CRF_ID_TYPE_FMI			0x930
#define REG_CRF_ID_TYPE_FMR			0x900
#define REG_CRF_ID_TYPE_WHP			0xA10

#define HPM_DEBUG			0xA03440
#define PERSISTENCE_BIT			BIT(12)
+3 −0
Original line number Diff line number Diff line
@@ -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,