From 58b73ab831dc04c7db28f0ec4fe5bb9dd63922a2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 1 Jun 2007 18:24:56 +0000 Subject: [PATCH] disable tpc in madwifi by default (seems to be hurting performance in long-distance links) SVN-Revision: 7434 --- package/madwifi/patches/117-no_tpc.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/madwifi/patches/117-no_tpc.patch diff --git a/package/madwifi/patches/117-no_tpc.patch b/package/madwifi/patches/117-no_tpc.patch new file mode 100644 index 0000000000..96c581663a --- /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; -- 2.30.2