]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/wpa/src/ap/wnm_ap.h
Update hostapd/wpa_supplicant to 2.8 to fix multiple vulnerabilities.
[FreeBSD/FreeBSD.git] / contrib / wpa / src / ap / wnm_ap.h
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
9 #ifndef WNM_AP_H
10 #define WNM_AP_H
11
12 struct sta_info;
13
14 int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
15                                 const struct ieee80211_mgmt *mgmt, size_t len);
16 int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
17                                struct sta_info *sta, int disassoc_timer);
18 int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
19                                    struct sta_info *sta, const char *url,
20                                    int disassoc_timer);
21 int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
22                         u8 req_mode, int disassoc_timer, u8 valid_int,
23                         const u8 *bss_term_dur, const char *url,
24                         const u8 *nei_rep, size_t nei_rep_len,
25                         const u8 *mbo_attrs, size_t mbo_len);
26 void ap_sta_reset_steer_flag_timer(void *eloop_ctx, void *timeout_ctx);
27 int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta,
28                             unsigned int auto_report, unsigned int timeout);
29
30 #endif /* WNM_AP_H */