Skip to content

Commit a01226f

Browse files
committed
fix(wifi_remote): Update per v5.3 espressif/esp-idf@da39fcebc48
1 parent 6ceb3e4 commit a01226f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

components/esp_wifi_remote/idf_v5.3/Kconfig.wifi.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
int "Max number of WiFi static RX buffers"
66
range 2 25 if !SLAVE_SOC_WIFI_HE_SUPPORT
77
range 2 128 if SLAVE_SOC_WIFI_HE_SUPPORT
8-
default 10 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
9-
default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
8+
default 10 if !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
9+
default 16 if (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
1010
help
1111
Set the number of WiFi static RX buffers. Each buffer takes approximately 1.6KB of RAM.
1212
The static rx buffers are allocated when esp_wifi_init is called, they are not freed
@@ -57,7 +57,7 @@
5757
bool "Static"
5858
config ESP_WIFI_DYNAMIC_TX_BUFFER
5959
bool "Dynamic"
60-
depends on !SPIRAM_USE_MALLOC
60+
depends on !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
6161
endchoice
6262

6363
config ESP_WIFI_TX_BUFFER_TYPE
@@ -82,8 +82,8 @@
8282

8383
config ESP_WIFI_CACHE_TX_BUFFER_NUM
8484
int "Max number of WiFi cache TX buffers"
85-
depends on SPIRAM
86-
range 16 128
85+
depends on (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
86+
range 0 128
8787
default 32
8888
help
8989
Set the number of WiFi cache TX buffer number.
@@ -180,8 +180,8 @@
180180
depends on ESP_WIFI_AMPDU_RX_ENABLED
181181
range 2 32 if !SLAVE_SOC_WIFI_HE_SUPPORT
182182
range 2 64 if SLAVE_SOC_WIFI_HE_SUPPORT
183-
default 6 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
184-
default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
183+
default 6 if !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
184+
default 16 if (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
185185
help
186186
Set the size of WiFi Block Ack RX window. Generally a bigger value means higher throughput and better
187187
compatibility but more memory. Most of time we should NOT change the default value unless special
@@ -192,7 +192,7 @@
192192

193193
config ESP_WIFI_AMSDU_TX_ENABLED
194194
bool "WiFi AMSDU TX"
195-
depends on SPIRAM
195+
depends on (ESP_WIFI_CACHE_TX_BUFFER_NUM >= 2)
196196
default n
197197
help
198198
Select this option to enable AMSDU TX feature

0 commit comments

Comments
 (0)