Searched refs:wifi_config (Results 1 – 1 of 1) sorted by relevance
528 wifi_config_t wifi_config; in esp32_wifi_connect() local530 memset(&wifi_config, 0, sizeof(wifi_config_t)); in esp32_wifi_connect()532 memcpy(wifi_config.sta.ssid, params->ssid, params->ssid_length); in esp32_wifi_connect()533 wifi_config.sta.ssid[params->ssid_length] = '\0'; in esp32_wifi_connect()536 wifi_config.sta.threshold.authmode = WIFI_AUTH_OPEN; in esp32_wifi_connect()538 wifi_config.sta.pmf_cfg.required = false; in esp32_wifi_connect()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()543 wifi_config.sta.threshold.authmode = WIFI_AUTH_WPA2_PSK; in esp32_wifi_connect()544 wifi_config.sta.pmf_cfg.required = false; in esp32_wifi_connect()[all …]