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 net/tcp: add support for the CLOSE_WAIT state 2025-12-27 21:06:23 +08:00
ipfilter.rst Documentation: Add docs for ipfilter 2024-06-20 09:43:05 +08:00
mdio.rst net/mdio: add mdio bus 2025-09-25 16:24:18 +08:00
nat.rst net/nat: Update NAT rst documentation. 2026-04-29 09:17:55 -03:00
netdev.rst netdev: delete macro CONFIG_NETDEV_CHECKSUM with nuttx 2026-01-19 23:22:46 +08:00
netdriver.rst Documentation/net: document lower-half driver performance tuning 2026-07-13 11:53:26 +02:00
netguardsize.rst Documentation: migrate "CONFIG_NET_GUARDSIZE" from wiki 2023-11-06 18:42:17 -03:00
netlink.rst net/netlink: Add doc for netlink route 2024-05-14 10:05:37 -03:00
pkt.rst net/packet: add PACKET_<ADD|DROP>_MEMBERSHIP support 2025-12-25 10:01:43 +08:00
sixlowpan.rst Documentation: cosmetics changes 2023-10-26 20:01:21 +08:00
slip.rst style: fix typos 2025-04-30 13:45:46 +08:00
socketcan.rst net/can: add write buffer to support nonblock send 2025-12-15 10:19:15 +08:00
tcp_network_perf.rst Documentaiton: net: tcp_network_perf: Add performance tips 2026-05-29 11:42:36 +02:00
tcp_state_machine.rst net/tcp: support recv packet in the TCP_FIN_WAIT_1/2 state 2025-12-29 19:22:23 +08:00
wqueuedeadlocks.rst Documentation: Fix various typos 2023-11-23 16:38:19 -08:00