blob: 247df3069458c6bba653e0a75b865128da483dcf [file] [log] [blame]
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -08001/*
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
18enum gas_query_result;
19
20int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
21 u16 info_ids[], size_t num_ids);
22void 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);
26int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
27void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
28int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
29int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
30
31#endif /* INTERWORKING_H */