summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-01 18:24:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-01 18:24:56 +0000
commit61fabf2d1ea87b8df504d8c1a3ee26703a73a94f (patch)
tree22d403933646e14cf432f79657f19be9ac90ef57 /package
parent476c27b3fc3068af0aecd67889b0a0abcff4298a (diff)
disable tpc in madwifi by default (seems to be hurting performance in long-distance links)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7434 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 000000000..96c581663
--- /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;