wnm_ap.h 903 B

123456789101112131415161718192021222324252627
  1. /*
  2. * IEEE 802.11v WNM related functions and structures
  3. * Copyright (c) 2011-2014, Qualcomm Atheros, Inc.
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef WNM_AP_H
  9. #define WNM_AP_H
  10. struct sta_info;
  11. int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
  12. const struct ieee80211_mgmt *mgmt, size_t len);
  13. int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
  14. struct sta_info *sta, int disassoc_timer);
  15. int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
  16. struct sta_info *sta, const char *url,
  17. int disassoc_timer);
  18. int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
  19. u8 req_mode, int disassoc_timer, u8 valid_int,
  20. const u8 *bss_term_dur, const char *url,
  21. const u8 *nei_rep, size_t nei_rep_len,
  22. const u8 *mbo_attrs, size_t mbo_len);
  23. #endif /* WNM_AP_H */