aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/eeprom.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-11 23:36:45 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:51:43 -0500
commit06d0f0663e11cab4ec5f2c143a118d71a12fbbe9 (patch)
tree25f7f2dcee8b2f6acdf577a8122fd5da15e2b2b2 /drivers/net/wireless/ath9k/eeprom.h
parentfec0de1110e58ed39647e484bff8437e4185158d (diff)
ath9k: Enable Fractional N mode
This patch enables Fractional N mode for all channel if the EEPROM says so, and also fixes the INI only when the device is not a 2 GHz only capable device. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/eeprom.h')
-rw-r--r--drivers/net/wireless/ath9k/eeprom.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.h b/drivers/net/wireless/ath9k/eeprom.h
index 5c0d6c339fe9..60cb23de97c6 100644
--- a/drivers/net/wireless/ath9k/eeprom.h
+++ b/drivers/net/wireless/ath9k/eeprom.h
@@ -125,6 +125,7 @@
125#define AR5416_EEP_MINOR_VER_17 0x11 125#define AR5416_EEP_MINOR_VER_17 0x11
126#define AR5416_EEP_MINOR_VER_19 0x13 126#define AR5416_EEP_MINOR_VER_19 0x13
127#define AR5416_EEP_MINOR_VER_20 0x14 127#define AR5416_EEP_MINOR_VER_20 0x14
128#define AR5416_EEP_MINOR_VER_22 0x16
128 129
129#define AR5416_NUM_5G_CAL_PIERS 8 130#define AR5416_NUM_5G_CAL_PIERS 8
130#define AR5416_NUM_2G_CAL_PIERS 4 131#define AR5416_NUM_2G_CAL_PIERS 4
@@ -188,6 +189,7 @@ enum eeprom_param {
188 EEP_RXGAIN_TYPE, 189 EEP_RXGAIN_TYPE,
189 EEP_TXGAIN_TYPE, 190 EEP_TXGAIN_TYPE,
190 EEP_DAC_HPWR_5G, 191 EEP_DAC_HPWR_5G,
192 EEP_FRAC_N_5G
191}; 193};
192 194
193enum ar5416_rates { 195enum ar5416_rates {
@@ -232,7 +234,9 @@ struct base_eep_header {
232 u8 txGainType; 234 u8 txGainType;
233 u8 rcChainMask; 235 u8 rcChainMask;
234 u8 desiredScaleCCK; 236 u8 desiredScaleCCK;
235 u8 futureBase_3[23]; 237 u8 power_table_offset;
238 u8 frac_n_5g;
239 u8 futureBase_3[21];
236} __packed; 240} __packed;
237 241
238struct base_eep_header_4k { 242struct base_eep_header_4k {