summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-01 18:24:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-01 18:24:56 +0000
commit99c170db7cd427aa0a849126f75ba2c966f239c6 (patch)
tree4c15828705299a3f1474b2ad41643eb5bed37838 /package/madwifi/patches
parent68c64ec9e2b90897776cc92afcc61def8b0d34be (diff)
downloadmtk-20170518-99c170db7cd427aa0a849126f75ba2c966f239c6.zip
mtk-20170518-99c170db7cd427aa0a849126f75ba2c966f239c6.tar.gz
mtk-20170518-99c170db7cd427aa0a849126f75ba2c966f239c6.tar.bz2
disable tpc in madwifi by default (seems to be hurting performance in long-distance links)
SVN-Revision: 7434
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/117-no_tpc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/117-no_tpc.patch b/package/madwifi/patches/117-no_tpc.patch
new file mode 100644
index 0000000..96c5816
--- /dev/null
+++ b/package/madwifi/patches/117-no_tpc.patch
@@ -0,0 +1,12 @@
+diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
+--- madwifi.old/ath/if_ath.c 2007-06-01 16:44:25.170898128 +0200
++++ madwifi.dev/ath/if_ath.c 2007-06-01 20:01:24.205131816 +0200
+@@ -271,7 +271,7 @@
+ static char *ratectl = DEF_RATE_CTL;
+ static int rfkill = 0;
+ #ifdef ATH_CAP_TPC
+-static int tpc = -1;
++static int tpc = 0;
+ #endif
+ static int countrycode = -1;
+ static int outdoor = -1;