| /hostap-latest/wpa_supplicant/ |
| D | wpa_cli_cmds.c | 39 static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args, in wpa_cli_cmd() 203 static int wpa_cli_cmd_set_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_set_network() 221 static int wpa_cli_cmd_get_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_get_network() 238 static int wpa_cli_cmd_list_networks(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_list_networks() 245 static int wpa_cli_cmd_select_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_select_network() 252 static int wpa_cli_cmd_enable_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_enable_network() 259 static int wpa_cli_cmd_disable_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_disable_network() 266 static int wpa_cli_cmd_add_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_add_network() 273 static int wpa_cli_cmd_remove_network(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_remove_network() 280 static int wpa_cli_cmd_disconnect(struct wpa_ctrl *ctrl, int argc, in wpa_cli_cmd_disconnect() [all …]
|
| D | wpa_cli.c | 40 struct wpa_ctrl *ctrl_conn; 43 static struct wpa_ctrl *ctrl_conn; 46 static struct wpa_ctrl *mon_conn; 79 static void update_creds(struct wpa_ctrl *ctrl); 80 static void update_networks(struct wpa_ctrl *ctrl); 81 static void update_stations(struct wpa_ctrl *ctrl); 82 static void update_ifnames(struct wpa_ctrl *ctrl); 231 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() 273 int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() 275 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() [all …]
|
| D | wpa_cli_zephyr.c | 33 struct wpa_ctrl *ctrl_conn; 34 struct wpa_ctrl *mon_conn; 35 struct wpa_ctrl *global_ctrl_conn; 44 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print, char *resp) in _wpa_ctrl_command() 92 static int wpa_ctrl_command_resp(struct wpa_ctrl *ctrl, const char *cmd, char *resp) in wpa_ctrl_command_resp() 126 static void wpa_cli_recv_pending(struct wpa_ctrl *ctrl, struct wpa_supplicant *wpa_s) in wpa_cli_recv_pending() 364 int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() 369 int wpa_ctrl_command_interactive(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command_interactive()
|
| D | libwpa_test.c | 15 struct wpa_ctrl *ctrl; in main()
|
| D | nmake.mak | 154 $(OBJDIR)\wpa_ctrl.obj \
|
| /hostap-latest/hostapd/ |
| D | hostapd_cli_cmds.c | 23 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() 61 static int hostapd_cli_cmd_set(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_set() 117 static int hostapd_cli_cmd_disassociate(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_disassociate() 135 static int hostapd_cli_cmd_deauthenticate(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_deauthenticate() 153 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_status() 161 static int hostapd_cli_cmd_enable(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_enable() 168 static int hostapd_cli_cmd_reload(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_reload() 175 static int hostapd_cli_cmd_disable(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_disable() 182 static int hostapd_cli_cmd_update_beacon(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_update_beacon() 189 static int hostapd_cli_cmd_sta(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_sta() [all …]
|
| D | hostapd_cli.c | 26 static struct wpa_ctrl *ctrl_conn; 48 static void update_stations(struct wpa_ctrl *ctrl); 82 static void register_event_handler(struct wpa_ctrl *ctrl) in register_event_handler() 95 static void unregister_event_handler(struct wpa_ctrl *ctrl) in unregister_event_handler() 106 static struct wpa_ctrl * hostapd_cli_open_connection(const char *ifname) in hostapd_cli_open_connection() 193 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() 221 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() 227 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() 243 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() 249 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() [all …]
|
| D | hostapd_cli_zephyr.h | 17 int hostapd_request(struct wpa_ctrl *ctrl, int argc, char *argv[]); 18 int hostapd_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd); 19 int hostapd_ctrl_command_interactive(struct wpa_ctrl *ctrl, const char *cmd);
|
| D | hostapd_cli_zephyr.c | 32 struct wpa_ctrl *hapd_ctrl_conn = NULL; 33 struct wpa_ctrl *hapd_mon_conn = NULL; 162 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print, char *resp) in _wpa_ctrl_command() 210 int hostapd_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in hostapd_ctrl_command() 215 int hostapd_ctrl_command_interactive(struct wpa_ctrl *ctrl, const char *cmd) in hostapd_ctrl_command_interactive() 250 static void hostapd_cli_recv_pending(struct wpa_ctrl *ctrl, struct hostapd_data *hapd) in hostapd_cli_recv_pending()
|
| D | README-WPS | 169 -based control interface directly (src/common/wpa_ctrl.c provides
|
| /hostap-latest/src/common/ |
| D | wpa_ctrl.h | 15 extern struct wpa_ctrl *ctrl_conn; 525 struct wpa_ctrl * wpa_ctrl_open(const int sock); 537 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path); 552 struct wpa_ctrl * wpa_ctrl_open2(const char *ctrl_path, const char *cli_path); 561 void wpa_ctrl_close(struct wpa_ctrl *ctrl); 590 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, 605 int wpa_ctrl_attach(struct wpa_ctrl *ctrl); 617 int wpa_ctrl_detach(struct wpa_ctrl *ctrl); 634 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); 647 int wpa_ctrl_pending(struct wpa_ctrl *ctrl); [all …]
|
| D | wpa_ctrl.c | 58 struct wpa_ctrl { struct 96 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path) in wpa_ctrl_open() argument 102 struct wpa_ctrl * wpa_ctrl_open2(const char *ctrl_path, in wpa_ctrl_open2() 105 struct wpa_ctrl *ctrl; in wpa_ctrl_open2() 255 void wpa_ctrl_close(struct wpa_ctrl *ctrl) in wpa_ctrl_close() 315 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path) in wpa_ctrl_open() 317 struct wpa_ctrl *ctrl; in wpa_ctrl_open() 466 char * wpa_ctrl_get_remote_ifname(struct wpa_ctrl *ctrl) in wpa_ctrl_get_remote_ifname() 476 void wpa_ctrl_close(struct wpa_ctrl *ctrl) in wpa_ctrl_close() 489 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() [all …]
|
| D | wpa_helpers.c | 22 static struct wpa_ctrl * wpa_open_ctrl(const char *ifname) in wpa_open_ctrl() 25 struct wpa_ctrl *ctrl; in wpa_open_ctrl() 37 struct wpa_ctrl *ctrl; in wpa_command() 64 struct wpa_ctrl *ctrl; in wpa_command_resp() 83 struct wpa_ctrl * open_wpa_mon(const char *ifname) in open_wpa_mon() 85 struct wpa_ctrl *ctrl; in open_wpa_mon() 99 int get_wpa_cli_event2(struct wpa_ctrl *mon, in get_wpa_cli_event2() 156 int get_wpa_cli_event(struct wpa_ctrl *mon, in get_wpa_cli_event() 166 struct wpa_ctrl *ctrl; in get_wpa_status() 216 struct wpa_ctrl *ctrl; in wait_ip_addr()
|
| D | wpa_helpers.h | 19 struct wpa_ctrl * open_wpa_mon(const char *ifname); 21 int get_wpa_cli_event(struct wpa_ctrl *mon, 23 int get_wpa_cli_event2(struct wpa_ctrl *mon,
|
| /hostap-latest/doc/ |
| D | hostapd_ctrl_iface.doxygen | 7 a small C library, in a form of a single C file, \ref wpa_ctrl.c, that 10 the library functions documented in \ref wpa_ctrl.h to interact with 16 control interface. The use of the functions defined in \ref wpa_ctrl.h can 23 communicate with hostapd should link in \ref wpa_ctrl.c. This
|
| D | ctrl_iface.doxygen | 7 a small C library, in a form of a single C file, \ref wpa_ctrl.c, that 10 the library functions documented in \ref wpa_ctrl.h to interact with 17 the functions defined in \ref wpa_ctrl.h can be used to hide the details of 24 communicate with wpa_supplicant should link in \ref wpa_ctrl.c. This 672 a fixed prefix text as defined in \ref wpa_ctrl.h. After this, optional 697 text to the event strings from \ref wpa_ctrl.h that the program is
|
| D | code_structure.doxygen | 220 \ref wpa_ctrl.c and \ref wpa_ctrl.h
|
| D | porting.doxygen | 133 interface library in \ref wpa_ctrl.c.
|
| /hostap-latest/wpa_supplicant/wpa_gui-qt4/ |
| D | wpagui.h | 128 struct wpa_ctrl *ctrl_conn; 134 struct wpa_ctrl *monitor_conn;
|
| D | addinterface.cpp | 59 struct wpa_ctrl *ctrl; in addInterfaces() 188 struct wpa_ctrl *ctrl; in interfaceSelected()
|
| D | wpa_gui.pro | 57 ../../src/common/wpa_ctrl.c
|
| D | wpagui.cpp | 318 struct wpa_ctrl *ctrl; in openCtrlConnection()
|
| /hostap-latest/hs20/client/ |
| D | Makefile | 34 OBJS += ../../src/common/wpa_ctrl.o ../../src/common/wpa_helpers.o
|
| D | osu_client.c | 2200 struct wpa_ctrl *mon; in osu_connect() 2535 struct wpa_ctrl *mon; in cmd_signup()
|
| /hostap-latest/wpaspy/ |
| D | wpaspy.c | 17 struct wpa_ctrl *ctrl;
|