mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 01:00:12 +00:00
Rework the Ameba WHC WiFi driver from the legacy flat net_driver_s model to the netdev lower-half framework (netdev_lowerhalf_s + netdev_ops_s with .transmit/.receive, IOB-based quota backpressure and a dedicated NETDEV_RX_THREAD). This provides real TX backpressure and moves RX off the IPC callback onto a bounded rx queue. Raise the host TX skb pool (skb_num_ap) to a minimum of 16. The SDK default of 4 is too small for sustained TCP TX: the host send runs out of buffers (-2), which exhausts retransmits and tears the connection down. Enable CONFIG_NET_TCP_SELECTIVE_ACK (which selects OUT_OF_ORDER) in both board defconfigs. WiFi's occasional loss otherwise stalls TCP RX on RTO timeouts (~2 Mbit/s); with SACK + out-of-order queuing RX recovers to ~12-13 Mbit/s. Signed-off-by: raul_chen <raul_chen@realsil.com.cn> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||