]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit52a45f38ca5998db0394e782d137595a82a08b43
treece43b7bfa34b879c66ffb54f1aa155737b80b4ab
parent549cc1c560128d583698ba9a73af283fe87dbab8
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