mac80211: don't duplicate station QoS capability data
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Jul 2014 12:50:47 +0000 (14:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Aug 2014 12:38:08 +0000 (14:38 +0200)
commita74a8c846fb699f3277c0c21278bd4c414074b4a
tree35650df83624505b2a90a4195f350f0e3ecb3800
parentc9d26423e56ce1ab4d786f92aebecf859d419293
mac80211: don't duplicate station QoS capability data

We currently track the QoS capability twice: for all peer stations
in the WLAN_STA_WME flag, and for any clients associated to an AP
interface separately for drivers in the sta->sta.wme field.

Remove the WLAN_STA_WME flag and track the capability only in the
driver-visible field, getting rid of the limitation that the field
is only valid in AP mode.

Reviewed-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/debugfs_sta.c
net/mac80211/ibss.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/tdls.c
net/mac80211/tx.c
net/mac80211/wme.c