13ff40c12SJohn Marino /*
23ff40c12SJohn Marino  * Control interface for shared AP commands
33ff40c12SJohn Marino  * Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi>
43ff40c12SJohn Marino  *
53ff40c12SJohn Marino  * This software may be distributed under the terms of the BSD license.
63ff40c12SJohn Marino  * See README for more details.
73ff40c12SJohn Marino  */
83ff40c12SJohn Marino 
93ff40c12SJohn Marino #ifndef CTRL_IFACE_AP_H
103ff40c12SJohn Marino #define CTRL_IFACE_AP_H
113ff40c12SJohn Marino 
123ff40c12SJohn Marino int hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd,
133ff40c12SJohn Marino 				 char *buf, size_t buflen);
143ff40c12SJohn Marino int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
153ff40c12SJohn Marino 			   char *buf, size_t buflen);
163ff40c12SJohn Marino int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
173ff40c12SJohn Marino 				char *buf, size_t buflen);
183ff40c12SJohn Marino int hostapd_ctrl_iface_deauthenticate(struct hostapd_data *hapd,
193ff40c12SJohn Marino 				      const char *txtaddr);
203ff40c12SJohn Marino int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
213ff40c12SJohn Marino 				    const char *txtaddr);
22*a1157835SDaniel Fojt int hostapd_ctrl_iface_signature(struct hostapd_data *hapd,
23*a1157835SDaniel Fojt 				 const char *txtaddr,
24*a1157835SDaniel Fojt 				 char *buf, size_t buflen);
25*a1157835SDaniel Fojt int hostapd_ctrl_iface_poll_sta(struct hostapd_data *hapd,
26*a1157835SDaniel Fojt 				const char *txtaddr);
273ff40c12SJohn Marino int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
283ff40c12SJohn Marino 			      size_t buflen);
293ff40c12SJohn Marino int hostapd_parse_csa_settings(const char *pos,
303ff40c12SJohn Marino 			       struct csa_settings *settings);
31*a1157835SDaniel Fojt int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
32*a1157835SDaniel Fojt int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
33*a1157835SDaniel Fojt 				  size_t len);
34*a1157835SDaniel Fojt void hostapd_ctrl_iface_pmksa_flush(struct hostapd_data *hapd);
35*a1157835SDaniel Fojt int hostapd_ctrl_iface_pmksa_add(struct hostapd_data *hapd, char *cmd);
36*a1157835SDaniel Fojt int hostapd_ctrl_iface_pmksa_list_mesh(struct hostapd_data *hapd,
37*a1157835SDaniel Fojt 				       const u8 *addr, char *buf, size_t len);
38*a1157835SDaniel Fojt void * hostapd_ctrl_iface_pmksa_create_entry(const u8 *aa, char *cmd);
393ff40c12SJohn Marino 
403ff40c12SJohn Marino #endif /* CTRL_IFACE_AP_H */
41