Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dap_config.c262 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
263 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
274 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
275 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
286 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
288 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
298 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
307 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
396 psk = conf->ssid.wpa_psk; in hostapd_config_free_bss()
619 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
Dwps_hostapd.c118 p->next = ssid->wpa_psk; in hostapd_wps_new_psk_cb()
119 ssid->wpa_psk = p; in hostapd_wps_new_psk_cb()
335 os_free(bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
336 bss->ssid.wpa_psk = NULL; in hapd_wps_reconfig_in_memory()
338 os_free(bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
339 bss->ssid.wpa_psk = in hapd_wps_reconfig_in_memory()
341 if (bss->ssid.wpa_psk && in hapd_wps_reconfig_in_memory()
343 bss->ssid.wpa_psk->psk, PMK_LEN) == 0) { in hapd_wps_reconfig_in_memory()
344 bss->ssid.wpa_psk->group = 1; in hapd_wps_reconfig_in_memory()
1030 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
[all …]
Dap_config.h60 struct hostapd_wpa_psk *wpa_psk; member
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c181 os_free(bss->ssid.wpa_psk); in wpa_supplicant_conf_ap()
182 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
183 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
185 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
186 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1119 bss->ssid.wpa_psk == NULL && bss->ssid.wpa_passphrase == NULL && in hostapd_config_check_bss()
2102 os_free(bss->ssid.wpa_psk); in hostapd_config_fill()
2103 bss->ssid.wpa_psk = NULL; in hostapd_config_fill()
2106 os_free(bss->ssid.wpa_psk); in hostapd_config_fill()
2107 bss->ssid.wpa_psk = in hostapd_config_fill()
2109 if (bss->ssid.wpa_psk == NULL) in hostapd_config_fill()
2111 else if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, in hostapd_config_fill()
2118 bss->ssid.wpa_psk->group = 1; in hostapd_config_fill()
DREADME321 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
332 # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase
335 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Dctrl_iface.c626 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
627 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
630 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
DChangeLog740 containing PSKs, see hostapd.wpa_psk for an example
820 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,