13ff40c12SJohn Marino /* 23ff40c12SJohn Marino * IEEE 802.11v WNM related functions and structures 3*a1157835SDaniel Fojt * Copyright (c) 2011-2014, Qualcomm Atheros, Inc. 43ff40c12SJohn Marino * 53ff40c12SJohn Marino * This software may be distributed under the terms of the BSD license. 63ff40c12SJohn Marino * See README for more details. 73ff40c12SJohn Marino */ 83ff40c12SJohn Marino 93ff40c12SJohn Marino #ifndef WNM_AP_H 103ff40c12SJohn Marino #define WNM_AP_H 113ff40c12SJohn Marino 123ff40c12SJohn Marino struct sta_info; 133ff40c12SJohn Marino 143ff40c12SJohn Marino int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd, 153ff40c12SJohn Marino const struct ieee80211_mgmt *mgmt, size_t len); 163ff40c12SJohn Marino int wnm_send_disassoc_imminent(struct hostapd_data *hapd, 173ff40c12SJohn Marino struct sta_info *sta, int disassoc_timer); 183ff40c12SJohn Marino int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd, 193ff40c12SJohn Marino struct sta_info *sta, const char *url, 203ff40c12SJohn Marino int disassoc_timer); 21*a1157835SDaniel Fojt int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta, 22*a1157835SDaniel Fojt u8 req_mode, int disassoc_timer, u8 valid_int, 23*a1157835SDaniel Fojt const u8 *bss_term_dur, const char *url, 24*a1157835SDaniel Fojt const u8 *nei_rep, size_t nei_rep_len, 25*a1157835SDaniel Fojt const u8 *mbo_attrs, size_t mbo_len); 26*a1157835SDaniel Fojt void ap_sta_reset_steer_flag_timer(void *eloop_ctx, void *timeout_ctx); 27*a1157835SDaniel Fojt int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta, 28*a1157835SDaniel Fojt unsigned int auto_report, unsigned int timeout); 293ff40c12SJohn Marino 303ff40c12SJohn Marino #endif /* WNM_AP_H */ 31