2011-09-08 13:52:23 -04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
|
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HS20_SUPPLICANT_H
|
|
|
|
#define HS20_SUPPLICANT_H
|
|
|
|
|
2012-11-02 06:08:11 -04:00
|
|
|
void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
|
2011-09-08 13:52:23 -04:00
|
|
|
|
2011-09-08 13:52:23 -04:00
|
|
|
int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
|
|
|
|
const u8 *payload, size_t payload_len);
|
|
|
|
struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
|
|
|
|
size_t payload_len);
|
|
|
|
void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
|
|
|
|
const u8 *sa, const u8 *data, size_t slen);
|
2013-05-05 09:29:21 -04:00
|
|
|
int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|
|
|
struct wpa_bss *bss);
|
2012-11-02 06:08:11 -04:00
|
|
|
int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
|
2011-09-08 13:52:23 -04:00
|
|
|
|
2012-11-02 07:05:57 -04:00
|
|
|
void hs20_rx_subscription_remediation(struct wpa_supplicant *wpa_s,
|
|
|
|
const char *url, u8 osu_method);
|
2013-07-26 15:12:37 -04:00
|
|
|
void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
|
|
|
|
u16 reauth_delay, const char *url);
|
2012-11-02 07:05:57 -04:00
|
|
|
|
2011-09-08 13:52:23 -04:00
|
|
|
#endif /* HS20_SUPPLICANT_H */
|