2011-10-16 21:44:28 +02:00
|
|
|
/*
|
|
|
|
* Interworking (IEEE 802.11u)
|
2012-08-27 17:13:10 +02:00
|
|
|
* Copyright (c) 2011-2012, Qualcomm Atheros
|
2011-10-16 21:44:28 +02:00
|
|
|
*
|
2012-02-11 15:31:36 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2011-10-16 21:44:28 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INTERWORKING_H
|
|
|
|
#define INTERWORKING_H
|
|
|
|
|
|
|
|
enum gas_query_result;
|
|
|
|
|
|
|
|
int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
|
|
|
|
u16 info_ids[], size_t num_ids);
|
|
|
|
void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,
|
|
|
|
enum gas_query_result result,
|
|
|
|
const struct wpabuf *adv_proto,
|
|
|
|
const struct wpabuf *resp, u16 status_code);
|
2012-08-27 17:13:10 +02:00
|
|
|
int gas_send_request(struct wpa_supplicant *wpa_s, const u8 *dst,
|
|
|
|
const struct wpabuf *adv_proto,
|
|
|
|
const struct wpabuf *query);
|
2011-10-16 21:44:28 +02:00
|
|
|
int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
|
|
|
|
void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
|
2011-10-04 21:13:22 +02:00
|
|
|
int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
|
|
|
|
int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
|
2012-08-28 15:14:13 +02:00
|
|
|
void interworking_start_fetch_anqp(struct wpa_supplicant *wpa_s);
|
2011-10-16 21:44:28 +02:00
|
|
|
|
|
|
|
#endif /* INTERWORKING_H */
|