xref: /freebsd/contrib/wpa/src/ap/hs20.h (revision 67350cb56a69468c118bd4ccf6e361b7ebfa9eb4)
1f05cddf9SRui Paulo /*
2f05cddf9SRui Paulo  * Hotspot 2.0 AP ANQP processing
35b9c547cSRui Paulo  * Copyright (c) 2011-2013, Qualcomm Atheros, Inc.
4f05cddf9SRui Paulo  *
5f05cddf9SRui Paulo  * This software may be distributed under the terms of the BSD license.
6f05cddf9SRui Paulo  * See README for more details.
7f05cddf9SRui Paulo  */
8f05cddf9SRui Paulo 
9f05cddf9SRui Paulo #ifndef HS20_H
10f05cddf9SRui Paulo #define HS20_H
11f05cddf9SRui Paulo 
12f05cddf9SRui Paulo struct hostapd_data;
13f05cddf9SRui Paulo 
14f05cddf9SRui Paulo u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid);
155b9c547cSRui Paulo u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid);
165b9c547cSRui Paulo int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
175b9c547cSRui Paulo 			       u8 osu_method, const char *url);
185b9c547cSRui Paulo int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
195b9c547cSRui Paulo 					  const u8 *addr,
205b9c547cSRui Paulo 					  const struct wpabuf *payload);
21*85732ac8SCy Schubert int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd,
22*85732ac8SCy Schubert 				   const u8 *addr, const char *url);
23*85732ac8SCy Schubert void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta,
24*85732ac8SCy Schubert 			int enabled);
25f05cddf9SRui Paulo 
26f05cddf9SRui Paulo #endif /* HS20_H */
27