From a55db686b9dd32694f761a39c022903cc6ad486d Mon Sep 17 00:00:00 2001 From: ronghulin Date: Thu, 29 Oct 2020 11:15:53 +0800 Subject: [PATCH] bugfix: fix TCP timer interval --- components/lwip/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 8aba15298b..4dea01dda4 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -359,7 +359,7 @@ menu "LWIP" help Speed up the TCP retransmission interval. If disabled, it is recommended to change the number of SYN retransmissions to 6, - TCP timer interval to 250, and TCP rto time to 3000. + and TCP initial rto time to 3000. config LWIP_TCP_MAXRTX int "Maximum number of retransmissions of data segments" @@ -389,8 +389,7 @@ menu "LWIP" config LWIP_TCP_TMR_INTERVAL int "TCP timer interval(ms)" - default 250 if !LWIP_TCP_HIGH_SPEED_RETRANSMISSION - default 125 if LWIP_TCP_HIGH_SPEED_RETRANSMISSION + default 250 help Set TCP timer interval in milliseconds.