aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-26 05:45:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-26 05:45:31 +0000
commit6d9de3dbec8e1f08401fed00084488f6e059afde (patch)
tree971086a0f1ade25ae631b9e45acd230fccacca64 /package/madwifi
parent7c9bfa0ce25bcabf76ec7a9db520c421beda1123 (diff)
downloadmaster-187ad058-6d9de3dbec8e1f08401fed00084488f6e059afde.tar.gz
master-187ad058-6d9de3dbec8e1f08401fed00084488f6e059afde.tar.bz2
master-187ad058-6d9de3dbec8e1f08401fed00084488f6e059afde.zip
madwifi: use mrr even in legacy mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10269 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/318-minstrel_mrr.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/madwifi/patches/318-minstrel_mrr.patch b/package/madwifi/patches/318-minstrel_mrr.patch
new file mode 100644
index 0000000000..0c67b26172
--- /dev/null
+++ b/package/madwifi/patches/318-minstrel_mrr.patch
@@ -0,0 +1,22 @@
+Index: madwifi-dfs-r3252/ath_rate/minstrel/minstrel.c
+===================================================================
+--- madwifi-dfs-r3252.orig/ath_rate/minstrel/minstrel.c 2008-01-26 03:42:00.155571408 +0100
++++ madwifi-dfs-r3252/ath_rate/minstrel/minstrel.c 2008-01-26 05:55:24.107535577 +0100
+@@ -328,7 +328,7 @@
+ return;
+ }
+
+- mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR;
++ mrr = sc->sc_mrretry && ENABLE_MRR;
+
+ if (sn->static_rate_ndx >= 0) {
+ ndx = sn->static_rate_ndx;
+@@ -486,7 +486,7 @@
+ if (!ts->ts_status) /* Success when sending a packet*/
+ sn->rs_ratesuccess[final_ndx]++;
+
+- mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR;
++ mrr = sc->sc_mrretry && ENABLE_MRR;
+
+ if (!mrr) {
+ if ((0 <= final_ndx) && (final_ndx < sn->num_rates)) {