Add support to mask vht rates using ratemask configured by the user through iw command (e.g. iw dev wlan0 set bitrates vht-mcs-5 2:2,4). Remove ieee80211_tx_rate dependency in rate mask code in order to use mcs/legacy rate mask logic for station rate table as well. This patchset has been tested using mac80211/mt76 driver on Buffalo WHR-1166D router running OpenWrt trunk Lorenzo Bianconi (4): mac80211: remove ieee80211_tx_info from rate_control_apply_mask signature mac80211: remove ieee80211_tx_rate dependency in rate mask code mac80211: define rate_control_apply_mask_ratetbl() mac80211: add rate mask logic for vht rates net/mac80211/cfg.c | 16 ++- net/mac80211/debugfs_netdev.c | 34 ++++++ net/mac80211/ieee80211_i.h | 5 + net/mac80211/iface.c | 14 ++- net/mac80211/rate.c | 251 ++++++++++++++++++++++++++++++------------ net/mac80211/vht.c | 27 +++++ 6 files changed, 271 insertions(+), 76 deletions(-) -- 2.1.4 -- 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