wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Enumerations | Functions
wmm_ac.h File Reference

Wi-Fi Multimedia Admission Control (WMM-AC) Copyright(c) 2014, Intel Mobile Communication GmbH. Copyright(c) 2014, Intel Corporation. All rights reserved. More...

#include "common/ieee802_11_defs.h"
#include "drivers/driver.h"

Go to the source code of this file.

Data Structures

struct  wmm_ac_assoc_data
 WMM Admission Control Association Data. More...
 
struct  wmm_ac_addts_request
 ADDTS Request Information. More...
 
struct  wmm_ac_ts_setup_params
 TS setup parameters. More...
 

Macros

#define WMM_AC_ACCESS_POLICY_EDCA   1
 
#define WMM_AC_FIXED_MSDU_SIZE   BIT(15)
 
#define WMM_AC_MAX_TID   7
 
#define WMM_AC_MAX_USER_PRIORITY   7
 
#define WMM_AC_MIN_SBA_UNITY   0x2000
 
#define WMM_AC_MAX_NOMINAL_MSDU   32767
 
#define TS_DIR_IDX_ALL   (BIT(TS_DIR_IDX_COUNT) - 1)
 

Enumerations

enum  wmm_ac_dir { WMM_AC_DIR_UPLINK = 0, WMM_AC_DIR_DOWNLINK = 1, WMM_AC_DIR_BIDIRECTIONAL = 3 }
 WMM Admission Control Direction.
 
enum  ts_dir_idx { TS_DIR_IDX_UPLINK, TS_DIR_IDX_DOWNLINK, TS_DIR_IDX_BIDI, TS_DIR_IDX_COUNT }
 indices of internally saved tspecs More...
 

Functions

void wmm_ac_notify_assoc (struct wpa_supplicant *wpa_s, const u8 *ies, size_t ies_len, const struct wmm_params *wmm_params)
 
void wmm_ac_notify_disassoc (struct wpa_supplicant *wpa_s)
 
int wpas_wmm_ac_addts (struct wpa_supplicant *wpa_s, struct wmm_ac_ts_setup_params *params)
 
int wpas_wmm_ac_delts (struct wpa_supplicant *wpa_s, u8 tsid)
 
void wmm_ac_rx_action (struct wpa_supplicant *wpa_s, const u8 *da, const u8 *sa, const u8 *data, size_t len)
 
int wpas_wmm_ac_status (struct wpa_supplicant *wpa_s, char *buf, size_t buflen)
 
void wmm_ac_save_tspecs (struct wpa_supplicant *wpa_s)
 
void wmm_ac_clear_saved_tspecs (struct wpa_supplicant *wpa_s)
 
int wmm_ac_restore_tspecs (struct wpa_supplicant *wpa_s)
 

Detailed Description

Wi-Fi Multimedia Admission Control (WMM-AC) Copyright(c) 2014, Intel Mobile Communication GmbH. Copyright(c) 2014, Intel Corporation. All rights reserved.

Enumeration Type Documentation

enum ts_dir_idx

indices of internally saved tspecs

we can have multiple tspecs (downlink + uplink) per ac. save them in array, and use the enum to directly access the respective tspec slot (according to the direction).