From: Eliad Peller Date: Wed, 22 Oct 2014 12:03:52 +0000 (-0400) Subject: drivers: Add WMM parameters to association event data X-Git-Tag: hostap_2_4~1134 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=0f14a44e6bae0fe88f4c0e3fe3701b3a9e7aea7d drivers: Add WMM parameters to association event data The WMM parameters will be used later for setting default tspec values. Signed-off-by: Eliad Peller --- diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 5be123b..9804a7a 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -1366,6 +1366,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 parameterss 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; @@ -3736,6 +3753,11 @@ union wpa_event_data { unsigned int freq; /** + * wmm_params - WMM parameters used in this association. + */ + struct wmm_params wmm_params; + + /** * addr - Station address (for AP mode) */ const u8 *addr;