/external/wpa_supplicant_8/src/wps/ |
H A D | wps_enrollee.c | 863 u16 id; local 870 id = WPA_GET_BE16(dev_pw_id); 871 if (wps->dev_pw_id == id) { 872 wpa_printf(MSG_DEBUG, "WPS: Device Password ID %u", id); 877 if ((id == DEV_PW_DEFAULT && 879 (id == DEV_PW_REGISTRAR_SPECIFIED && 895 "ID from %u to %u", wps->dev_pw_id, id); 897 if (wps->dev_pw_id == DEV_PW_PUSHBUTTON && id == DEV_PW_DEFAULT) { 903 if (wps->alt_dev_password && wps->alt_dev_pw_id == id) {
|
H A D | wps_er.c | 116 static struct wps_er_ap * wps_er_ap_get_id(struct wps_er *er, unsigned int id) argument 120 if (ap->id == id) 463 ap->er->event_id, ap->id, 1800); 656 ap->id = ++er->next_ap_id; 1160 wpa_printf(MSG_DEBUG, "WPS ER: HTTP event from unknown AP id " 1165 wpa_printf(MSG_MSGDUMP, "WPS ER: HTTP event from AP id %u: %s", 1198 "unknown event id %u", event_id);
|
H A D | wps_er.h | 63 unsigned int id; member in struct:wps_er_ap
|
H A D | wps_registrar.c | 511 u16 id = reg->pbc ? DEV_PW_PUSHBUTTON : DEV_PW_DEFAULT; local 515 id = reg->sel_reg_dev_password_id_override; 516 wpa_printf(MSG_DEBUG, "WPS: * Device Password ID (%d)", id); 519 wpabuf_put_be16(msg, id); 527 u16 id = reg->pbc ? DEV_PW_PUSHBUTTON : DEV_PW_DEFAULT; local 531 id = reg->sel_reg_dev_password_id_override; 532 if (id != DEV_PW_PUSHBUTTON || !reg->dualband) 2589 wpa_printf(MSG_DEBUG, "WPS: Searching for NFC token match for id=%d (ctx %p registrar %p)", 3606 u16 id; local 3616 id [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | bss.c | 222 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: Remove id %u BSSID " MACSTR 223 " SSID '%s' due to %s", bss->id, MAC2STR(bss->bssid), 225 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); 364 bss->id = wpa_s->bss_next_id++; 385 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: Add new id %u BSSID " MACSTR 387 bss->id, MAC2STR(bss->bssid), wpa_ssid_txt(ssid, ssid_len)); 388 wpas_notify_bss_added(wpa_s, bss->bssid, bss->id); 493 wpas_notify_bss_freq_changed(wpa_s, bss->id); 496 wpas_notify_bss_signal_changed(wpa_s, bss->id); 499 wpas_notify_bss_privacy_changed(wpa_s, bss->id); 956 wpa_bss_get_id(struct wpa_supplicant *wpa_s, unsigned int id) argument [all...] |
H A D | bss.h | 58 unsigned int id; member in struct:wpa_bss 117 struct wpa_bss * wpa_bss_get_id(struct wpa_supplicant *wpa_s, unsigned int id);
|
H A D | config.c | 2079 * wpa_config_get_network - Get configured network based on id 2081 * @id: Unique network id to search for 2084 struct wpa_ssid * wpa_config_get_network(struct wpa_config *config, int id) argument 2090 if (id == ssid->id) 2106 int id; local 2109 id = -1; 2112 if (ssid->id > id) 2141 wpa_config_remove_network(struct wpa_config *config, int id) argument 3101 wpa_config_get_cred(struct wpa_config *config, int id) argument 3118 int id; local 3145 wpa_config_remove_cred(struct wpa_config *config, int id) argument [all...] |
H A D | config.h | 47 * id - Unique id for the credential 51 * an id when it is being created, either when reading the 55 int id; member in struct:wpa_cred 996 * elements (id+len+payload for one or more elements). 1092 struct wpa_ssid * wpa_config_get_network(struct wpa_config *config, int id); 1094 int wpa_config_remove_network(struct wpa_config *config, int id); 1115 struct wpa_cred * wpa_config_get_cred(struct wpa_config *config, int id); 1117 int wpa_config_remove_cred(struct wpa_config *config, int id);
|
H A D | config_file.c | 153 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) argument 165 ssid->id = id; 214 static struct wpa_cred * wpa_config_read_cred(FILE *f, int *line, int id) argument 224 cred->id = id; 361 int id = 0; local 393 ssid = wpa_config_read_network(f, &line, id++);
|
H A D | config_ssid.h | 73 * id - Unique id for the network 77 * id when it is being created, either when reading the configuration 80 int id; member in struct:wpa_ssid
|
H A D | config_winreg.c | 284 int id) 306 ssid->id = id; 831 static int wpa_config_write_network(HKEY hk, struct wpa_ssid *ssid, int id) argument 847 wsprintf(name, L"%04d", id); 849 os_snprintf(name, sizeof(name), "%04d", id); 989 int id; local 1014 for (ssid = config->ssid, id = 0; ssid; ssid = ssid->next, id++) { 1017 if (wpa_config_write_network(hk, ssid, id)) 283 wpa_config_read_network(HKEY hk, const TCHAR *netw, int id) argument [all...] |
H A D | ctrl_iface.c | 1369 char *uuid = cmd, *id; local 1370 id = os_strchr(uuid, ' '); 1371 if (id == NULL) 1373 *id++ = '\0'; 1374 return wpas_wps_er_set_config(wpa_s, uuid, atoi(id)); 1487 int id; local 1499 id = atoi(id_pos); 1500 wpa_printf(MSG_DEBUG, "CTRL_IFACE: field=%s id=%d", rsp, id); 1504 ssid = wpa_config_get_network(wpa_s->conf, id); 1811 int id; local 2337 int id; local 2381 int id; local 2418 int id; local 2475 int id; local 2597 int id, ret, prev_bssid_set; local 2641 int id; local 2686 char *name, *id, *value; local 2794 int id; local 2829 int id; local 2891 int id; local 2935 int id; local 4528 int id; local 4621 int id; local 5175 u16 id[MAX_ANQP_INFO_ID]; local 5935 unsigned int id = atoi(cmd); local [all...] |
H A D | eapol_test.c | 463 field_name, ssid->id, txt); 515 static void eapol_test_set_anon_id(void *ctx, const u8 *id, size_t len) argument 523 id, len); 528 if (id == NULL) { 536 wpa_snprintf_hex(str, len * 2 + 1, id, len); 758 "id=%d len=%d) from RADIUS server: %s", 1180 " attr_id - number id of the attribute\n"
|
H A D | hs20_supplicant.c | 42 unsigned int id; member in struct:osu_icon 317 if (icon->id || icon->failed) 322 icon->id = wpa_s->osu_icon_id; 512 icon->id, icon->width, icon->height, icon->lang, 534 if (icon->id || icon->failed)
|
H A D | interworking.c | 376 u8 id, len; local 384 id = *pos++; 387 switch (id) { 432 "Parameter: id=%u len=%u", id, len); 872 wpa_config_remove_network(wpa_s->conf, ssid->id); 1007 wpa_config_remove_network(wpa_s->conf, ssid->id); 1503 wpa_config_remove_network(wpa_s->conf, ssid->id); 1759 wpa_config_remove_network(wpa_s->conf, ssid->id); 2243 cred->id); [all...] |
H A D | main_winsvc.c | 364 DWORD id; local 391 if (CreateThread(0, 0, (LPTHREAD_START_ROUTINE) svc_thread, 0, 0, &id)
|
H A D | notify.c | 91 "id=%d state=%d BSSID=" MACSTR " SSID=%s", 92 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, 142 wpas_dbus_signal_network_selected(wpa_s, ssid->id); 245 wpas_dbus_unregister_persistent_group(wpa_s, ssid->id); 258 wpas_dbus_unregister_network(wpa_s, ssid->id); 264 u8 bssid[], unsigned int id) 266 wpas_dbus_register_bss(wpa_s, bssid, id); 268 id, MAC2STR(bssid)); 273 u8 bssid[], unsigned int id) 275 wpas_dbus_unregister_bss(wpa_s, bssid, id); 263 wpas_notify_bss_added(struct wpa_supplicant *wpa_s, u8 bssid[], unsigned int id) argument 272 wpas_notify_bss_removed(struct wpa_supplicant *wpa_s, u8 bssid[], unsigned int id) argument 281 wpas_notify_bss_freq_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 288 wpas_notify_bss_signal_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 296 wpas_notify_bss_privacy_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 304 wpas_notify_bss_mode_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 311 wpas_notify_bss_wpaie_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 318 wpas_notify_bss_rsnie_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 325 wpas_notify_bss_wps_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 334 wpas_notify_bss_ies_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 341 wpas_notify_bss_rates_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 348 wpas_notify_bss_seen(struct wpa_supplicant *wpa_s, unsigned int id) argument [all...] |
H A D | p2p_supplicant.c | 562 int id = ssid->id; local 577 wpa_config_remove_network(wpa_s->conf, id); 747 return s->id; 949 network_id = ssid->id; 1269 network_id = ssid->id; 1367 wpa_config_remove_network(wpa_s->conf, ssid->id); 2602 static void wfd_add_sd_req_role(struct wpabuf *tlvs, u8 id, u8 role, argument 2612 wpabuf_put_u8(tlvs, id); /* Service Transaction ID */ 2641 u8 id local 7557 u16 len, id; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 376 * @id: new network id 383 int id, const char *sig_name, 399 wpa_s->dbus_new_path, id); 434 * @id: new network id 439 int id) 441 wpas_dbus_signal_network(wpa_s, id, "NetworkAdded", TRUE); 448 * @id: network id 382 wpas_dbus_signal_network(struct wpa_supplicant *wpa_s, int id, const char *sig_name, int properties) argument 438 wpas_dbus_signal_network_added(struct wpa_supplicant *wpa_s, int id) argument 452 wpas_dbus_signal_network_removed(struct wpa_supplicant *wpa_s, int id) argument 466 wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id) argument 1732 wpas_dbus_signal_persistent_group(struct wpa_supplicant *wpa_s, int id, const char *sig_name, int properties) argument 1789 wpas_dbus_signal_persistent_group_added( struct wpa_supplicant *wpa_s, int id) argument 1805 wpas_dbus_signal_persistent_group_removed( struct wpa_supplicant *wpa_s, int id) argument 1928 wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s, enum wpas_dbus_bss_prop property, unsigned int id) argument 2425 wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument 2466 wpas_dbus_register_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument [all...] |
H A D | dbus_new.h | 139 unsigned int id); 142 void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id); 159 u8 bssid[ETH_ALEN], unsigned int id); 161 u8 bssid[ETH_ALEN], unsigned int id); 251 unsigned int id) 261 struct wpa_supplicant *wpa_s, int id) 309 u8 bssid[ETH_ALEN], unsigned int id) 315 u8 bssid[ETH_ALEN], unsigned int id) 249 wpas_dbus_bss_signal_prop_changed( struct wpa_supplicant *wpa_s, enum wpas_dbus_bss_prop property, unsigned int id) argument 260 wpas_dbus_signal_network_selected( struct wpa_supplicant *wpa_s, int id) argument 308 wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument 314 wpas_dbus_register_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument
|
H A D | dbus_new_handlers.c | 186 * Sets network configuration with parameters given id DBus dictionary 1560 wpa_s->dbus_new_path, ssid->id); 1581 wpa_config_remove_network(wpa_s->conf, ssid->id); 1646 int id; local 1663 id = strtoul(net_id, NULL, 10); 1669 ssid = wpa_config_get_network(wpa_s->conf, id); 1689 if (wpa_config_remove_network(wpa_s->conf, id) < 0) { 1692 "error occurred when removing network %d", id); 1712 if (wpa_config_remove_network(wpa_s->conf, ssid->id) < 0) { 1716 ssid->id); 1760 int id; local 1813 int id; local [all...] |
H A D | dbus_new_handlers.h | 20 unsigned int id; member in struct:bss_handler_args
|
H A D | dbus_new_handlers_p2p.c | 345 /* Get the SSID structure from the persistent group id */ 630 /* Get the SSID structure from the persistent group id */ 1686 wpa_s->dbus_new_path, ssid->id); 1807 wpa_s->dbus_new_path, ssid->id); 1828 wpa_config_remove_network(wpa_s->conf, ssid->id); 1850 int id; local 1868 id = strtoul(persistent_group_id, NULL, 10); 1874 ssid = wpa_config_get_network(wpa_s->conf, id); 1882 if (wpa_config_remove_network(wpa_s->conf, id) < 0) { 1885 __func__, id); [all...] |
H A D | dbus_old_handlers.c | 811 wpa_s->dbus_path, ssid->id); 837 int id; local 860 id = strtoul(net_id, NULL, 10); 861 ssid = wpa_config_get_network(wpa_s->conf, id); 869 if (wpa_config_remove_network(wpa_s->conf, id) < 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | eap_user_db.c | 104 int i, id = -1, methods = -1; local 109 id = i; 114 if (id < 0 || methods < 0) 117 len = os_strlen(argv[id]); 119 os_memcmp(argv[id], user->identity, len) == 0 && 122 user->password_len = os_strlen(argv[id]); 123 user->password = (u8 *) os_strdup(argv[id]);
|