2015-03-15 07:07:09

by Felix Fietkau

[permalink] [raw]
Subject: [PATCH 4.0] ath9k: disable TPC support again (for now)

TPC support has been observed to cause some tx power fluctuations on
some devices with at least AR934x and AR938x chips.
Disable it for now until the bugs have been found and fixed

Signed-off-by: Felix Fietkau <[email protected]>
---
drivers/net/wireless/ath/ath9k/hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 60aa8d7..8529014 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -424,7 +424,7 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
ah->power_mode = ATH9K_PM_UNDEFINED;
ah->htc_reset_init = true;

- ah->tpc_enabled = true;
+ ah->tpc_enabled = false;

ah->ani_function = ATH9K_ANI_ALL;
if (!AR_SREV_9300_20_OR_LATER(ah))
--
2.2.2



2015-03-16 06:35:46

by Kalle Valo

[permalink] [raw]
Subject: Re: [4.0] ath9k: disable TPC support again (for now)


> TPC support has been observed to cause some tx power fluctuations on
> some devices with at least AR934x and AR938x chips.
> Disable it for now until the bugs have been found and fixed
>
> Signed-off-by: Felix Fietkau <[email protected]>

Thanks, applied to wireless-drivers.git.

Kalle Valo