]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/hs20_supplicant.h
HS 2.0R2: Update Indication element to Release 2
[thirdparty/hostap.git] / wpa_supplicant / hs20_supplicant.h
CommitLineData
25471fe3
JK
1/*
2 * Copyright (c) 2011-2012, 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
f9cd147d 11void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
c923b8a5 12
25471fe3
JK
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_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
18 const u8 *sa, const u8 *data, size_t slen);
55a2df43
JM
19int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
20 struct wpa_bss *bss);
f9cd147d 21int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
25471fe3
JK
22
23#endif /* HS20_SUPPLICANT_H */