Move generic AP functionality implementation into src/ap
[mech_eap.git] / src / ap / wmm.h
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
21 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
22 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid,
23                           size_t len);
24 void hostapd_wmm_action(struct hostapd_data *hapd,
25                         const struct ieee80211_mgmt *mgmt, size_t len);
26 int wmm_process_tspec(struct wmm_tspec_element *tspec);
27
28 #endif /* WME_H */