]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: avoid VHT usage with no 80MHz chans allowed
authorArik Nemtsov <arik@wizery.com>
Sat, 15 Aug 2015 19:39:53 +0000 (22:39 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Sep 2015 12:31:41 +0000 (14:31 +0200)
commit03411208cebd3cb8c3755f1a13575391f16cbd72
treece43b7bfa34b879c66ffb54f1aa155737b80b4ab
parent41f552a36fe7d65e835227b27a68f3d898399477
mac80211: avoid VHT usage with no 80MHz chans allowed

Currently if 80MHz channels are not allowed for use, the VHT IE is not
included in the probe request for an AP. This is not good enough if the
AP is configured with the wrong regulatory and supports VHT even where
prohibited or in TDLS scenarios.
Mark the ifmgd with the DISABLE_VHT flag for the misbehaving-AP case, and
unset VHT support from the peer-station entry for the TDLS case.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
net/mac80211/vht.c