2012-02-26 16:25:55 +01:00
|
|
|
/*
|
|
|
|
* IEEE 802.11v WNM related functions and structures
|
2014-11-22 10:31:03 +01:00
|
|
|
* Copyright (c) 2011-2014, Qualcomm Atheros, Inc.
|
2012-02-26 16:25:55 +01:00
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WNM_AP_H
|
|
|
|
#define WNM_AP_H
|
|
|
|
|
2013-08-01 23:37:48 +02:00
|
|
|
struct sta_info;
|
2012-02-26 16:25:55 +01:00
|
|
|
|
2012-12-16 18:16:17 +01:00
|
|
|
int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
|
2013-12-29 10:22:23 +01:00
|
|
|
const struct ieee80211_mgmt *mgmt, size_t len);
|
2013-12-27 18:40:04 +01:00
|
|
|
int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
|
|
|
|
struct sta_info *sta, int disassoc_timer);
|
2013-08-01 23:37:48 +02:00
|
|
|
int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
|
|
|
|
struct sta_info *sta, const char *url,
|
|
|
|
int disassoc_timer);
|
2014-11-22 10:31:03 +01:00
|
|
|
int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
|
|
|
|
u8 req_mode, int disassoc_timer, u8 valid_int,
|
|
|
|
const u8 *bss_term_dur, const char *url,
|
2016-02-15 15:53:49 +01:00
|
|
|
const u8 *nei_rep, size_t nei_rep_len,
|
|
|
|
const u8 *mbo_attrs, size_t mbo_len);
|
2012-02-26 16:25:55 +01:00
|
|
|
|
|
|
|
#endif /* WNM_AP_H */
|