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" |
Jerome Forissier | 7b38e31 | 2024-11-12 16:44:29 +0100 | [diff] [blame^] | 9 | help |
| 10 | Prints messages to the console regarding network packets that go in |
| 11 | and out of the lwIP library. |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 12 | |
| 13 | config LWIP_ASSERT |
| 14 | bool "Enable assertions in the lwIP library" |
Jerome Forissier | 7b38e31 | 2024-11-12 16:44:29 +0100 | [diff] [blame^] | 15 | help |
| 16 | Compiles additional error checking code into the lwIP library. These |
| 17 | checks are related to conditions that should not happen in typical |
| 18 | use, but may be helpful to debug new features. |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 19 | |
| 20 | config PROT_DHCP_LWIP |
| 21 | bool |
| 22 | select PROT_UDP_LWIP |
| 23 | |
| 24 | config PROT_DNS_LWIP |
| 25 | bool |
| 26 | select PROT_UDP_LWIP |
| 27 | |
| 28 | config PROT_RAW_LWIP |
| 29 | bool |
| 30 | |
| 31 | config PROT_TCP_LWIP |
| 32 | bool |
| 33 | |
| 34 | config PROT_TCP_SACK_LWIP |
| 35 | bool "TCP SACK support" |
| 36 | depends on PROT_TCP_LWIP |
| 37 | default y |
| 38 | help |
| 39 | TCP protocol with selective acknowledgements. Improves |
| 40 | file transfer speed in wget. |
| 41 | |
| 42 | config PROT_UDP_LWIP |
| 43 | bool |
| 44 | |
| 45 | config LWIP_TCP_WND |
| 46 | int "Value of TCP_WND" |
Ilias Apalodimas | 99618ca | 2024-11-10 10:28:40 +0200 | [diff] [blame] | 47 | default 32768 if ARCH_QEMU |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 48 | default 3000000 |
| 49 | help |
| 50 | Default value for TCP_WND in the lwIP configuration |
| 51 | Lower values result in slower wget transfer speeds in |
| 52 | general, especially when the latency on the network is high, |
| 53 | but QEMU with "-net user" needs no more than a few KB or the |
| 54 | transfer will stall and eventually time out. |
| 55 | |
| 56 | endif # NET_LWIP |