wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
hs20_supplicant.h
Go to the documentation of this file.
1 
5 #ifndef HS20_SUPPLICANT_H
6 #define HS20_SUPPLICANT_H
7 
8 void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
9 
10 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
11  const u8 *payload, size_t payload_len);
12 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
13  size_t payload_len);
14 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
15  struct wpabuf *buf);
16 void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
17  struct wpa_bss *bss, const u8 *sa,
18  const u8 *data, size_t slen);
19 int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
20  struct wpa_bss *bss);
21 int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
22 void hs20_notify_parse_done(struct wpa_supplicant *wpa_s);
23 
24 void hs20_rx_subscription_remediation(struct wpa_supplicant *wpa_s,
25  const char *url, u8 osu_method);
26 void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
27  u16 reauth_delay, const char *url);
28 
29 void hs20_free_osu_prov(struct wpa_supplicant *wpa_s);
30 void hs20_next_osu_icon(struct wpa_supplicant *wpa_s);
31 void hs20_osu_icon_fetch(struct wpa_supplicant *wpa_s);
32 int hs20_fetch_osu(struct wpa_supplicant *wpa_s);
33 void hs20_cancel_fetch_osu(struct wpa_supplicant *wpa_s);
34 void hs20_icon_fetch_failed(struct wpa_supplicant *wpa_s);
35 void hs20_start_osu_scan(struct wpa_supplicant *wpa_s);
36 void hs20_deinit(struct wpa_supplicant *wpa_s);
37 
38 #endif /* HS20_SUPPLICANT_H */
Definition: wpabuf.h:16
BSS table.
Definition: bss.h:52
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
Network configuration data.
Definition: config_ssid.h:52