Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/wifi/esp32/src/
Desp_wifi_drv.c350 wifi_config_t wifi_config; in esp32_wifi_connect() local
352 memset(&wifi_config, 0, sizeof(wifi_config_t)); in esp32_wifi_connect()
354 memcpy(wifi_config.sta.ssid, params->ssid, params->ssid_length); in esp32_wifi_connect()
355 wifi_config.sta.ssid[params->ssid_length] = '\0'; in esp32_wifi_connect()
358 memcpy(wifi_config.sta.password, params->psk, params->psk_length); in esp32_wifi_connect()
359 wifi_config.sta.password[params->psk_length] = '\0'; in esp32_wifi_connect()
360 wifi_config.sta.threshold.authmode = WIFI_AUTH_WPA2_PSK; in esp32_wifi_connect()
363 wifi_config.sta.threshold.authmode = WIFI_AUTH_OPEN; in esp32_wifi_connect()
371 wifi_config.sta.channel = 0U; in esp32_wifi_connect()
374 wifi_config.sta.channel = params->channel; in esp32_wifi_connect()
[all …]