This patchset is simply the rebased version of PATCHv2, which received quite a few comments, but in the end we agreed to leave it as it is. As the patchset has not been merged so far, I'm resending it. If there are any comments/objections, please let me know. :) (original) description: This patchset adds support for fixed HT datarates. The configuration is set through nl80211, and now accepts MCS masks next to the legacy masks. A user may also choose to only use HT datarates and no legacy rates at all - - as always when fiddling with datarates, he should know what he's doing, and a fallback in the rate matching functions allow to use the rate controls selected rate if no matching rate was found. The rate matching was enhanced to consider MCS rates as well. I have tested this feature in IBSS mode with ath9k devices and with and without NoAcks, and (at least for me) it works as expected. There is an iw patch as well to make use of this feature. It should apply well on the latest wireless-testing kernel. Changes to previous versions: * fix NL80211_MAX_SUPP_HT_RATES and add bug assertion * copy mcs rates from sband into mask * add sanity check for rate index * various formatting clean up Signed-off-by: Simon Wunderlich <siwu@xxxxxxxxxxxxxxxxxx> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@xxxxxxxxxxxxxxxxxxx> Simon Wunderlich (2): nl80211: add support for mcs masks mac80211: add support for mcs masks include/linux/nl80211.h | 4 + include/net/cfg80211.h | 3 +- include/net/mac80211.h | 1 + net/mac80211/cfg.c | 5 +- net/mac80211/debugfs_netdev.c | 34 +++++++++++ net/mac80211/ieee80211_i.h | 1 + net/mac80211/iface.c | 7 ++ net/mac80211/rate.c | 124 ++++++++++++++++++++++++++++++++++++++--- net/mac80211/tx.c | 5 ++ net/wireless/nl80211.c | 61 ++++++++++++++++++++- 10 files changed, 233 insertions(+), 12 deletions(-) -- 1.7.8.3 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html