2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
|
|
|
|
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 09:46:35 -05:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-27 20:34:43 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WPAS_GLUE_H
|
|
|
|
#define WPAS_GLUE_H
|
|
|
|
|
2011-10-24 12:04:40 -04:00
|
|
|
enum wpa_ctrl_req_type;
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
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);
|
|
|
|
|
2011-10-24 12:00:19 -04:00
|
|
|
const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
|
|
|
|
const char *default_txt,
|
|
|
|
const char **txt);
|
|
|
|
|
2011-10-24 12:04:40 -04:00
|
|
|
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
|
|
|
|
|
2015-03-28 05:05:13 -04:00
|
|
|
void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|
|
|
const char *field_name, const char *txt);
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* WPAS_GLUE_H */
|