Skip to contentSkip to conversation

mac82011: Allow selection of minstrel_ht as default rc algorithm

PATCH New Helmut Schaa 1 participant 1 message Jun 30, 2010 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mac82011: Allow selection of minstrel_ht as default rc algorithm

Allow selection of minstrel_ht as default rate control algorithm. At the moment minstrel_ht can only be requested by the driver code but not selected as default in make menuconfig. Fix this by using minstrel_ht when minstrel was selected as default and minstrel_ht is available.

This change won't affect legacy devices as minstrel_ht falls back to minstrel in that case.

---
 net/mac80211/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/mac80211/Kconfig +1 -0
index 83eec7a..4d6f865 100644
@@ -69,6 +69,7 @@ endchoice
 
 config MAC80211_RC_DEFAULT
 	string
+	default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
 	default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
 	default "pid" if MAC80211_RC_DEFAULT_PID
 	default ""
Signature · 1 line
1.6.4.2