nuttx/Documentation/components/net
zhekunren 078782846e
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
net/tcp: add configurable delayed ACK threshold
The delayed ACK logic previously sent an ACK for at least every second
received segment (hard-coded threshold of 2 per RFC 1122).  Add the
NET_TCP_ACK_FREQUENCY Kconfig option (range 1-255, default 2) to make
this threshold configurable at build time.

The delayed ACK timer still forces an ACK after at most 0.5 seconds, so
RFC 1122 timing compliance is preserved regardless of the configured
threshold.  The default value of 2 keeps the exact current behavior:
the new condition rx_unackseg >= FREQ - 1 is equivalent to the previous
rx_unackseg > 0, and the counter increment degenerates to the previous
rx_unackseg = 1 assignment.

Signed-off-by: zhekunren <zhekunren@qq.com>
Assisted-by: GLM-5.2 <noreply@z.ai>
2026-09-08 09:00:19 +08:00
..
delay_act_and_tcp_perf.rst net/tcp: add configurable delayed ACK threshold 2026-09-08 09:00:19 +08:00
index.rst
ipfilter.rst
mdio.rst
nat.rst net/nat: Update NAT rst documentation. 2026-04-29 09:17:55 -03:00
netdev.rst
netdriver.rst Documentation/net: document lower-half driver performance tuning 2026-07-13 11:53:26 +02:00
netguardsize.rst
netlink.rst
pkt.rst
sixlowpan.rst
slip.rst
socketcan.rst
tcp_network_perf.rst Documentaiton: net: tcp_network_perf: Add performance tips 2026-05-29 11:42:36 +02:00
tcp_state_machine.rst
wqueuedeadlocks.rst