* [PATCH] mac80211: fix transposed min/max CW values
@ 2009-05-27 7:41 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-05-27 7:41 UTC (permalink / raw)
To: John Linville; +Cc: Jouni Malinen, linux-wireless
I accidentally transposed these in the patch that "fixed" the defaults,
leading to extremely low throughput because of the huge min CW.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/util.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- wireless-testing.orig/net/mac80211/util.c 2009-05-27
09:37:50.000000000 +0200
+++ wireless-testing/net/mac80211/util.c 2009-05-27 09:38:52.000000000
+0200
@@ -703,15 +703,15 @@ void ieee80211_set_wmm_default(struct ie
switch (queue) {
case 3: /* AC_BK */
- qparam.cw_max = aCWmin;
- qparam.cw_min = aCWmax;
+ qparam.cw_max = aCWmax;
+ qparam.cw_min = aCWmin;
qparam.txop = 0;
qparam.aifs = 7;
break;
default: /* never happens but let's not leave undefined */
case 2: /* AC_BE */
- qparam.cw_max = aCWmin;
- qparam.cw_min = aCWmax;
+ qparam.cw_max = aCWmax;
+ qparam.cw_min = aCWmin;
qparam.txop = 0;
qparam.aifs = 3;
break;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 7:41 [PATCH] mac80211: fix transposed min/max CW values Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox