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,
|
2016-09-09 14:05:50 +02:00
|
|
|
u16 info_ids[], size_t num_ids, u32 subtypes,
|
2017-03-09 14:19:58 +01:00
|
|
|
u32 mbo_subtypes);
|
2011-10-16 21:44:28 +02:00
|
|
|
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);
|
2014-01-05 11:25:13 +01:00
|
|
|
int interworking_select(struct wpa_supplicant *wpa_s, int auto_select,
|
|
|
|
int *freqs);
|
2015-02-08 15:56:04 +01:00
|
|
|
int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
|
|
|
|
int only_add);
|
2012-08-28 15:14:13 +02:00
|
|
|
void interworking_start_fetch_anqp(struct wpa_supplicant *wpa_s);
|
2012-11-22 19:51:49 +01:00
|
|
|
int interworking_home_sp_cred(struct wpa_supplicant *wpa_s,
|
|
|
|
struct wpa_cred *cred,
|
|
|
|
struct wpabuf *domain_names);
|
2013-08-02 18:09:11 +02:00
|
|
|
int domain_name_list_contains(struct wpabuf *domain_names,
|
|
|
|
const char *domain, int exact_match);
|
2011-10-16 21:44:28 +02:00
|
|
|
|
|
|
|
#endif /* INTERWORKING_H */
|