]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:03 +0000 (16:36 +0100)
commiteff9b1ec88dc28508d82eb03fbe3765cd28d93f9
treeef369cf92b496330e9aa44729897ed46cbe005f4
parent44558e69020b96aa8bb6f57516cb4d330338a9b4
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>
include/linux/ieee80211.h
include/net/mac80211.h
net/mac80211/vht.c