aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-03-21 03:09:55 -0400
committerJohannes Berg <johannes.berg@intel.com>2015-03-30 04:47:16 -0400
commit527871d7206dac2733d0bae52f5a328811d299ee (patch)
treeae1f8e35f545365d82647b322803cc3d4d8b5321 /include/net
parenta73f8e21f3f93159bc19e154e8f50891c22c11db (diff)
mac80211: make sta.wme indicate whether QoS is used
Indicating just the peer's capability is fairly pointless if the local device doesn't support it. Make the variable track both combined, and remove the 'local support' check in the TX path. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 94c8c62800c3..201bc68e0cff 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1557,7 +1557,8 @@ struct ieee80211_sta_rates {
1557 * @supp_rates: Bitmap of supported rates (per band) 1557 * @supp_rates: Bitmap of supported rates (per band)
1558 * @ht_cap: HT capabilities of this STA; restricted to our own capabilities 1558 * @ht_cap: HT capabilities of this STA; restricted to our own capabilities
1559 * @vht_cap: VHT capabilities of this STA; restricted to our own capabilities 1559 * @vht_cap: VHT capabilities of this STA; restricted to our own capabilities
1560 * @wme: indicates whether the STA supports QoS/WME. 1560 * @wme: indicates whether the STA supports QoS/WME (if local devices does,
1561 * otherwise always false)
1561 * @drv_priv: data area for driver use, will always be aligned to 1562 * @drv_priv: data area for driver use, will always be aligned to
1562 * sizeof(void *), size is determined in hw information. 1563 * sizeof(void *), size is determined in hw information.
1563 * @uapsd_queues: bitmap of queues configured for uapsd. Only valid 1564 * @uapsd_queues: bitmap of queues configured for uapsd. Only valid