xref: /freebsd/contrib/wpa/src/ap/wnm_ap.h (revision 4b72b91a)
1f05cddf9SRui Paulo /*
2f05cddf9SRui Paulo  * IEEE 802.11v WNM related functions and structures
35b9c547cSRui Paulo  * Copyright (c) 2011-2014, Qualcomm Atheros, Inc.
4f05cddf9SRui Paulo  *
5f05cddf9SRui Paulo  * This software may be distributed under the terms of the BSD license.
6f05cddf9SRui Paulo  * See README for more details.
7f05cddf9SRui Paulo  */
8f05cddf9SRui Paulo 
9f05cddf9SRui Paulo #ifndef WNM_AP_H
10f05cddf9SRui Paulo #define WNM_AP_H
11f05cddf9SRui Paulo 
125b9c547cSRui Paulo struct sta_info;
13f05cddf9SRui Paulo 
14f05cddf9SRui Paulo int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
155b9c547cSRui Paulo 				const struct ieee80211_mgmt *mgmt, size_t len);
165b9c547cSRui Paulo int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
175b9c547cSRui Paulo 			       struct sta_info *sta, int disassoc_timer);
185b9c547cSRui Paulo int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
195b9c547cSRui Paulo 				   struct sta_info *sta, const char *url,
205b9c547cSRui Paulo 				   int disassoc_timer);
215b9c547cSRui Paulo int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
225b9c547cSRui Paulo 			u8 req_mode, int disassoc_timer, u8 valid_int,
234b72b91aSCy Schubert 			const u8 *bss_term_dur, u8 dialog_token,
244b72b91aSCy Schubert 			const char *url, const u8 *nei_rep, size_t nei_rep_len,
25780fb4a2SCy Schubert 			const u8 *mbo_attrs, size_t mbo_len);
2685732ac8SCy Schubert void ap_sta_reset_steer_flag_timer(void *eloop_ctx, void *timeout_ctx);
2785732ac8SCy Schubert int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta,
2885732ac8SCy Schubert 			    unsigned int auto_report, unsigned int timeout);
29f05cddf9SRui Paulo 
30f05cddf9SRui Paulo #endif /* WNM_AP_H */
31