2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* hostapd / WMM (Wi-Fi Multimedia)
|
|
|
|
* Copyright 2002-2003, Instant802 Networks, Inc.
|
|
|
|
* Copyright 2005-2006, Devicescape Software, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WME_H
|
|
|
|
#define WME_H
|
|
|
|
|
|
|
|
struct ieee80211_mgmt;
|
|
|
|
|
2009-03-04 05:33:24 -05:00
|
|
|
u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
|
2009-11-29 15:10:38 -05:00
|
|
|
int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid,
|
|
|
|
size_t len);
|
2009-08-14 13:01:41 -04:00
|
|
|
#ifdef NEED_AP_MLME
|
2009-03-04 05:33:24 -05:00
|
|
|
int hostapd_wmm_sta_config(struct hostapd_data *hapd, struct sta_info *sta);
|
2009-08-14 13:01:41 -04:00
|
|
|
#else /* NEED_AP_MLME */
|
2009-03-04 05:33:24 -05:00
|
|
|
static inline int hostapd_wmm_sta_config(struct hostapd_data *hapd,
|
2009-01-08 11:40:14 -05:00
|
|
|
struct sta_info *sta)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2009-08-14 13:01:41 -04:00
|
|
|
#endif /* NEED_AP_MLME */
|
2009-03-04 05:33:24 -05:00
|
|
|
void hostapd_wmm_action(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
|
2008-02-27 20:34:43 -05:00
|
|
|
size_t len);
|
2009-03-09 16:25:58 -04:00
|
|
|
int wmm_process_tspec(struct wmm_tspec_element *tspec);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
#endif /* WME_H */
|