xref: /freebsd/contrib/wpa/src/ap/wmm.h (revision 2f02600abfddfc4e9f20dd384a2e729b451e16bd)
1 /*
2  * hostapd / WMM (Wi-Fi Multimedia)
3  * Copyright 2002-2003, Instant802 Networks, Inc.
4  * Copyright 2005-2006, Devicescape Software, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * Alternatively, this software may be distributed under the terms of BSD
11  * license.
12  *
13  * See README and COPYING for more details.
14  */
15 
16 #ifndef WME_H
17 #define WME_H
18 
19 struct ieee80211_mgmt;
20 struct wmm_tspec_element;
21 
22 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
23 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid,
24 			  size_t len);
25 void hostapd_wmm_action(struct hostapd_data *hapd,
26 			const struct ieee80211_mgmt *mgmt, size_t len);
27 int wmm_process_tspec(struct wmm_tspec_element *tspec);
28 
29 #endif /* WME_H */
30