add chaos_calmer branch
[15.05/openwrt.git] / package / kernel / mac80211 / patches / 309-ath9k-disable-TPC-support-again-for-now.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sun, 15 Mar 2015 08:02:37 +0100
3 Subject: [PATCH] ath9k: disable TPC support again (for now)
4
5 TPC support has been observed to cause some tx power fluctuations on
6 some devices with at least AR934x and AR938x chips.
7 Disable it for now until the bugs have been found and fixed
8
9 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
10 ---
11
12 --- a/drivers/net/wireless/ath/ath9k/hw.c
13 +++ b/drivers/net/wireless/ath/ath9k/hw.c
14 @@ -424,7 +424,7 @@ static void ath9k_hw_init_defaults(struc
15         ah->power_mode = ATH9K_PM_UNDEFINED;
16         ah->htc_reset_init = true;
17  
18 -       ah->tpc_enabled = true;
19 +       ah->tpc_enabled = false;
20  
21         ah->ani_function = ATH9K_ANI_ALL;
22         if (!AR_SREV_9300_20_OR_LATER(ah))