Home
last modified time | relevance | path

Searched refs:ap_scan (Results 1 – 25 of 41) sorted by relevance

12

/external/wpa_supplicant_6/wpa_supplicant/
Dscan.c96 wpa_s->scan_req, wpa_s->conf->ap_scan); in wpa_supplicant_scan()
112 if (wpa_s->conf->ap_scan != 0 && in wpa_supplicant_scan()
116 wpa_s->conf->ap_scan = 0; in wpa_supplicant_scan()
119 if (wpa_s->conf->ap_scan == 0) { in wpa_supplicant_scan()
140 (ssid->scan_ssid || wpa_s->conf->ap_scan == 2)) in wpa_supplicant_scan()
145 if (scan_req != 2 && wpa_s->conf->ap_scan == 2) { in wpa_supplicant_scan()
172 if (wpa_s->scan_res_tried == 0 && wpa_s->conf->ap_scan == 1 && in wpa_supplicant_scan()
245 wpa_s->conf->ap_scan == 1) { in wpa_supplicant_req_scan()
Dwpa_supplicant.conf5 ap_scan=1
Devents.c41 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid) in wpa_supplicant_select_config()
100 wpa_s->conf->ap_scan = DEFAULT_AP_SCAN; in wpa_supplicant_mark_disassoc()
634 if (wpa_s->conf->ap_scan == 2) in wpa_supplicant_event_scan_results()
646 if (wpa_s->scan_res_tried == 1 && wpa_s->conf->ap_scan == 1 && in wpa_supplicant_event_scan_results()
660 if ((wpa_s->conf->ap_scan == 2 && !wpas_wps_searching(wpa_s))) in wpa_supplicant_event_scan_results()
729 if (wpa_s->scan_res_tried == 1 && wpa_s->conf->ap_scan == 1) { in wpa_supplicant_event_scan_results()
Dconfig.h97 int ap_scan; member
Dctrl_iface_dbus_handlers.c1220 dbus_uint32_t ap_scan = 1; in wpas_dbus_iface_set_ap_scan() local
1222 if (!dbus_message_get_args(message, NULL, DBUS_TYPE_UINT32, &ap_scan, in wpas_dbus_iface_set_ap_scan()
1228 if (ap_scan > 2) { in wpas_dbus_iface_set_ap_scan()
1232 wpa_s->conf->ap_scan = ap_scan; in wpas_dbus_iface_set_ap_scan()
Dctrl_iface.c1610 int ap_scan = atoi(cmd); in wpa_supplicant_ctrl_iface_ap_scan() local
1612 if (ap_scan < 0 || ap_scan > 2) in wpa_supplicant_ctrl_iface_ap_scan()
1615 if ((ap_scan == 2) && (wpa_s->wpa_state != WPA_COMPLETED)) { in wpa_supplicant_ctrl_iface_ap_scan()
1616 wpa_printf(MSG_DEBUG, "ap_scan = %d", wpa_s->conf->ap_scan); in wpa_supplicant_ctrl_iface_ap_scan()
1619 wpa_printf(MSG_DEBUG, "ap_scan = %d", ap_scan); in wpa_supplicant_ctrl_iface_ap_scan()
1621 wpa_s->conf->ap_scan = ap_scan; in wpa_supplicant_ctrl_iface_ap_scan()
Dtodo.txt5 - add support for WPA with ap_scan=0 (update selected cipher etc. based on
46 * global options (ap_scan, ctrl_interfaces) based on OS/driver
Dconfig_file.c435 { INT(ap_scan) },
840 if (config->ap_scan != DEFAULT_AP_SCAN) in wpa_config_write_global()
841 fprintf(f, "ap_scan=%d\n", config->ap_scan); in wpa_config_write_global()
DChangeLog191 .config); this version supports only ap_scan=2 mode and allow the
328 * fixed selection of the first network in ap_scan=2 mode; previously,
438 starting up in ap_scan=1 mode (this can speed up initial association
458 * added AP_SCAN command into ctrl_iface so that ap_scan configuration
474 * fixed PC/SC initialization for ap_scan != 1 modes (this fixes
475 EAP-SIM and EAP-AKA with real SIM/USIM card when using ap_scan=0 or
476 ap_scan=2)
567 * driver_ndis: fixed scan request in ap_scan=2 mode not to change SSID
696 * added support for using ap_scan=2 mode with multiple network blocks;
816 ap_scan=2)
[all …]
Dconfig_winreg.c212 wpa_config_read_reg_dword(hk, TEXT("ap_scan"), &config->ap_scan); in wpa_config_read_global()
544 wpa_config_write_reg_dword(hk, TEXT("ap_scan"), config->ap_scan, in wpa_config_write_global()
Dwps_supplicant.c165 if (wpa_s->conf->ap_scan == 1) in wpas_wps_security_workaround()
176 if (wpa_s->conf->ap_scan == 1) in wpas_wps_security_workaround()
Dwpa_supplicant.c213 if (wpa_s->conf && wpa_s->conf->ap_scan == 0 && in wpa_supplicant_req_auth_timeout()
963 wpa_s->conf->ap_scan == 2 && in wpa_supplicant_associate()
1190 } else if (wpa_s->conf->ap_scan == 1) { in wpa_supplicant_associate()
1455 wired = wpa_s->conf->ap_scan == 0 && wpa_s->driver && in wpa_supplicant_get_ssid()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_template.conf5 ap_scan=1
Dwpa_supplicant.c227 if (wpa_s->conf && wpa_s->conf->ap_scan == 0 && in wpa_supplicant_req_auth_timeout()
815 old_ap_scan = wpa_s->conf->ap_scan; in wpa_supplicant_reload_configuration()
818 if (old_ap_scan != wpa_s->conf->ap_scan) in wpa_supplicant_reload_configuration()
1308 wpa_s->conf->ap_scan == 2 && in wpa_supplicant_associate()
1520 wpa_s->conf->ap_scan == 2) { in wpa_supplicant_associate()
1650 } else if (wpa_s->conf->ap_scan == 1) { in wpa_supplicant_associate()
1916 int wpa_supplicant_set_ap_scan(struct wpa_supplicant *wpa_s, int ap_scan) in wpa_supplicant_set_ap_scan() argument
1921 if (ap_scan < 0 || ap_scan > 2) in wpa_supplicant_set_ap_scan()
1925 if (ap_scan == 2 && ap_scan != wpa_s->conf->ap_scan && in wpa_supplicant_set_ap_scan()
1929 "associating", wpa_s->conf->ap_scan, ap_scan); in wpa_supplicant_set_ap_scan()
[all …]
Dscan.c480 if (wpa_s->conf->ap_scan != 0 && in wpa_supplicant_scan()
484 wpa_s->conf->ap_scan = 0; in wpa_supplicant_scan()
488 if (wpa_s->conf->ap_scan == 0) { in wpa_supplicant_scan()
510 if (wpa_s->conf->ap_scan == 2) in wpa_supplicant_scan()
574 if (scan_req != 2 && wpa_s->conf->ap_scan == 2) { in wpa_supplicant_scan()
580 } else if (wpa_s->conf->ap_scan == 2) { in wpa_supplicant_scan()
741 wpa_s->conf->ap_scan == 1) { in wpa_supplicant_req_scan()
Dtodo.txt2 - add support for WPA with ap_scan=0 (update selected cipher etc. based on
41 * global options (ap_scan, ctrl_interfaces) based on OS/driver
Dconfig.h293 int ap_scan; member
Dwpa_supplicant.conf111 ap_scan=1
DREADME-Windows.txt134 When using access points in "hidden SSID" mode, ap_scan=2 mode need to
176 #ap_scan=2
186 (remove '#' from the comment out ap_scan line to enable mode in which
DChangeLog255 scan_ssid=1 operations in ap_scan=1 mode (i.e., search for hidden
464 .config); this version supports only ap_scan=2 mode and allow the
601 * fixed selection of the first network in ap_scan=2 mode; previously,
711 starting up in ap_scan=1 mode (this can speed up initial association
731 * added AP_SCAN command into ctrl_iface so that ap_scan configuration
747 * fixed PC/SC initialization for ap_scan != 1 modes (this fixes
748 EAP-SIM and EAP-AKA with real SIM/USIM card when using ap_scan=0 or
749 ap_scan=2)
840 * driver_ndis: fixed scan request in ap_scan=2 mode not to change SSID
969 * added support for using ap_scan=2 mode with multiple network blocks;
[all …]
Devents.c70 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid) in wpa_supplicant_select_config()
151 wpa_s->conf->ap_scan = DEFAULT_AP_SCAN; in wpa_supplicant_mark_disassoc()
1085 if (wpa_s->conf->ap_scan == 2 || ap) in _wpa_supplicant_event_scan_results()
1150 if ((wpa_s->conf->ap_scan == 2 && !wpas_wps_searching(wpa_s))) { in _wpa_supplicant_event_scan_results()
1672 if (wpa_s->conf->ap_scan == 1 &&
Dwpa_supplicant_i.h656 int ap_scan);
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ralink.c45 int ap_scan; member
165 if (drv->ap_scan == 0) { in wpa_driver_ralink_get_ssid()
568 if (drv->ap_scan == 1) { in wpa_driver_ralink_event_wireless()
693 if (drv->ap_scan != 1) { in wpa_driver_ralink_event_wireless()
925 drv->ap_scan = 1; /* for now - let's assume ap_scan=1 is used */ in wpa_driver_ralink_init()
959 if (drv->ap_scan == 1) in wpa_driver_ralink_init()
978 if (drv->ap_scan == 1) in wpa_driver_ralink_init()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers.c1158 dbus_uint32_t ap_scan = 1; in wpas_dbus_iface_set_ap_scan() local
1160 if (!dbus_message_get_args(message, NULL, DBUS_TYPE_UINT32, &ap_scan, in wpas_dbus_iface_set_ap_scan()
1166 if (wpa_supplicant_set_ap_scan(wpa_s, ap_scan)) { in wpas_dbus_iface_set_ap_scan()
Ddbus_new_handlers.c2305 dbus_uint32_t ap_scan = wpa_s->conf->ap_scan; in wpas_dbus_getter_ap_scan() local
2308 &ap_scan, error); in wpas_dbus_getter_ap_scan()
2325 dbus_uint32_t ap_scan; in wpas_dbus_setter_ap_scan() local
2328 &ap_scan)) in wpas_dbus_setter_ap_scan()
2331 if (wpa_supplicant_set_ap_scan(wpa_s, ap_scan)) { in wpas_dbus_setter_ap_scan()

12