summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/eeprom_def.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-26 21:04:34 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-27 22:09:17 +0200
commit5b75d0fca5b8cd2657fb240f2112e272a115b2f9 (patch)
treef575728550e4ecd07723545554f0f13110a34330 /drivers/net/wireless/ath/ath9k/eeprom_def.c
parentath9k_hw: Fix usec to hw clock conversion in 5Ghz for ar9003 (diff)
downloadlinux-5b75d0fca5b8cd2657fb240f2112e272a115b2f9.tar.xz
linux-5b75d0fca5b8cd2657fb240f2112e272a115b2f9.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/eeprom_def.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/eeprom_def.c2
1 files changed, 2 insertions, 0 deletions
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,
return pBase->txMask;
case EEP_RX_MASK:
return pBase->rxMask;
+ case EEP_FSTCLK_5G:
+ return pBase->fastClk5g;
case EEP_RXGAIN_TYPE:
return pBase->rxGainType;
case EEP_TXGAIN_TYPE: