diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-12 00:33:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:32 -0400 |
commit | 4935250ac14d9aac7d98411bdead2e33a9fadeac (patch) | |
tree | d8f61d8413cd8ec5f08312118e0f6e19be9407f8 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | ab33449895a6690a3e5fcfa8391fdeb1be65c320 (diff) |
ath9k_hw: add support for parsing PA predistortion related EEPROM fields
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/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 83e04613f785..5a2e72aaf490 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -2235,6 +2235,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) | |||
2235 | pCap->rx_status_len = sizeof(struct ar9003_rxs); | 2235 | pCap->rx_status_len = sizeof(struct ar9003_rxs); |
2236 | pCap->tx_desc_len = sizeof(struct ar9003_txc); | 2236 | pCap->tx_desc_len = sizeof(struct ar9003_txc); |
2237 | pCap->txs_len = sizeof(struct ar9003_txs); | 2237 | pCap->txs_len = sizeof(struct ar9003_txs); |
2238 | if (ah->eep_ops->get_eeprom(ah, EEP_PAPRD)) | ||
2239 | pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; | ||
2238 | } else { | 2240 | } else { |
2239 | pCap->tx_desc_len = sizeof(struct ath_desc); | 2241 | pCap->tx_desc_len = sizeof(struct ath_desc); |
2240 | if (AR_SREV_9280_20(ah) && | 2242 | if (AR_SREV_9280_20(ah) && |