Home
last modified time | relevance | path

Searched refs:wpa_psk (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dap_config.c386 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
387 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
398 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
399 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
410 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
412 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
422 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
431 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
567 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_config_free_bss()
648 hostapd_config_clear_wpa_psk(&conf->multi_ap_backhaul_ssid.wpa_psk); in hostapd_config_free_bss()
[all …]
Dwps_hostapd.c134 p->next = ssid->wpa_psk; in hostapd_wps_new_psk_cb()
135 ssid->wpa_psk = p; in hostapd_wps_new_psk_cb()
375 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
377 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
378 bss->ssid.wpa_psk = in hapd_wps_reconfig_in_memory()
380 if (bss->ssid.wpa_psk && in hapd_wps_reconfig_in_memory()
382 bss->ssid.wpa_psk->psk, PMK_LEN) == 0) { in hapd_wps_reconfig_in_memory()
383 bss->ssid.wpa_psk->group = 1; in hapd_wps_reconfig_in_memory()
1144 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
1149 conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
[all …]
Dap_config.h98 struct hostapd_wpa_psk *wpa_psk; member
Dhostapd.c106 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && in hostapd_reload_bss()
112 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
Dsta_info.c1193 for (psk = ssid->wpa_psk; psk; psk = psk->next) in ap_sta_wpa_get_keyid()
/external/autotest/server/site_tests/policy_WiFiTypesServer/
Dcontrol.wpa_psk7 NAME = 'policy_WiFiTypesServer.wpa_psk'
13 'policy_WiFiTypesServer.wpa_psk' test configures an WPA-PSK network and runs
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c380 bin_clear_free(bss->ssid.wpa_psk, sizeof(*bss->ssid.wpa_psk)); in wpa_supplicant_conf_ap()
381 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
382 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
384 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
385 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
Dp2p_supplicant.c1717 hpsk->next = hapd->conf->ssid.wpa_psk; in wpas_p2p_add_psk_list()
1718 hapd->conf->ssid.wpa_psk = hpsk; in wpas_p2p_add_psk_list()
8311 psk = hapd->conf->ssid.wpa_psk; in wpas_p2p_remove_client_go()
8322 hapd->conf->ssid.wpa_psk = psk->next; in wpas_p2p_remove_client_go()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2895 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2899 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2900 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_config_fill()
2901 if (bss->ssid.wpa_psk == NULL) in hostapd_config_fill()
2903 if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, PMK_LEN) || in hostapd_config_fill()
2907 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2910 bss->ssid.wpa_psk->group = 1; in hostapd_config_fill()
3664 &bss->multi_ap_backhaul_ssid.wpa_psk); in hostapd_config_fill()
3669 &bss->multi_ap_backhaul_ssid.wpa_psk); in hostapd_config_fill()
3670 bss->multi_ap_backhaul_ssid.wpa_psk = in hostapd_config_fill()
[all …]
DREADME303 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
314 # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase
317 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Dctrl_iface.c1216 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
1217 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
1220 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
1505 for (psk = hapd->conf->ssid.wpa_psk; pmk && psk; psk = psk->next) { in hostapd_ctrl_iface_kick_mismatch_psk_sta_iter()
1532 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_ctrl_iface_reload_wpa_psk()
3959 src_hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_dup_param()
DChangeLog1086 containing PSKs, see hostapd.wpa_psk for an example
1166 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,