aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-15 07:10:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-15 07:10:38 +0000
commit78f8090dc95eed9d42bd8b683ad2c74417b4ccb2 (patch)
treee9303e6fc4c48b5bbeb774779f4249a07c29fc64
parentd13ecbd5fe2c16dfb9c29d910bb7ef5611caa6e0 (diff)
downloadupstream-78f8090dc95eed9d42bd8b683ad2c74417b4ccb2.tar.gz
upstream-78f8090dc95eed9d42bd8b683ad2c74417b4ccb2.tar.bz2
upstream-78f8090dc95eed9d42bd8b683ad2c74417b4ccb2.zip
ath9k: disable TPC support for now until bugs have been found and fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44768 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/mac80211/patches/309-ath9k-disable-TPC-support-again-for-now.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/309-ath9k-disable-TPC-support-again-for-now.patch b/package/kernel/mac80211/patches/309-ath9k-disable-TPC-support-again-for-now.patch
new file mode 100644
index 0000000000..945fbce334
--- /dev/null
+++ b/package/kernel/mac80211/patches/309-ath9k-disable-TPC-support-again-for-now.patch
@@ -0,0 +1,22 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Date: Sun, 15 Mar 2015 08:02:37 +0100
+Subject: [PATCH] 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 <nbd@openwrt.org>
+---
+
+--- 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(struc
+ 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))