mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 09:18:24 -05:00
4c522c7798
This extends the wpa_supplicant PMKSA_FLUSH control interface command to allow the PMKSA list from the authenticator side to be flushed for AP and mesh mode. In addition, this adds a hostapd PMKSA_FLUSH control interface command to flush the PMKSA entries. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/*
|
|
* Control interface for shared AP commands
|
|
* Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef CTRL_IFACE_AP_H
|
|
#define CTRL_IFACE_AP_H
|
|
|
|
int hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd,
|
|
char *buf, size_t buflen);
|
|
int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
|
|
char *buf, size_t buflen);
|
|
int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
|
|
char *buf, size_t buflen);
|
|
int hostapd_ctrl_iface_deauthenticate(struct hostapd_data *hapd,
|
|
const char *txtaddr);
|
|
int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
|
|
const char *txtaddr);
|
|
int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
|
|
size_t buflen);
|
|
int hostapd_parse_csa_settings(const char *pos,
|
|
struct csa_settings *settings);
|
|
int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
|
|
int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
|
|
size_t len);
|
|
void hostapd_ctrl_iface_pmksa_flush(struct hostapd_data *hapd);
|
|
|
|
#endif /* CTRL_IFACE_AP_H */
|