GAS: Report GAS-QUERY-DONE event on initial req TX failure
[mech_eap.git] / wpa_supplicant / wpas_glue.h
1 /*
2  * WPA Supplicant - Glue code to setup EAPOL and RSN modules
3  * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8
9 #ifndef WPAS_GLUE_H
10 #define WPAS_GLUE_H
11
12 enum wpa_ctrl_req_type;
13
14 int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
15 int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
16 void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
17                                         struct wpa_ssid *ssid);
18
19 const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
20                                                const char *default_txt,
21                                                const char **txt);
22
23 enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
24
25 void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
26                         const char *field_name, const char *txt);
27
28 #endif /* WPAS_GLUE_H */