Updated through tag hostap_2_5 from git://w1.fi/hostap.git
[mech_eap.git] / libeap / 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
26 #endif /* WNM_AP_H */