diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-26 15:04:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:17 -0400 |
commit | 5b75d0fca5b8cd2657fb240f2112e272a115b2f9 (patch) | |
tree | f575728550e4ecd07723545554f0f13110a34330 | |
parent | e55537240f97635f9a7c42fac224ff80fa637624 (diff) |
ath9k_hw: update EEPROM data structure for AR9280
Adds read access for the 5 GHz fast clock flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/eeprom.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/eeprom_def.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/eeprom.h b/drivers/net/wireless/ath/ath9k/eeprom.h index fb9c8c92eabe..21354c15a9a9 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom.h +++ b/drivers/net/wireless/ath/ath9k/eeprom.h | |||
@@ -300,7 +300,8 @@ struct base_eep_header { | |||
300 | u32 binBuildNumber; | 300 | u32 binBuildNumber; |
301 | u8 deviceType; | 301 | u8 deviceType; |
302 | u8 pwdclkind; | 302 | u8 pwdclkind; |
303 | u8 futureBase_1[2]; | 303 | u8 fastClk5g; |
304 | u8 divChain; | ||
304 | u8 rxGainType; | 305 | u8 rxGainType; |
305 | u8 dacHiPwrMode_5G; | 306 | u8 dacHiPwrMode_5G; |
306 | u8 openLoopPwrCntl; | 307 | u8 openLoopPwrCntl; |
diff --git a/drivers/net/wireless/ath/ath9k/eeprom_def.c b/drivers/net/wireless/ath/ath9k/eeprom_def.c index cf59799ef307..e591ad6016e5 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom_def.c +++ b/drivers/net/wireless/ath/ath9k/eeprom_def.c | |||
@@ -274,6 +274,8 @@ static u32 ath9k_hw_def_get_eeprom(struct ath_hw *ah, | |||
274 | return pBase->txMask; | 274 | return pBase->txMask; |
275 | case EEP_RX_MASK: | 275 | case EEP_RX_MASK: |
276 | return pBase->rxMask; | 276 | return pBase->rxMask; |
277 | case EEP_FSTCLK_5G: | ||
278 | return pBase->fastClk5g; | ||
277 | case EEP_RXGAIN_TYPE: | 279 | case EEP_RXGAIN_TYPE: |
278 | return pBase->rxGainType; | 280 | return pBase->rxGainType; |
279 | case EEP_TXGAIN_TYPE: | 281 | case EEP_TXGAIN_TYPE: |