blob: 5585e5615a652b3ba442a5343167b77f6d4f404a [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * WPA Supplicant - Glue code to setup EAPOL and RSN modules
3 * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07007 */
8
9#ifndef WPAS_GLUE_H
10#define WPAS_GLUE_H
11
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080012enum wpa_ctrl_req_type;
13
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070014int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
15int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
16void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
17 struct wpa_ssid *ssid);
18
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080019const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
20 const char *default_txt,
21 const char **txt);
22
23enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
24
Dmitry Shmidt912c6ec2015-03-30 13:16:51 -070025void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
26 const char *field_name, const char *txt);
27
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070028#endif /* WPAS_GLUE_H */