source: rtems-libbsd/freebsd/contrib/wpa/wpa_supplicant/hs20_supplicant.h @ 9c9d11b

55-freebsd-126-freebsd-12
Last change on this file since 9c9d11b was 9c9d11b, checked in by Sichen Zhao <1473996754@…>, on 08/01/17 at 12:43:41

Import wpa from FreeBSD

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 * Copyright (c) 2011-2013, Qualcomm Atheros, Inc.
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
11void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
12
13int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
14                       const u8 *payload, size_t payload_len);
15struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
16                                    size_t payload_len);
17void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
18                       struct wpabuf *buf);
19void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
20                                  struct wpa_bss *bss, const u8 *sa,
21                                  const u8 *data, size_t slen);
22int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
23                    struct wpa_bss *bss);
24int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
25void hs20_notify_parse_done(struct wpa_supplicant *wpa_s);
26
27void hs20_rx_subscription_remediation(struct wpa_supplicant *wpa_s,
28                                      const char *url, u8 osu_method);
29void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
30                                    u16 reauth_delay, const char *url);
31
32void hs20_free_osu_prov(struct wpa_supplicant *wpa_s);
33void hs20_next_osu_icon(struct wpa_supplicant *wpa_s);
34void hs20_osu_icon_fetch(struct wpa_supplicant *wpa_s);
35int hs20_fetch_osu(struct wpa_supplicant *wpa_s);
36void hs20_cancel_fetch_osu(struct wpa_supplicant *wpa_s);
37void hs20_icon_fetch_failed(struct wpa_supplicant *wpa_s);
38void hs20_start_osu_scan(struct wpa_supplicant *wpa_s);
39void hs20_deinit(struct wpa_supplicant *wpa_s);
40
41#endif /* HS20_SUPPLICANT_H */
Note: See TracBrowser for help on using the repository browser.