From c392dad1dceccde1452ffd2c899313fa32488494 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 14e3d48464..c3cd48e5ae 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -639,7 +639,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.