mac80211: restrict peer's VHT capabilities to own
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2013 12:07:48 +0000 (13:07 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 22 Mar 2013 23:13:24 +0000 (00:13 +0100)
commit88ed4e24d2767f3c32e2790361b305295b270c23
tree242aa9a2e42d2be7cc93414c9ef301bf3ea6c739
parentb92ac60aef8ca789825f1388b58eca61fc2be420
mac80211: restrict peer's VHT capabilities to own

Implement restricting peer VHT capabilities to the device's own
capabilities. This is useful when a single driver supports more
than one device and the devices have different capabilities
(often they will differ in the number of spatial streams), but
in particular is also necessary for VHT capability overrides to
work correctly -- otherwise it'd be possible to e.g. advertise,
due to overrides, that TX-STBC is not supported, but then still
use it to TX to the AP because it supports RX-STBC.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h