Home
last modified time | relevance | path

Searched refs:psk_length (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/
Dwifi.c56 .psk_length = 0, in wifi_connect()
62 cnx_params.psk_length = strlen(CONFIG_TAGOIO_HTTP_WIFI_PSK); in wifi_connect()
/Zephyr-latest/samples/subsys/mgmt/updatehub/src/
Dmain.c122 .psk_length = 0, in main()
128 cnx_params.psk_length = strlen(CONFIG_UPDATEHUB_SAMPLE_WIFI_PSK); in main()
/Zephyr-latest/samples/net/wifi/apsta_mode/src/
Dmain.c124 ap_config.psk_length = strlen(WIFI_AP_PSK); in enable_ap_mode()
156 sta_config.psk_length = strlen(WIFI_PSK); in connect_to_wifi()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c504 nxp_wlan_uap_network.security.psk_len = params->psk_length; in nxp_wifi_start_ap()
505 strncpy(nxp_wlan_uap_network.security.psk, params->psk, params->psk_length); in nxp_wifi_start_ap()
511 nxp_wlan_uap_network.security.psk_len = params->psk_length; in nxp_wifi_start_ap()
512 strncpy(nxp_wlan_uap_network.security.psk, params->psk, params->psk_length); in nxp_wifi_start_ap()
517 nxp_wlan_uap_network.security.password_len = params->psk_length; in nxp_wifi_start_ap()
519 params->psk_length); in nxp_wifi_start_ap()
900 nxp_wlan_network.security.psk_len = params->psk_length; in nxp_wifi_connect()
901 strncpy(nxp_wlan_network.security.psk, params->psk, params->psk_length); in nxp_wifi_connect()
907 nxp_wlan_network.security.psk_len = params->psk_length; in nxp_wifi_connect()
908 strncpy(nxp_wlan_network.security.psk, params->psk, params->psk_length); in nxp_wifi_connect()
[all …]
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c541 memcpy(wifi_config.sta.password, params->psk, params->psk_length); in esp32_wifi_connect()
542 wifi_config.sta.password[params->psk_length] = '\0'; in esp32_wifi_connect()
554 memcpy(wifi_config.sta.password, params->psk, params->psk_length); in esp32_wifi_connect()
555 wifi_config.sta.password[params->psk_length] = '\0'; in esp32_wifi_connect()
676 strncpy((char *) wifi_config.ap.password, params->psk, params->psk_length); in esp32_wifi_ap_enable()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c351 LOG_HEXDUMP_DBG(params->psk, params->psk_length, "psk"); in wifi_connect()
364 ((params->psk_length < 8) || (params->psk_length > 64) || in wifi_connect()
365 (params->psk_length == 0U) || !params->psk)) || in wifi_connect()
369 ((params->psk_length == 0U) || !params->psk) && in wifi_connect()
1354 params->psk_length = creds->password_len; in __stored_creds_to_params()
Dwifi_shell.c652 params->psk_length = strlen(params->psk); in __wifi_args_to_params()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c180 params.psk_length = strlen(CONFIG_WIFI_TEST_PSK); in wifi_connect()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c582 memcpy(eswifi->sta.pass, params->psk, params->psk_length); in __eswifi_sta_config()
583 eswifi->sta.pass[params->psk_length] = '\0'; in __eswifi_sta_config()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c555 params->psk_length) != WHD_SUCCESS) { in airoc_mgmt_connect()
680 params->psk_length, channel) != 0) { in airoc_mgmt_ap_enable()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c1017 memcpy(psk.au8PSK, params->psk, params->psk_length); in winc1500_mgmt_connect()
1018 psk.au8PSK[params->psk_length] = '\0'; in winc1500_mgmt_connect()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c1266 params->psk, params->psk_length); in esp_mgmt_connect()
1312 memcpy(&cmd[len], params->psk, params->psk_length); in esp_mgmt_ap_enable()
1313 len += params->psk_length; in esp_mgmt_ap_enable()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_support.c646 secParams.KeyLen = params->psk_length; in z_simplelink_connect()
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h527 uint8_t psk_length; /* Min 8 - Max 64 */ member
/Zephyr-latest/modules/hostap/src/
Dsupp_api.c931 if ((params->psk_length < WIFI_PSK_MIN_LEN) || in wpas_add_and_config_network()
932 (params->psk_length > WIFI_PSK_MAX_LEN)) { in wpas_add_and_config_network()
939 psk_null_terminated[params->psk_length] = '\0'; in wpas_add_and_config_network()