1c5aa2579d
This makes it convenient for an external test script to use ext_eapol_frame_io=1 to delay and/or modify transmission of EAPOL-Key msg 1/4 without having to use separate frame injection mechanisms. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
30 lines
997 B
C
30 lines
997 B
C
/*
|
|
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
|
|
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef WPAS_GLUE_H
|
|
#define WPAS_GLUE_H
|
|
|
|
enum wpa_ctrl_req_type;
|
|
|
|
int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
|
|
int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
|
|
void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
|
|
struct wpa_ssid *ssid);
|
|
int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
|
|
u16 proto, const u8 *buf, size_t len);
|
|
|
|
const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
|
|
const char *default_txt,
|
|
const char **txt);
|
|
|
|
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
|
|
|
|
void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|
const char *field_name, const char *txt);
|
|
|
|
#endif /* WPAS_GLUE_H */
|