Regression in latest wireless-2.6: commit 43c8321e breaks rate control
Commit 43c8321e breaks rate control, and my b43 device, on wireless-2.6/everything. The hack below fixes it:
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,
On my system, the symbol EMBEDDED is not defined, thus rcsimple, the only rate-control mechanism I need to use, is not built.
Larry
Johannes Berg
maintainerQuoted 17 lines · Larry Finger
Commit
43c8321ebreaks 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
Johannes Berg
maintainerPATCH 1/1 mac80211: fix MAC80211_RCSIMPLE Kconfig
In reply to Larry FingerI 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,
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.
Signed-off-by Johannes Berg <[email protected]>--- 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
-2config 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