Add config option for LWIP TCP_TMR_INTERVAL

Merges https://github.com/espressif/esp-idf/pull/4213
This commit is contained in:
Josu Goñi 2019-10-18 14:37:38 +02:00 committed by suda-morris
parent 9e2f44b3c2
commit 65d18eab93
2 changed files with 13 additions and 0 deletions

View file

@ -326,6 +326,14 @@ menu "LWIP"
IPv4 TCP_MSS Range: 576 <= TCP_MSS <= 1460
IPv6 TCP_MSS Range: 1220<= TCP_mSS <= 1440
config TCP_TMR_INTERVAL
int "TCP timer interval"
default 250
help
Set TCP timer interval in milliseconds.
Can be used to speed connections on bad networks. A lower value will redeliver unacked packets faster.
config LWIP_TCP_MSL
int "Maximum segment lifetime (MSL)"
default 60000

View file

@ -325,6 +325,11 @@
*/
#define TCP_MSS CONFIG_LWIP_TCP_MSS
/**
* TCP_TMR_INTERVAL: TCP timer interval
*/
#define TCP_TMR_INTERVAL CONFIG_TCP_TMR_INTERVAL
/**
* TCP_MSL: The maximum segment lifetime in milliseconds
*/