From 2fea76d52f18c553eae2bb6a06bdb309abcaada6 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 14 Nov 2024 11:35:02 +0100 Subject: [PATCH] fix(kconfig): Update v5.4 per espressif/esp-idf@e65acc95109 --- .../esp_wifi_remote/idf_v5.4/Kconfig.wifi.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/esp_wifi_remote/idf_v5.4/Kconfig.wifi.in b/components/esp_wifi_remote/idf_v5.4/Kconfig.wifi.in index d82c6aa..06c9b9c 100644 --- a/components/esp_wifi_remote/idf_v5.4/Kconfig.wifi.in +++ b/components/esp_wifi_remote/idf_v5.4/Kconfig.wifi.in @@ -5,8 +5,8 @@ int "Max number of WiFi static RX buffers" range 2 25 if !SLAVE_SOC_WIFI_HE_SUPPORT range 2 128 if SLAVE_SOC_WIFI_HE_SUPPORT - default 10 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP - default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP + default 10 if !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) + default 16 if (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) help Set the number of WiFi static RX buffers. Each buffer takes approximately 1.6KB of RAM. The static rx buffers are allocated when esp_wifi_init is called, they are not freed @@ -57,7 +57,7 @@ bool "Static" config ESP_WIFI_DYNAMIC_TX_BUFFER bool "Dynamic" - depends on !SPIRAM_USE_MALLOC + depends on !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) endchoice config ESP_WIFI_TX_BUFFER_TYPE @@ -82,8 +82,8 @@ config ESP_WIFI_CACHE_TX_BUFFER_NUM int "Max number of WiFi cache TX buffers" - depends on SPIRAM - range 16 128 + depends on (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) + range 0 128 default 32 help Set the number of WiFi cache TX buffer number. @@ -180,8 +180,8 @@ depends on ESP_WIFI_AMPDU_RX_ENABLED range 2 32 if !SLAVE_SOC_WIFI_HE_SUPPORT range 2 64 if SLAVE_SOC_WIFI_HE_SUPPORT - default 6 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP - default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP + default 6 if !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) + default 16 if (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) help Set the size of WiFi Block Ack RX window. Generally a bigger value means higher throughput and better compatibility but more memory. Most of time we should NOT change the default value unless special @@ -192,7 +192,7 @@ config ESP_WIFI_AMSDU_TX_ENABLED bool "WiFi AMSDU TX" - depends on SPIRAM + depends on (ESP_WIFI_CACHE_TX_BUFFER_NUM >= 2) default n help Select this option to enable AMSDU TX feature