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
|
|
|
|
|
2011-09-08 13:52:23 -04:00
|
|
|
void wpas_hs20_add_indication(struct wpabuf *buf);
|
|
|
|
|
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);
|
2011-09-08 13:52:23 -04:00
|
|
|
|
|
|
|
#endif /* HS20_SUPPLICANT_H */
|