blob: dd692b90291a10f41338c84233a3d9786f7ee328 [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);
Hai Shaloma20dcd72022-02-04 13:43:00 -080018int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
19 u16 proto, const u8 *buf, size_t len);
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070020
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080021const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
22 const char *default_txt,
23 const char **txt);
24
25enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
26
Dmitry Shmidt912c6ec2015-03-30 13:16:51 -070027void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
28 const char *field_name, const char *txt);
29
Sunil Ravi38ad1ed2023-01-17 23:58:31 +000030void wpas_transition_disable(struct wpa_supplicant *wpa_s, u8 bitmap);
31
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070032#endif /* WPAS_GLUE_H */