xref: /freebsd/contrib/wpa/wpa_supplicant/hs20_supplicant.h (revision 0782240958117692ab9861abb5483c9e64f6bc39)
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 
11 void wpas_hs20_add_indication(struct wpabuf *buf);
12 
13 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
14 		       const u8 *payload, size_t payload_len);
15 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
16 				    size_t payload_len);
17 void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
18 				  const u8 *sa, const u8 *data, size_t slen);
19 
20 #endif /* HS20_SUPPLICANT_H */
21