xref: /freebsd/contrib/wpa/src/ap/hs20.h (revision 0aeed3e99367bed5755068d9218cd8041644ff2b)
1 /*
2  * Hotspot 2.0 AP ANQP processing
3  * Copyright (c) 2011-2013, 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 HS20_H
10 #define HS20_H
11 
12 struct hostapd_data;
13 
14 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid);
15 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid);
16 int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
17 			       u8 osu_method, const char *url);
18 int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
19 					  const u8 *addr,
20 					  const struct wpabuf *payload);
21 
22 #endif /* HS20_H */
23