]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/interworking.h
HS 2.0: Add Hotspot 2.0 ANQP elements to Interworking queries
[thirdparty/hostap.git] / wpa_supplicant / interworking.h
CommitLineData
afc064fe
JM
1/*
2 * Interworking (IEEE 802.11u)
3 * Copyright (c) 2011, Qualcomm Atheros
4 *
e22d4d95
JM
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
afc064fe
JM
7 */
8
9#ifndef INTERWORKING_H
10#define INTERWORKING_H
11
12enum gas_query_result;
13
14int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
15 u16 info_ids[], size_t num_ids);
16void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,
17 enum gas_query_result result,
18 const struct wpabuf *adv_proto,
19 const struct wpabuf *resp, u16 status_code);
20int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
21void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
b02fe7ff
JM
22int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
23int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
afc064fe
JM
24
25#endif /* INTERWORKING_H */