mac80211: introduce capability flags for VHT EXT NSS support
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Aug 2018 08:31:17 +0000 (11:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:03:14 +0000 (10:03 +0200)
commit09b4a4faf9d037990ac4f8110dd944b27b42d5df
tree8b111e6eb338fa9a0042e3bc91fa75eb5dca8ed0
parentb0aa75f0b1b2e6bc77128fab36c8ed87e84917cc
mac80211: introduce capability flags for VHT EXT NSS support

Depending on whether or not rate control supports selecting
rates depending on the bandwidth, we can use VHT extended
NSS support. In essence, this is dot11VHTExtendedNSSBWCapable
from the spec, since depending on that we'll need to parse
the bandwidth.

If needed, also set/clear the VHT Capability Element bit for
this capability so that we don't advertise it erroneously or
don't advertise it when we actually use it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c