Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * WPA Supplicant - Glue code to setup EAPOL and RSN modules |
| 3 | * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi> |
| 4 | * |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame] | 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef WPAS_GLUE_H |
| 10 | #define WPAS_GLUE_H |
| 11 | |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 12 | enum wpa_ctrl_req_type; |
| 13 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 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); |
Hai Shalom | a20dcd7 | 2022-02-04 13:43:00 -0800 | [diff] [blame] | 18 | int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest, |
| 19 | u16 proto, const u8 *buf, size_t len); |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 20 | |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 21 | const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field, |
| 22 | const char *default_txt, |
| 23 | const char **txt); |
| 24 | |
| 25 | enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field); |
| 26 | |
Dmitry Shmidt | 912c6ec | 2015-03-30 13:16:51 -0700 | [diff] [blame] | 27 | void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, |
| 28 | const char *field_name, const char *txt); |
| 29 | |
Sunil Ravi | 38ad1ed | 2023-01-17 23:58:31 +0000 | [diff] [blame] | 30 | void wpas_transition_disable(struct wpa_supplicant *wpa_s, u8 bitmap); |
| 31 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 32 | #endif /* WPAS_GLUE_H */ |