Skip to contentSkip to conversation

Regression in latest wireless-2.6: commit 43c8321e breaks rate control

PATCH In review Larry Finger 2 participants 4 messages Nov 7, 2007 mac80211

lore
Share & tools
lore
#0 lore raw

Commit 43c8321e breaks rate control, and my b43 device, on wireless-2.6/everything. The hack below fixes it:

net/mac80211/Kconfig +1 -1
Index: wireless-2.6/net/mac80211/Kconfig
===================================================================
@@ -16,7 +16,7 @@ config MAC80211
 config MAC80211_RCSIMPLE
        bool "'simple' rate control algorithm"
        default y
-       depends on MAC80211 && EMBEDDED
+       depends on MAC80211
        help
          This option allows you to turn off the 'simple' rate
          control algorithm in mac80211. If you do turn it off,

On my system, the symbol EMBEDDED is not defined, thus rcsimple, the only rate-control mechanism I need to use, is not built.

Larry

maintainer
#1 lore raw
Quoted 17 lines · Larry Finger

Commit 43c8321e breaks rate control, and my b43 device, on wireless-2.6/everything. The hack below fixes it:

Index: wireless-2.6/net/mac80211/Kconfig
===================================================================

net/mac80211/Kconfig +1 -1
@@ -16,7 +16,7 @@ config MAC80211
 config MAC80211_RCSIMPLE
        bool "'simple' rate control algorithm"
        default y
-       depends on MAC80211 && EMBEDDED
+       depends on MAC80211
        help
          This option allows you to turn off the 'simple' rate
          control algorithm in mac80211. If you do turn it off,
Quoted 2 lines

On my system, the symbol EMBEDDED is not defined, thus rcsimple, the only rate-control mechanism I need to use, is not built.

Ahrg. I'm stupid. I meant for this to be only selectable on EMBEDDED. How do I do that?

johannes

maintainer
#2 lore raw

PATCH 1/1 mac80211: fix MAC80211_RCSIMPLE Kconfig

In reply to Larry Finger

I meant for this to be selectable only with EMBEDDED, not enabled only with EMBEDDED. This does it that way. Sorry.

---
 net/mac80211/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/mac80211/Kconfig +2 -2
@@ -14,9 +14,9 @@ config MAC80211
 	networking stack.
 
 config MAC80211_RCSIMPLE
-	bool "'simple' rate control algorithm"
+	bool "'simple' rate control algorithm" if EMBEDDED
 	default y
-	depends on MAC80211 && EMBEDDED
+	depends on MAC80211
 	help
 	  This option allows you to turn off the 'simple' rate
 	  control algorithm in mac80211. If you do turn it off,
#3 lore raw

Re: [PATCH] mac80211: fix MAC80211_RCSIMPLE Kconfig

Quoted 12 lines · Johannes Berg

I meant for this to be selectable only with EMBEDDED, not enabled only with EMBEDDED. This does it that way. Sorry.

---
 net/mac80211/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/mac80211/Kconfig +0 -0
@@ -14,9 +14,9 @@ config MAC80211
 	networking stack.

net/mac80211/Kconfig config MAC80211 · line 22

Quoted 10 lines
net/mac80211/Kconfig +2 -2
 
 config MAC80211_RCSIMPLE
-	bool "'simple' rate control algorithm"
+	bool "'simple' rate control algorithm" if EMBEDDED
 	default y
-	depends on MAC80211 && EMBEDDED
+	depends on MAC80211
 	help
 	  This option allows you to turn off the 'simple' rate
 	  control algorithm in mac80211. If you do turn it off,

This one works here. ACK for non-embedded system.

Larry