Home
last modified time | relevance | path

Searched refs:ctrl_interface (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant/
Dctrl_iface_unix.c202 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_path()
205 pbuf = os_strdup(wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_path()
271 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_init()
274 buf = os_strdup(wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_init()
279 wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_init()
440 buf = os_strdup(priv->wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_deinit()
628 if (global->params.ctrl_interface == NULL) in wpa_supplicant_global_ctrl_iface_init()
632 priv->sock = android_get_control_socket(global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
637 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
647 os_strncpy(addr.sun_path, global->params.ctrl_interface, in wpa_supplicant_global_ctrl_iface_init()
[all …]
Dmain_winsvc.c72 TCHAR adapter[TBUFLEN], config[TBUFLEN], ctrl_interface[TBUFLEN]; in read_interface() local
86 buflen = sizeof(ctrl_interface); in read_interface()
88 (LPBYTE) ctrl_interface, &buflen); in read_interface()
90 ctrl_interface[TBUFLEN - 1] = TEXT('\0'); in read_interface()
91 wpa_unicode2ascii_inplace(ctrl_interface); in read_interface()
93 (int) buflen, (char *) ctrl_interface); in read_interface()
94 iface.ctrl_interface = (char *) ctrl_interface; in read_interface()
Dmain.c164 iface->ctrl_interface = optarg; in main()
185 params.ctrl_interface = optarg; in main()
256 ifaces[i].ctrl_interface == NULL) || in main()
258 if (iface_count == 1 && (params.ctrl_interface || in main()
Dmain_winmain.c62 ifaces[i].ctrl_interface == NULL) || in WinMain()
64 if (iface_count == 1 && (params.ctrl_interface || in WinMain()
Dconfig.h176 char *ctrl_interface; member
298 struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,
Dwpa_supplicant.c925 reconf_ctrl = !!conf->ctrl_interface != !!wpa_s->conf->ctrl_interface in wpa_supplicant_reload_configuration()
926 || (conf->ctrl_interface && wpa_s->conf->ctrl_interface && in wpa_supplicant_reload_configuration()
927 os_strcmp(conf->ctrl_interface, in wpa_supplicant_reload_configuration()
928 wpa_s->conf->ctrl_interface) != 0); in wpa_supplicant_reload_configuration()
2129 iface->ctrl_interface ? iface->ctrl_interface : "N/A", in wpa_supplicant_init_iface()
2161 if (iface->ctrl_interface) { in wpa_supplicant_init_iface()
2162 os_free(wpa_s->conf->ctrl_interface); in wpa_supplicant_init_iface()
2163 wpa_s->conf->ctrl_interface = in wpa_supplicant_init_iface()
2164 os_strdup(iface->ctrl_interface); in wpa_supplicant_init_iface()
2173 wpa_s->conf = wpa_config_alloc_empty(iface->ctrl_interface, in wpa_supplicant_init_iface()
[all …]
Dconfig_file.c315 os_free(config->ctrl_interface); in wpa_config_read()
316 config->ctrl_interface = os_strdup(pos + 15); in wpa_config_read()
318 config->ctrl_interface); in wpa_config_read()
662 if (config->ctrl_interface) in wpa_config_write_global()
663 fprintf(f, "ctrl_interface=%s\n", config->ctrl_interface); in wpa_config_write_global()
Dwpa_supplicant.conf75 ctrl_interface=wlan0
Dctrl_iface_udp.c283 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_init()
518 if (global->params.ctrl_interface == NULL) in wpa_supplicant_global_ctrl_iface_init()
522 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
Dconfig.c1386 os_free(config->ctrl_interface); in wpa_config_free()
1758 struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface, in wpa_config_alloc_empty() argument
1770 if (ctrl_interface) in wpa_config_alloc_empty()
1771 config->ctrl_interface = os_strdup(ctrl_interface); in wpa_config_alloc_empty()
Dwpa_supplicant_i.h62 const char *ctrl_interface; member
153 char *ctrl_interface; member
DREADME493 -C = ctrl_interface parameter (only used if -c is not)
498 -g = global ctrl_interface
581 ctrl_interface=/var/run/wpa_supplicant
611 ctrl_interface=/var/run/wpa_supplicant
629 ctrl_interface=/var/run/wpa_supplicant
647 ctrl_interface=/var/run/wpa_supplicant
668 ctrl_interface=/var/run/wpa_supplicant
695 ctrl_interface=/var/run/wpa_supplicant
Dctrl_iface_named_pipe.c451 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_init()
454 if (ctrl_iface_parse(priv, wpa_s->conf->ctrl_interface) < 0) { in wpa_supplicant_ctrl_iface_init()
Dpreauth_test.c352 wpa_s.conf->ctrl_interface); in main()
Dconfig_winreg.c191 config->ctrl_interface = wpa_config_read_reg_string( in wpa_config_read_global()
472 config->ctrl_interface); in wpa_config_write_global()
Dctrl_iface.c1361 iface.ctrl_interface = pos; in wpa_supplicant_global_iface_add()
1365 if (iface.ctrl_interface[0] == '\0') in wpa_supplicant_global_iface_add()
1366 iface.ctrl_interface = NULL; in wpa_supplicant_global_iface_add()
DChangeLog154 * changed ctrl_interface configuration for UNIX domain sockets:
157 - allow both directory and group be configured with ctrl_interface
159 - ctrl_interface=/var/run/wpa_supplicant is still supported for the
184 * winsvc: added support for configuring ctrl_interface parameters in
185 registry (ctrl_interface string value in
264 * config_winreg: allow global ctrl_interface parameter to be configured
442 file (-C argument must be used to set ctrl_interface parameter for
933 wpa_supplicant.conf: ctrl_interface is now a path
Deapol_test.c1037 wpa_s.conf->ctrl_interface); in main()
/external/wpa_supplicant/examples/
Dplaintext.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwep.conf3 ctrl_interface=/var/run/wpa_supplicant
Dieee8021x.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwpa-psk-tkip.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwpa2-eap-ccmp.conf3 ctrl_interface=/var/run/wpa_supplicant