]> 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)
commit502739780093e07d12973b793d0776ec36e53f09
treeef369cf92b496330e9aa44729897ed46cbe005f4
parent60f552c4504acd77a220f1586123c9cea2c75016
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