mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-08-31 14:20:12 +00:00
Increase TCP retransmit time to 1500ms
TCP TX throughput is low when coexisted with BT a2dp if TCP retransmit time is 500ms
This commit is contained in:
+2
-2
@@ -1715,8 +1715,8 @@ tcp_alloc(u8_t prio)
|
||||
/* As initial send MSS, we use TCP_MSS but limit it to 536.
|
||||
The send MSS is updated when an MSS option is received. */
|
||||
pcb->mss = INITIAL_MSS;
|
||||
pcb->rto = 500 / TCP_SLOW_INTERVAL;
|
||||
pcb->sv = 500 / TCP_SLOW_INTERVAL;
|
||||
pcb->rto = 1500 / TCP_SLOW_INTERVAL;
|
||||
pcb->sv = 1500 / TCP_SLOW_INTERVAL;
|
||||
pcb->rtime = -1;
|
||||
pcb->cwnd = 1;
|
||||
pcb->tmr = tcp_ticks;
|
||||
|
||||
Reference in New Issue
Block a user