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