summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorArik Nemtsov2011-06-27 22:58:45 +0200
committerJohn W. Linville2011-06-29 21:11:00 +0200
commit39df600aa6ac027b53c4ce3089cba57467a960df (patch)
tree3f439b592816832d7d3e3b39bf30a9fe8ff9b1d2 /include/net
parentrtlwifi: use PCI_VENDOR_ID_* (diff)
downloadkernel-qcow2-linux-39df600aa6ac027b53c4ce3089cba57467a960df.tar.gz
kernel-qcow2-linux-39df600aa6ac027b53c4ce3089cba57467a960df.tar.xz
kernel-qcow2-linux-39df600aa6ac027b53c4ce3089cba57467a960df.zip
mac80211: propagate information about STA WME support down
Add a memeber to the ieee80211_sta structure to indicate whether the STA supports WME. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 120f102814b6..c9def42c1286 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -933,6 +933,7 @@ enum set_key_cmd {
* @aid: AID we assigned to the station if we're an AP
* @supp_rates: Bitmap of supported rates (per band)
* @ht_cap: HT capabilities of this STA; restricted to our own TX capabilities
+ * @wme: indicates whether the STA supports WME. Only valid during AP-mode.
* @drv_priv: data area for driver use, will always be aligned to
* sizeof(void *), size is determined in hw information.
*/
@@ -941,6 +942,7 @@ struct ieee80211_sta {
u8 addr[ETH_ALEN];
u16 aid;
struct ieee80211_sta_ht_cap ht_cap;
+ bool wme;
/* must be last */
u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));