870edfd67e
In case of drivers that offload the 4-way handshake to the driver, there was no way of updating wpa_supplicant about the transition disable bitmap received as a part of EAPOL-Key msg 3/4. With latest provisions in cfg80211_port_authorized(), the TD bitmap can be sent to the upper layer. Parse that as a part of the port authorized event and set the transition disable information accordingly. Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
32 lines
1 KiB
C
32 lines
1 KiB
C
/*
|
|
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
|
|
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef WPAS_GLUE_H
|
|
#define WPAS_GLUE_H
|
|
|
|
enum wpa_ctrl_req_type;
|
|
|
|
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);
|
|
int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
|
|
u16 proto, const u8 *buf, size_t len);
|
|
|
|
const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
|
|
const char *default_txt,
|
|
const char **txt);
|
|
|
|
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
|
|
|
|
void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|
const char *field_name, const char *txt);
|
|
|
|
void wpas_transition_disable(struct wpa_supplicant *wpa_s, u8 bitmap);
|
|
|
|
#endif /* WPAS_GLUE_H */
|