|
5 | 5 | int "Max number of WiFi static RX buffers"
|
6 | 6 | range 2 25 if !SLAVE_SOC_WIFI_HE_SUPPORT
|
7 | 7 | 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) |
10 | 10 | help
|
11 | 11 | Set the number of WiFi static RX buffers. Each buffer takes approximately 1.6KB of RAM.
|
12 | 12 | The static rx buffers are allocated when esp_wifi_init is called, they are not freed
|
|
57 | 57 | bool "Static"
|
58 | 58 | config ESP_WIFI_DYNAMIC_TX_BUFFER
|
59 | 59 | bool "Dynamic"
|
60 |
| - depends on !SPIRAM_USE_MALLOC |
| 60 | + depends on !(SPIRAM_TRY_ALLOCATE_WIFI_LWIP && !SPIRAM_IGNORE_NOTFOUND) |
61 | 61 | endchoice
|
62 | 62 |
|
63 | 63 | config ESP_WIFI_TX_BUFFER_TYPE
|
|
82 | 82 |
|
83 | 83 | config ESP_WIFI_CACHE_TX_BUFFER_NUM
|
84 | 84 | 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 |
87 | 87 | default 32
|
88 | 88 | help
|
89 | 89 | Set the number of WiFi cache TX buffer number.
|
|
180 | 180 | depends on ESP_WIFI_AMPDU_RX_ENABLED
|
181 | 181 | range 2 32 if !SLAVE_SOC_WIFI_HE_SUPPORT
|
182 | 182 | 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) |
185 | 185 | help
|
186 | 186 | Set the size of WiFi Block Ack RX window. Generally a bigger value means higher throughput and better
|
187 | 187 | compatibility but more memory. Most of time we should NOT change the default value unless special
|
|
192 | 192 |
|
193 | 193 | config ESP_WIFI_AMSDU_TX_ENABLED
|
194 | 194 | bool "WiFi AMSDU TX"
|
195 |
| - depends on SPIRAM |
| 195 | + depends on (ESP_WIFI_CACHE_TX_BUFFER_NUM >= 2) |
196 | 196 | default n
|
197 | 197 | help
|
198 | 198 | Select this option to enable AMSDU TX feature
|
|
0 commit comments