mac80211: restrict assoc request VHT capabilities
authorJohannes Berg <johannes.berg@intel.com>
Fri, 7 Dec 2012 12:06:48 +0000 (13:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:39 +0000 (13:01 +0100)
commitb08fbbd8ade1fe3eea821a65b98d9f6a828329da
tree09c6f053e83f97cbe8207036eadb3755fa329e1f
parent0f500a5f6cadac888d5d3fce326452372d1a8343
mac80211: restrict assoc request VHT capabilities

In interoperability testing some APs showed bad behaviour
if some of the VHT capabilities of the station are better
than their own. Restrict the assoc request parameters
 - beamformee capabable,
 - RX STBC and
 - RX MCS set
to the subset that the AP can support.

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