Searched refs:psk_length (Results 1 – 15 of 15) sorted by relevance
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/ |
D | wifi.c | 56 .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/ |
D | main.c | 122 .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/ |
D | main.c | 124 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/ |
D | nxp_wifi_drv.c | 504 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/ |
D | esp_wifi_drv.c | 541 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/ |
D | wifi_mgmt.c | 351 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()
|
D | wifi_shell.c | 652 params->psk_length = strlen(params->psk); in __wifi_args_to_params()
|
/Zephyr-latest/tests/boards/espressif/wifi/src/ |
D | main.c | 180 params.psk_length = strlen(CONFIG_WIFI_TEST_PSK); in wifi_connect()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_core.c | 582 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/ |
D | airoc_wifi.c | 555 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/ |
D | wifi_winc1500.c | 1017 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/ |
D | esp.c | 1266 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/ |
D | simplelink_support.c | 646 secParams.KeyLen = params->psk_length; in z_simplelink_connect()
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_mgmt.h | 527 uint8_t psk_length; /* Min 8 - Max 64 */ member
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_api.c | 931 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()
|