|
|
@@ -2,15 +2,13 @@
|
|
|
menu "Wi-Fi"
|
|
|
visible if !IDF_TARGET_ESP32H2
|
|
|
|
|
|
- config WIFI_ENABLED
|
|
|
- bool "Wi-Fi"
|
|
|
- default "y" if !IDF_TARGET_ESP32H2
|
|
|
- help
|
|
|
- Select this option to enable Wi-Fi and show the submenu with Wi-Fi configuration choices.
|
|
|
+ config ESP32_WIFI_ENABLED
|
|
|
+ bool
|
|
|
+ default "y" if !IDF_TARGET_ESP32H2 # TODO: replace with SOC_CAPS_SUPPORT_WIFI after IDF-2223 is done
|
|
|
|
|
|
config ESP32_WIFI_SW_COEXIST_ENABLE
|
|
|
bool "Software controls WiFi/Bluetooth coexistence"
|
|
|
- depends on WIFI_ENABLED && BT_ENABLED
|
|
|
+ depends on BT_ENABLED
|
|
|
default y
|
|
|
help
|
|
|
If enabled, WiFi & Bluetooth coexistence is controlled by software rather than hardware.
|
|
|
@@ -21,7 +19,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_STATIC_RX_BUFFER_NUM
|
|
|
int "Max number of WiFi static RX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
range 2 25
|
|
|
default 10 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
|
|
|
default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
|
|
|
@@ -37,7 +34,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
|
|
|
int "Max number of WiFi dynamic RX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
range 0 128 if !LWIP_WND_SCALE
|
|
|
range 0 1024 if LWIP_WND_SCALE
|
|
|
default 32
|
|
|
@@ -57,7 +53,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
choice ESP32_WIFI_TX_BUFFER
|
|
|
prompt "Type of WiFi TX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default ESP32_WIFI_DYNAMIC_TX_BUFFER
|
|
|
help
|
|
|
Select type of WiFi TX buffers:
|
|
|
@@ -82,13 +77,11 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_TX_BUFFER_TYPE
|
|
|
int
|
|
|
- depends on WIFI_ENABLED
|
|
|
default 0 if ESP32_WIFI_STATIC_TX_BUFFER
|
|
|
default 1 if ESP32_WIFI_DYNAMIC_TX_BUFFER
|
|
|
|
|
|
config ESP32_WIFI_STATIC_TX_BUFFER_NUM
|
|
|
int "Max number of WiFi static TX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
depends on ESP32_WIFI_STATIC_TX_BUFFER
|
|
|
range 1 64
|
|
|
default 16
|
|
|
@@ -104,7 +97,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_CACHE_TX_BUFFER_NUM
|
|
|
int "Max number of WiFi cache TX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
depends on (ESP32_SPIRAM_SUPPORT || ESP32S2_SPIRAM_SUPPORT || ESP32S3_SPIRAM_SUPPORT)
|
|
|
range 16 128
|
|
|
default 32
|
|
|
@@ -118,7 +110,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM
|
|
|
int "Max number of WiFi dynamic TX buffers"
|
|
|
- depends on WIFI_ENABLED
|
|
|
depends on ESP32_WIFI_DYNAMIC_TX_BUFFER
|
|
|
range 1 128
|
|
|
default 32
|
|
|
@@ -133,7 +124,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_CSI_ENABLED
|
|
|
bool "WiFi CSI(Channel State Information)"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default n
|
|
|
help
|
|
|
Select this option to enable CSI(Channel State Information) feature. CSI takes about
|
|
|
@@ -142,7 +132,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_AMPDU_TX_ENABLED
|
|
|
bool "WiFi AMPDU TX"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default y
|
|
|
help
|
|
|
Select this option to enable AMPDU TX feature
|
|
|
@@ -161,7 +150,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_AMPDU_RX_ENABLED
|
|
|
bool "WiFi AMPDU RX"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default y
|
|
|
help
|
|
|
Select this option to enable AMPDU RX feature
|
|
|
@@ -182,7 +170,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_AMSDU_TX_ENABLED
|
|
|
bool "WiFi AMSDU TX"
|
|
|
- depends on WIFI_ENABLED
|
|
|
depends on (ESP32_SPIRAM_SUPPORT || ESP32S2_SPIRAM_SUPPORT || ESP32S3_SPIRAM_SUPPORT)
|
|
|
default n
|
|
|
help
|
|
|
@@ -190,13 +177,11 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_NVS_ENABLED
|
|
|
bool "WiFi NVS flash"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default y
|
|
|
help
|
|
|
Select this option to enable WiFi NVS flash
|
|
|
|
|
|
choice ESP32_WIFI_TASK_CORE_ID
|
|
|
- depends on WIFI_ENABLED
|
|
|
depends on !FREERTOS_UNICORE
|
|
|
prompt "WiFi Task Core ID"
|
|
|
default ESP32_WIFI_TASK_PINNED_TO_CORE_0
|
|
|
@@ -211,7 +196,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_SOFTAP_BEACON_MAX_LEN
|
|
|
int "Max length of WiFi SoftAP Beacon"
|
|
|
- depends on WIFI_ENABLED
|
|
|
range 752 1256
|
|
|
default 752
|
|
|
help
|
|
|
@@ -234,7 +218,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_MGMT_SBUF_NUM
|
|
|
int "WiFi mgmt short buffer number"
|
|
|
- depends on WIFI_ENABLED
|
|
|
range 6 32
|
|
|
default 32
|
|
|
help
|
|
|
@@ -242,7 +225,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_IRAM_OPT
|
|
|
bool "WiFi IRAM speed optimization"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default n if (BT_ENABLED && ESP32_SPIRAM_SUPPORT)
|
|
|
default y
|
|
|
help
|
|
|
@@ -252,7 +234,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_RX_IRAM_OPT
|
|
|
bool "WiFi RX IRAM speed optimization"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default n if (BT_ENABLED && ESP32_SPIRAM_SUPPORT)
|
|
|
default y
|
|
|
help
|
|
|
@@ -262,7 +243,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP32_WIFI_ENABLE_WPA3_SAE
|
|
|
bool "Enable WPA3-Personal"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default y
|
|
|
depends on WPA_MBEDTLS_CRYPTO
|
|
|
help
|
|
|
@@ -272,7 +252,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP_WIFI_SLP_IRAM_OPT
|
|
|
bool "WiFi SLP IRAM speed optimization"
|
|
|
- depends on WIFI_ENABLED
|
|
|
select PM_SLP_DEFAULT_PARAMS_OPT
|
|
|
help
|
|
|
Select this option to place called Wi-Fi library TBTT process and receive beacon functions in IRAM.
|
|
|
@@ -300,7 +279,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP_WIFI_FTM_ENABLE
|
|
|
bool "WiFi FTM"
|
|
|
- depends on WIFI_ENABLED
|
|
|
default n
|
|
|
depends on (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3)
|
|
|
help
|
|
|
@@ -318,7 +296,6 @@ menu "Wi-Fi"
|
|
|
|
|
|
config ESP_WIFI_STA_DISCONNECTED_PM_ENABLE
|
|
|
bool "Power Management for station at disconnected"
|
|
|
- depends on WIFI_ENABLED
|
|
|
help
|
|
|
Select this option to enable power_management for station when disconnected.
|
|
|
Chip will do modem-sleep when rf module is not in use any more.
|