From c51da7c24c5ee430d2c9461c858f7337f36cb06b Mon Sep 17 00:00:00 2001 From: Xue yun fei Date: Wed, 13 Dec 2023 16:51:20 +0800 Subject: [PATCH] optimize(lwip):when psram is enable the number of ooseq is not limited --- components/lwip/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 5f3de77bc2..145f0ed682 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -545,7 +545,8 @@ menu "LWIP" int "The maximum number of pbufs queued on OOSEQ per pcb" depends on LWIP_TCP_QUEUE_OOSEQ range 0 12 - default 4 + default 4 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP + default 0 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP help If LWIP_TCP_OOSEQ_MAX_PBUFS = 0, TCP will not control the number of OOSEQ pbufs.