aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/eeprom.h')
-rw-r--r--drivers/net/wireless/ath9k/eeprom.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.h b/drivers/net/wireless/ath9k/eeprom.h
index 60cb23de97c6..2cfea5d56d10 100644
--- a/drivers/net/wireless/ath9k/eeprom.h
+++ b/drivers/net/wireless/ath9k/eeprom.h
@@ -168,6 +168,8 @@
168#define AR5416_EEP4K_PD_GAIN_ICEPTS 5 168#define AR5416_EEP4K_PD_GAIN_ICEPTS 5
169#define AR5416_EEP4K_MAX_CHAINS 1 169#define AR5416_EEP4K_MAX_CHAINS 1
170 170
171#define AR9280_TX_GAIN_TABLE_SIZE 22
172
171enum eeprom_param { 173enum eeprom_param {
172 EEP_NFTHRESH_5, 174 EEP_NFTHRESH_5,
173 EEP_NFTHRESH_2, 175 EEP_NFTHRESH_2,
@@ -188,6 +190,8 @@ enum eeprom_param {
188 EEP_RX_MASK, 190 EEP_RX_MASK,
189 EEP_RXGAIN_TYPE, 191 EEP_RXGAIN_TYPE,
190 EEP_TXGAIN_TYPE, 192 EEP_TXGAIN_TYPE,
193 EEP_OL_PWRCTRL,
194 EEP_RC_CHAIN_MASK,
191 EEP_DAC_HPWR_5G, 195 EEP_DAC_HPWR_5G,
192 EEP_FRAC_N_5G 196 EEP_FRAC_N_5G
193}; 197};
@@ -229,7 +233,7 @@ struct base_eep_header {
229 u8 futureBase_1[2]; 233 u8 futureBase_1[2];
230 u8 rxGainType; 234 u8 rxGainType;
231 u8 dacHiPwrMode_5G; 235 u8 dacHiPwrMode_5G;
232 u8 futureBase_2; 236 u8 openLoopPwrCntl;
233 u8 dacLpMode; 237 u8 dacLpMode;
234 u8 txGainType; 238 u8 txGainType;
235 u8 rcChainMask; 239 u8 rcChainMask;
@@ -310,6 +314,13 @@ struct modal_eep_header {
310 struct spur_chan spurChans[AR5416_EEPROM_MODAL_SPURS]; 314 struct spur_chan spurChans[AR5416_EEPROM_MODAL_SPURS];
311} __packed; 315} __packed;
312 316
317struct calDataPerFreqOpLoop {
318 u8 pwrPdg[2][5];
319 u8 vpdPdg[2][5];
320 u8 pcdac[2][5];
321 u8 empty[2][5];
322} __packed;
323
313struct modal_eep_4k_header { 324struct modal_eep_4k_header {
314 u32 antCtrlChain[AR5416_EEP4K_MAX_CHAINS]; 325 u32 antCtrlChain[AR5416_EEP4K_MAX_CHAINS];
315 u32 antCtrlCommon; 326 u32 antCtrlCommon;