xref: /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/wpas_glue.h (revision 3a84a4273475ed07d0ab1c2dfeffdfedef35d9cd)
16d49e1aeSJan Lentfer /*
26d49e1aeSJan Lentfer  * WPA Supplicant - Glue code to setup EAPOL and RSN modules
36d49e1aeSJan Lentfer  * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
46d49e1aeSJan Lentfer  *
53ff40c12SJohn Marino  * This software may be distributed under the terms of the BSD license.
63ff40c12SJohn Marino  * See README for more details.
76d49e1aeSJan Lentfer  */
86d49e1aeSJan Lentfer 
96d49e1aeSJan Lentfer #ifndef WPAS_GLUE_H
106d49e1aeSJan Lentfer #define WPAS_GLUE_H
116d49e1aeSJan Lentfer 
123ff40c12SJohn Marino enum wpa_ctrl_req_type;
133ff40c12SJohn Marino 
146d49e1aeSJan Lentfer int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
156d49e1aeSJan Lentfer int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
166d49e1aeSJan Lentfer void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
176d49e1aeSJan Lentfer 					struct wpa_ssid *ssid);
186d49e1aeSJan Lentfer 
193ff40c12SJohn Marino const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
203ff40c12SJohn Marino 					       const char *default_txt,
213ff40c12SJohn Marino 					       const char **txt);
223ff40c12SJohn Marino 
233ff40c12SJohn Marino enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
243ff40c12SJohn Marino 
25*a1157835SDaniel Fojt void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
26*a1157835SDaniel Fojt 			const char *field_name, const char *txt);
27*a1157835SDaniel Fojt 
286d49e1aeSJan Lentfer #endif /* WPAS_GLUE_H */
29