]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc054c54f36aed9022db766d2518174b13d5a3eca
tree35650df83624505b2a90a4195f350f0e3ecb3800
parent50e9138e2eb9fc8d0ae96f597dc583657c8b92fa
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