]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/hs20_supplicant.h
EAP: Increase the maximum number of message exchanges
[thirdparty/hostap.git] / wpa_supplicant / hs20_supplicant.h
CommitLineData
25471fe3 1/*
b572df86 2 * Copyright (c) 2011-2013, Qualcomm Atheros, Inc.
25471fe3
JK
3 *
4 * This software may be distributed under the terms of the BSD license.
5 * See README for more details.
6 */
7
8#ifndef HS20_SUPPLICANT_H
9#define HS20_SUPPLICANT_H
10
ece4ac5f 11void hs20_configure_frame_filters(struct wpa_supplicant *wpa_s);
ec2cf403
JM
12void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id,
13 int ap_release);
4204669c
JM
14void wpas_hs20_add_roam_cons_sel(struct wpabuf *buf,
15 const struct wpa_ssid *ssid);
c923b8a5 16
25471fe3 17int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
8dd5c1b4 18 const u8 *payload, size_t payload_len, int inmem);
cf28c66b
DS
19void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
20 struct wpabuf *buf);
25471fe3 21void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
8266e6c6 22 struct wpa_bss *bss, const u8 *sa,
8dd5c1b4 23 const u8 *data, size_t slen, u8 dialog_token);
ec2cf403 24int get_hs20_version(struct wpa_bss *bss);
55a2df43
JM
25int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
26 struct wpa_bss *bss);
f9cd147d 27int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
b572df86 28void hs20_notify_parse_done(struct wpa_supplicant *wpa_s);
25471fe3 29
95a3ea94
JM
30void hs20_rx_subscription_remediation(struct wpa_supplicant *wpa_s,
31 const char *url, u8 osu_method);
7ef69479
JM
32void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
33 u16 reauth_delay, const char *url);
7fc6a024 34void hs20_rx_t_c_acceptance(struct wpa_supplicant *wpa_s, const char *url);
95a3ea94 35
b572df86
JM
36void hs20_free_osu_prov(struct wpa_supplicant *wpa_s);
37void hs20_next_osu_icon(struct wpa_supplicant *wpa_s);
38void hs20_osu_icon_fetch(struct wpa_supplicant *wpa_s);
dd20eabd 39int hs20_fetch_osu(struct wpa_supplicant *wpa_s, int skip_scan);
b572df86
JM
40void hs20_cancel_fetch_osu(struct wpa_supplicant *wpa_s);
41void hs20_icon_fetch_failed(struct wpa_supplicant *wpa_s);
a6739e19 42void hs20_start_osu_scan(struct wpa_supplicant *wpa_s);
ca9968a0 43void hs20_init(struct wpa_supplicant *wpa_s);
fb2ac53d 44void hs20_deinit(struct wpa_supplicant *wpa_s);
8dd5c1b4
JN
45int hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid,
46 const char *file_name, size_t offset, size_t size,
47 char *reply, size_t buf_len);
48int hs20_del_icon(struct wpa_supplicant *wpa_s, const u8 *bssid,
49 const char *file_name);
b572df86 50
25471fe3 51#endif /* HS20_SUPPLICANT_H */