mac80211: TDLS: add proper HT-oper IE
authorArik Nemtsov <arik@wizery.com>
Sun, 25 Oct 2015 08:59:34 +0000 (10:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Nov 2015 09:42:47 +0000 (10:42 +0100)
commit57f255f58165974c131f048b4302728052d92d29
treeacd1ba928536735713b08174a627f2a999e2e058
parent0d440ea294a00b60ced66c0bc5cb5caa42fd4fbd
mac80211: TDLS: add proper HT-oper IE

When 11n peers performs a TDLS connection on a legacy BSS, the HT
operation IE must be specified according to IEEE802.11-2012 section
9.23.3.2. Otherwise HT-protection is compromised and the medium becomes
noisy for both the TDLS and the BSS links.

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/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/tdls.c
net/mac80211/util.c