@@ -28,8 +28,8 @@ menu "Wi-Fi"
2828 int "Max number of WiFi static RX buffers"
2929 range 2 25 if !SOC_WIFI_HE_SUPPORT
3030 range 2 128 if SOC_WIFI_HE_SUPPORT
31- default 10 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
32- default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
31+ default 10 if !( SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
32+ default 16 if ( SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
3333 help
3434 Set the number of WiFi static RX buffers. Each buffer takes approximately 1.6KB of RAM.
3535 The static rx buffers are allocated when esp_wifi_init is called, they are not freed
@@ -80,7 +80,7 @@ menu "Wi-Fi"
8080 bool "Static"
8181 config ESP_WIFI_DYNAMIC_TX_BUFFER
8282 bool "Dynamic"
83- depends on !SPIRAM_USE_MALLOC
83+ depends on !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
8484 endchoice
8585
8686 config ESP_WIFI_TX_BUFFER_TYPE
@@ -105,8 +105,8 @@ menu "Wi-Fi"
105105
106106 config ESP_WIFI_CACHE_TX_BUFFER_NUM
107107 int "Max number of WiFi cache TX buffers"
108- depends on SPIRAM
109- range 16 128
108+ depends on (SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
109+ range 0 128
110110 default 32
111111 help
112112 Set the number of WiFi cache TX buffer number.
@@ -203,8 +203,8 @@ menu "Wi-Fi"
203203 depends on ESP_WIFI_AMPDU_RX_ENABLED
204204 range 2 32 if !SOC_WIFI_HE_SUPPORT
205205 range 2 64 if SOC_WIFI_HE_SUPPORT
206- default 6 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
207- default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
206+ default 6 if !( SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
207+ default 16 if ( SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND)
208208 help
209209 Set the size of WiFi Block Ack RX window. Generally a bigger value means higher throughput and better
210210 compatibility but more memory. Most of time we should NOT change the default value unless special
@@ -215,7 +215,7 @@ menu "Wi-Fi"
215215
216216 config ESP_WIFI_AMSDU_TX_ENABLED
217217 bool "WiFi AMSDU TX"
218- depends on SPIRAM
218+ depends on (ESP_WIFI_CACHE_TX_BUFFER_NUM >= 2)
219219 default n
220220 help
221221 Select this option to enable AMSDU TX feature
0 commit comments