wme.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef WME_H
  16. #define WME_H
  17. struct ieee80211_mgmt;
  18. u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
  19. int hostapd_eid_wmm_valid(struct hostapd_data *hapd, u8 *eid, size_t len);
  20. #ifdef NEED_AP_MLME
  21. int hostapd_wmm_sta_config(struct hostapd_data *hapd, struct sta_info *sta);
  22. #else /* NEED_AP_MLME */
  23. static inline int hostapd_wmm_sta_config(struct hostapd_data *hapd,
  24. struct sta_info *sta)
  25. {
  26. return 0;
  27. }
  28. #endif /* NEED_AP_MLME */
  29. void hostapd_wmm_action(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
  30. size_t len);
  31. int wmm_process_tspec(struct wmm_tspec_element *tspec);
  32. #endif /* WME_H */