diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-12-19 02:18:12 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2014-12-24 20:13:55 +0300 |
commit | a9abe3023ace441ce9e27425b263f2dabd28cf32 (patch) | |
tree | 8f5f68db4bca29345dd8c3c3b340be6bfa70f4e0 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | b30b2e0f3dbcde630b911bdc8fda8ae8300fff6a (diff) | |
download | linux-a9abe3023ace441ce9e27425b263f2dabd28cf32.tar.xz |
ath9k: enable TPC by default
Enable hw TPC by default on AR9003 based chips
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 6d4b273469b1..258c4d236cbe 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -422,6 +422,9 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah) ah->power_mode = ATH9K_PM_UNDEFINED; ah->htc_reset_init = true; + /* ar9002 does not support TPC for the moment */ + ah->tpc_enabled = !!AR_SREV_9300_20_OR_LATER(ah); + ah->ani_function = ATH9K_ANI_ALL; if (!AR_SREV_9300_20_OR_LATER(ah)) ah->ani_function &= ~ATH9K_ANI_MRC_CCK; |