[PATCH 01/13] drivers: add wmm params to assoc data

Ilan Peer ilan.peer at intel.com
Tue Oct 21 08:16:40 EDT 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 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index ad9d080..999ff0b 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1338,6 +1338,14 @@ enum tdls_peer_capability {
 	TDLS_PEER_WMM = BIT(2),
 };
 
+/**
+ * struct wmm_params - WMM params configured for this association
+ * @uapsd_queues - bitmap of ACs configured for uapsd. -1 if n/a.
+ */
+struct wmm_params {
+	int uapsd_queues;
+};
+
 #ifdef CONFIG_MACSEC
 struct macsec_init_params {
 	Boolean always_include_sci;
@@ -3674,6 +3682,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