]> 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)
commit30c3a4058113a9555c2704476c53901455aaae2d
treece43b7bfa34b879c66ffb54f1aa155737b80b4ab
parent00fc0d2eda4b93c874636f8511c59f91d7d4ce93
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