2 * Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
4 * This software may be distributed under the terms of the BSD license.
5 * See README for more details.
8 #ifndef HS20_SUPPLICANT_H
9 #define HS20_SUPPLICANT_H
11 void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
13 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
14 const u8 *payload, size_t payload_len);
15 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
17 void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
18 const u8 *sa, const u8 *data, size_t slen);
19 int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
21 int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
23 void hs20_rx_subscription_remediation(struct wpa_supplicant *wpa_s,
24 const char *url, u8 osu_method);
25 void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
26 u16 reauth_delay, const char *url);
28 #endif /* HS20_SUPPLICANT_H */