2008-02-28 02:34:43 +01:00
|
|
|
/*
|
|
|
|
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
|
|
|
|
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WPAS_GLUE_H
|
|
|
|
#define WPAS_GLUE_H
|
|
|
|
|
2011-10-24 18:04:40 +02:00
|
|
|
enum wpa_ctrl_req_type;
|
|
|
|
|
2008-02-28 02:34:43 +01:00
|
|
|
int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
|
|
|
|
int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
|
|
|
|
void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
|
|
|
|
struct wpa_ssid *ssid);
|
2021-02-01 15:57:14 +01:00
|
|
|
int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
|
|
|
|
u16 proto, const u8 *buf, size_t len);
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2011-10-24 18:00:19 +02:00
|
|
|
const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
|
|
|
|
const char *default_txt,
|
|
|
|
const char **txt);
|
|
|
|
|
2011-10-24 18:04:40 +02:00
|
|
|
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
|
|
|
|
|
2015-03-28 10:05:13 +01:00
|
|
|
void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|
|
|
const char *field_name, const char *txt);
|
|
|
|
|
2022-12-06 10:22:27 +01:00
|
|
|
void wpas_transition_disable(struct wpa_supplicant *wpa_s, u8 bitmap);
|
|
|
|
|
2008-02-28 02:34:43 +01:00
|
|
|
#endif /* WPAS_GLUE_H */
|