Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dap_config.c296 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
297 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
308 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
309 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
320 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
322 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
332 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
341 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
460 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_config_free_bss()
752 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
[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()
363 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
365 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
366 bss->ssid.wpa_psk = in hapd_wps_reconfig_in_memory()
368 if (bss->ssid.wpa_psk && in hapd_wps_reconfig_in_memory()
370 bss->ssid.wpa_psk->psk, PMK_LEN) == 0) { in hapd_wps_reconfig_in_memory()
371 bss->ssid.wpa_psk->group = 1; in hapd_wps_reconfig_in_memory()
1103 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
1108 conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
[all …]
Dap_config.h97 struct hostapd_wpa_psk *wpa_psk; member
Dhostapd.c87 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && in hostapd_reload_bss()
93 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
/external/syslinux/gpxe/src/config/
Dconfig_net80211.c48 REQUIRE_OBJECT ( wpa_psk );
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c305 bin_clear_free(bss->ssid.wpa_psk, sizeof(*bss->ssid.wpa_psk)); in wpa_supplicant_conf_ap()
306 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
307 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
309 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
310 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
Dp2p_supplicant.c1704 hpsk->next = hapd->conf->ssid.wpa_psk; in wpas_p2p_add_psk_list()
1705 hapd->conf->ssid.wpa_psk = hpsk; in wpas_p2p_add_psk_list()
8051 psk = hapd->conf->ssid.wpa_psk; in wpas_p2p_remove_client_go()
8062 hapd->conf->ssid.wpa_psk = psk->next; in wpas_p2p_remove_client_go()
/external/wpa_supplicant_8/hostapd/
DREADME315 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
326 # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase
329 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Dconfig_file.c2524 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2528 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2529 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_config_fill()
2530 if (bss->ssid.wpa_psk == NULL) in hostapd_config_fill()
2532 if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, PMK_LEN) || in hostapd_config_fill()
2536 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2539 bss->ssid.wpa_psk->group = 1; in hostapd_config_fill()
Dctrl_iface.c1239 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
1240 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
1243 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
3301 src_hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_dup_param()
DChangeLog1031 containing PSKs, see hostapd.wpa_psk for an example
1111 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,