1# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. 2# SPDX-License-Identifier: Apache-2.0 3 4mainmenu "Wi-Fi Test" 5 6source "Kconfig.zephyr" 7 8config WIFI_TEST_ENABLE 9 bool "Enable Wi-Fi test" 10 default y 11 select WIFI 12 select WIFI_USE_NATIVE_NETWORKING 13 14config WIFI_TEST_SSID 15 string "Wi-Fi Test SSID" 16 default "TestSSID" 17 help 18 This option sets the SSID of the Wi-Fi network for testing. 19 It allows you to specify the Wi-Fi SSID that the device will 20 use during test scenarios. 21 22config WIFI_TEST_PSK 23 string "Wi-Fi Test PSK" 24 default "TestPSK" 25 help 26 This option sets the Pre-Shared Key (PSK) for the Wi-Fi network 27 during test scenarios. The device will use this password to authenticate 28 with the specified test SSID. 29 30config WIFI_TEST_AUTH_MODE_WPA2 31 bool "WPA2 Security" 32 help 33 Option to use WPA2 Security for Wi-Fi connections. 34 35config WIFI_TEST_AUTH_MODE_WPA3 36 bool "WPA3 Security" 37 select ESP_WIFI_ENABLE_WPA3_SAE 38 help 39 Option to use WPA3 Security for Wi-Fi connections. 40 41config WIFI_CONNECT_ATTEMPTS 42 int "Wi-Fi Connect Attempts" 43 default 5 44 help 45 Number of attempts when connecting to a Wi-Fi network. 46 If connection is not successful after all attempts, test will fail. 47 48config WIFI_PING_ATTEMPTS 49 int "Wi-Fi Ping Attempts" 50 default 5 51 help 52 Number of gateway ping attempts. 53 If timeout happens in all attempts, test will fail. 54 55config WIFI_SCAN_TIMEOUT 56 int "Wi-Fi Scan Timeout (in seconds)" 57 default 30 58 help 59 Timeout duration for Wi-Fi scanning. 60 If scan doesn't complete within this time, test will fail. 61 62config WIFI_CONNECT_TIMEOUT 63 int "Wi-Fi Connect Timeout (in seconds)" 64 default 60 65 help 66 Timeout duration for connecting to Wi-Fi network. 67 If connection is not established within this time, test will fail. 68 69config WIFI_DISCONNECT_TIMEOUT 70 int "Wi-Fi Disconnect Timeout (in seconds)" 71 default 5 72 help 73 Timeout duration for disconnecting from Wi-Fi network. 74 If disconnect doesn't complete within this time, test will fail. 75 76config WIFI_PING_TIMEOUT 77 int "Gateway Ping Timeout (in seconds)" 78 default 5 79 help 80 Timeout duration for pinging the network gateway. 81 If no reply is received within this time, test will fail. 82