[PATCH v2 01/13] drivers: add wmm params to assoc data
Ilan Peer
ilan.peer
Wed Oct 22 05:03:52 PDT 2014
From: Eliad Peller <eliad at wizery.com>
The wmm params will be used later for setting default tspec values.
Signed-off-by: Eliad Peller <eliadx.peller at intel.com>
---
src/drivers/driver.h | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index ad9d080..0cde9c5 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1338,6 +1338,23 @@ enum tdls_peer_capability {
TDLS_PEER_WMM = BIT(2),
};
+/* valid info in the wmm_params struct */
+enum wmm_params_valid_info {
+ WMM_PARAMS_UAPSD_QUEUES_INFO = BIT(0),
+};
+
+/**
+ * struct wmm_params - WMM params configured for this association
+ * @info_bitmap: bitmap of valid wmm_params info. indicates what fields
+ * of the struct contain valid information.
+ * @uapsd_queues: bitmap of ACs configured for uapsd (valid only if
+ * %WMM_PARAMS_UAPSD_QUEUES_INFO is set)
+ */
+struct wmm_params {
+ u8 info_bitmap;
+ u8 uapsd_queues;
+};
+
#ifdef CONFIG_MACSEC
struct macsec_init_params {
Boolean always_include_sci;
@@ -3674,6 +3691,11 @@ union wpa_event_data {
unsigned int freq;
/**
+ * wmm_params - wmm params used in this association.
+ */
+ struct wmm_params wmm_params;
+
+ /**
* addr - Station address (for AP mode)
*/
const u8 *addr;
--
1.8.3.2
More information about the Hostap
mailing list