1/*
2 * Control interface for shared AP commands
3 * Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef CTRL_IFACE_AP_H
10#define CTRL_IFACE_AP_H
11
12int hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd,
13				 char *buf, size_t buflen);
14int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
15			   char *buf, size_t buflen);
16int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
17				char *buf, size_t buflen);
18int hostapd_ctrl_iface_deauthenticate(struct hostapd_data *hapd,
19				      const char *txtaddr);
20int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
21				    const char *txtaddr);
22int hostapd_ctrl_iface_signature(struct hostapd_data *hapd,
23				 const char *txtaddr,
24				 char *buf, size_t buflen);
25int hostapd_ctrl_iface_poll_sta(struct hostapd_data *hapd,
26				const char *txtaddr);
27int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
28			      size_t buflen);
29int hostapd_parse_csa_settings(const char *pos,
30			       struct csa_settings *settings);
31int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
32int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
33				  size_t len);
34void hostapd_ctrl_iface_pmksa_flush(struct hostapd_data *hapd);
35int hostapd_ctrl_iface_pmksa_add(struct hostapd_data *hapd, char *cmd);
36int hostapd_ctrl_iface_pmksa_list_mesh(struct hostapd_data *hapd,
37				       const u8 *addr, char *buf, size_t len);
38void * hostapd_ctrl_iface_pmksa_create_entry(const u8 *aa, char *cmd);
39
40#endif /* CTRL_IFACE_AP_H */
41