Commit 92b50c4b5b01d0ba4efcff9e85f7a76b620fe789

Authored by Helmut Schaa
Committed by John W. Linville
1 parent f860d526eb

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.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

net/mac80211/Kconfig
... ... @@ -69,6 +69,7 @@
69 69  
70 70 config MAC80211_RC_DEFAULT
71 71 string
  72 + default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
72 73 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
73 74 default "pid" if MAC80211_RC_DEFAULT_PID
74 75 default ""