aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorJason Young <jason.young@dspg.com>2011-12-17 12:38:06 +0200
committerJouni Malinen <j@w1.fi>2011-12-17 12:38:06 +0200
commit5d06163714df56d3f4ffc9e9a8db025c4e07bbb4 (patch)
treef7cdc7ce348511982aa85c2cff50a19e7942736f /src/common
parent9e088e743dbfb8c293b452773519a790a9498d92 (diff)
downloadexternal_wpa_supplicant_8_ti-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.zip
external_wpa_supplicant_8_ti-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.tar.gz
external_wpa_supplicant_8_ti-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.tar.bz2
AP: Pass station's WMM configuration to driver wrappers
This updates a previous patch did more or less the same thing by providing the qosinfo as a single variable to the driver wrappers. Signed-hostap: Jason Young <jason.young@dspg.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ieee802_11_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 3014762..66801fd 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -677,6 +677,10 @@ struct wmm_information_element {
} STRUCT_PACKED;
+#define WMM_QOSINFO_STA_AC_MASK 0x0f
+#define WMM_QOSINFO_STA_SP_MASK 0x03
+#define WMM_QOSINFO_STA_SP_SHIFT 5
+
#define WMM_AC_AIFSN_MASK 0x0f
#define WMM_AC_AIFNS_SHIFT 0
#define WMM_AC_ACM 0x10