blob: 56d0f881ee272b3aafc2f8a400505c1e8b83c833 [file] [log] [blame]
Dmitry Shmidt61d9df32012-08-29 16:22:06 -07001/*
2 * IEEE 802.11v WNM related functions and structures
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -08003 * Copyright (c) 2011-2014, Qualcomm Atheros, Inc.
Dmitry Shmidt61d9df32012-08-29 16:22:06 -07004 *
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
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -080012struct sta_info;
Dmitry Shmidt61d9df32012-08-29 16:22:06 -070013
Dmitry Shmidta54fa5f2013-01-15 13:53:35 -080014int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -080015 const struct ieee80211_mgmt *mgmt, size_t len);
16int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
17 struct sta_info *sta, int disassoc_timer);
18int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
19 struct sta_info *sta, const char *url,
20 int disassoc_timer);
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -080021int 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,
Dmitry Shmidt57c2d392016-02-23 13:40:19 -080024 const u8 *nei_rep, size_t nei_rep_len,
25 const u8 *mbo_attrs, size_t mbo_len);
Roshan Pius3a1667e2018-07-03 15:17:14 -070026void ap_sta_reset_steer_flag_timer(void *eloop_ctx, void *timeout_ctx);
Dmitry Shmidt61d9df32012-08-29 16:22:06 -070027
28#endif /* WNM_AP_H */