hs20.h revision 346981
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
12struct hostapd_data;
13
14u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid);
15u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid);
16int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
17			       u8 osu_method, const char *url);
18int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
19					  const u8 *addr,
20					  const struct wpabuf *payload);
21int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd,
22				   const u8 *addr, const char *url);
23void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta,
24			int enabled);
25
26#endif /* HS20_H */
27