Interworking: Add commands for network selection
[mech_eap.git] / wpa_supplicant / interworking.h
1 /*
2  * Interworking (IEEE 802.11u)
3  * Copyright (c) 2011, Qualcomm Atheros
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14
15 #ifndef INTERWORKING_H
16 #define INTERWORKING_H
17
18 enum gas_query_result;
19
20 int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
21                   u16 info_ids[], size_t num_ids);
22 void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,
23                   enum gas_query_result result,
24                   const struct wpabuf *adv_proto,
25                   const struct wpabuf *resp, u16 status_code);
26 int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
27 void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
28 int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
29 int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
30
31 #endif /* INTERWORKING_H */