mac80211: handle width changes from opmode notification IE in beacon
authorEyal Shapira <eyal@wizery.com>
Tue, 8 Dec 2015 14:04:36 +0000 (16:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Dec 2015 12:16:47 +0000 (13:16 +0100)
commitcf1e05c63642ce65821a6277adfc2157f7334c9d
tree520021e3e5bbdd88704a9cf91fb7fc2686470796
parenta87da0cbc42949cefc8282c39ab4cb8c460bd6ea
mac80211: handle width changes from opmode notification IE in beacon

An AP can send an operating channel width change in a beacon
opmode notification IE as long as there's a change in the nss as
well (See 802.11ac-2013 section 10.41).
So don't limit updating to nss only from an opmode notification IE.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/vht.c