From 965c1da3e033d9da5dcae8fa0d56d8ac805acb9c 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 445c91c29e..92f12e8263 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -661,7 +661,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.