feat(lwip): make LWIP TCP rto time configurable
This commit is contained in:
parent
07942e3991
commit
e5066c9969
3 changed files with 14 additions and 1 deletions
|
@ -451,6 +451,13 @@ menu "LWIP"
|
||||||
help
|
help
|
||||||
Enable this feature to support TCP window scaling.
|
Enable this feature to support TCP window scaling.
|
||||||
|
|
||||||
|
config LWIP_TCP_RTO_TIME
|
||||||
|
int "Default TCP rto time"
|
||||||
|
default 3000
|
||||||
|
help
|
||||||
|
Set default TCP rto time for a reasonable initial rto.
|
||||||
|
In bad network environment, recommend set value of rto time to 1500.
|
||||||
|
|
||||||
endmenu # TCP
|
endmenu # TCP
|
||||||
|
|
||||||
menu "UDP"
|
menu "UDP"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 453b291c4c0752e05b585a62d32d8bb23e1538d7
|
Subproject commit f02243aa5f04f6e453e83ecad4700691b9f919d0
|
|
@ -376,6 +376,12 @@
|
||||||
#define TCP_RCV_SCALE CONFIG_TCP_RCV_SCALE
|
#define TCP_RCV_SCALE CONFIG_TCP_RCV_SCALE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_TCP_RTO_TIME: TCP rto time.
|
||||||
|
* Default is 3 second.
|
||||||
|
*/
|
||||||
|
#define LWIP_TCP_RTO_TIME CONFIG_LWIP_TCP_RTO_TIME
|
||||||
|
|
||||||
/*
|
/*
|
||||||
----------------------------------
|
----------------------------------
|
||||||
---------- Pbuf options ----------
|
---------- Pbuf options ----------
|
||||||
|
|
Loading…
Reference in a new issue