Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 1 | # |
| 2 | # Network configuration (with lwIP stack) |
| 3 | # |
| 4 | |
| 5 | if NET_LWIP |
| 6 | |
| 7 | config LWIP_DEBUG |
| 8 | bool "Enable debug traces in the lwIP library" |
| 9 | |
| 10 | config LWIP_ASSERT |
| 11 | bool "Enable assertions in the lwIP library" |
| 12 | |
| 13 | config PROT_DHCP_LWIP |
| 14 | bool |
| 15 | select PROT_UDP_LWIP |
| 16 | |
| 17 | config PROT_DNS_LWIP |
| 18 | bool |
| 19 | select PROT_UDP_LWIP |
| 20 | |
| 21 | config PROT_RAW_LWIP |
| 22 | bool |
| 23 | |
| 24 | config PROT_TCP_LWIP |
| 25 | bool |
| 26 | |
| 27 | config PROT_TCP_SACK_LWIP |
| 28 | bool "TCP SACK support" |
| 29 | depends on PROT_TCP_LWIP |
| 30 | default y |
| 31 | help |
| 32 | TCP protocol with selective acknowledgements. Improves |
| 33 | file transfer speed in wget. |
| 34 | |
| 35 | config PROT_UDP_LWIP |
| 36 | bool |
| 37 | |
| 38 | config LWIP_TCP_WND |
| 39 | int "Value of TCP_WND" |
| 40 | default 8000 if ARCH_QEMU |
| 41 | default 3000000 |
| 42 | help |
| 43 | Default value for TCP_WND in the lwIP configuration |
| 44 | Lower values result in slower wget transfer speeds in |
| 45 | general, especially when the latency on the network is high, |
| 46 | but QEMU with "-net user" needs no more than a few KB or the |
| 47 | transfer will stall and eventually time out. |
| 48 | |
| 49 | endif # NET_LWIP |