mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
4d5bda5fca
auto_interworking=1 configuration parameter can be used to request wpa_supplicant to use Interworking network selection automatically as a part of the normal (non-Interworking) network selection if the scan results do not match with enabled networks. This makes scanning work similarly to the "interworking_select auto" command. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
30 lines
1.0 KiB
C
30 lines
1.0 KiB
C
/*
|
|
* Interworking (IEEE 802.11u)
|
|
* Copyright (c) 2011-2012, Qualcomm Atheros
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#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);
|
|
int gas_send_request(struct wpa_supplicant *wpa_s, const u8 *dst,
|
|
const struct wpabuf *adv_proto,
|
|
const struct wpabuf *query);
|
|
int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
|
|
void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
|
|
int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
|
|
int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
|
|
void interworking_start_fetch_anqp(struct wpa_supplicant *wpa_s);
|
|
|
|
#endif /* INTERWORKING_H */
|