2 * Wi-Fi Multimedia Admission Control (WMM-AC)
3 * Copyright(c) 2014, Intel Mobile Communication GmbH.
4 * Copyright(c) 2014, Intel Corporation. All rights reserved.
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
13 #include "common/ieee802_11_defs.h"
14 #include "drivers/driver.h"
16 struct wpa_supplicant;
19 * struct wmm_ac_assoc_data - WMM Admission Control Association Data
21 * This struct will store any relevant WMM association data needed by WMM AC.
22 * In case there is a valid WMM association, an instance of this struct will be
23 * created. In case there is no instance of this struct, the station is not
24 * associated to a valid WMM BSS and hence, WMM AC will not be used.
26 struct wmm_ac_assoc_data {
29 * acm - Admission Control Mandatory
30 * In case an access category is ACM, the traffic will have
31 * to be admitted by WMM-AC's admission mechanism before use.
36 * uapsd_queues - Unscheduled Automatic Power Save Delivery
38 * Indicates whether ACs are configured for U-APSD (or legacy
39 * PS). Storing this value is necessary in order to set the
40 * Power Save Bit (PSB) in ADDTS request Action frames (if not
44 } ac_params[WMM_AC_NUM];
47 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
48 size_t ies_len, const struct wmm_params *wmm_params);
49 void wmm_ac_notify_disassoc(struct wpa_supplicant *wpa_s);