blob: eeaf5eca3a45c115efec9658c288f83b5f704f90 [file] [log] [blame]
Dmitry Shmidt61d9df32012-08-29 16:22:06 -07001/*
2 * IEEE 802.11v WNM related functions and structures
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -08003 * Copyright (c) 2011-2013, 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 Shmidt61d9df32012-08-29 16:22:06 -070021
22#endif /* WNM_AP_H */