diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-09 00:12:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-11 15:02:11 -0400 |
commit | a949b1725c38775fb869d24433f13d2d104de145 (patch) | |
tree | a31ae9912a2b1b2d35d9db3bd486e6f433bd3928 /drivers/net/wireless/ath | |
parent | 804f6acb7cea1ea5b3e0ded1bf037f9bf02f1124 (diff) |
ath9k_hw: always enable 5 GHz fast clock for AR9280
All devices support this, but some disable it using an EEPROM flag
for some reason. Improves 5 GHz performance on those devices.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 07827b55e84b..a6bb9c4f8a87 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -2079,10 +2079,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) | |||
2079 | pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; | 2079 | pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; |
2080 | } else { | 2080 | } else { |
2081 | pCap->tx_desc_len = sizeof(struct ath_desc); | 2081 | pCap->tx_desc_len = sizeof(struct ath_desc); |
2082 | if (AR_SREV_9280_20(ah) && | 2082 | if (AR_SREV_9280_20(ah)) |
2083 | ((ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) <= | ||
2084 | AR5416_EEP_MINOR_VER_16) || | ||
2085 | ah->eep_ops->get_eeprom(ah, EEP_FSTCLK_5G))) | ||
2086 | pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK; | 2083 | pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK; |
2087 | } | 2084 | } |
2088 | 2085 | ||