sample: net: wifi: reduce timeout for ICMP probe sent by server

DHCPv4 server will probe the offered IP address (send ICMP echo request)
and wait for 1s (default) before offering the address. STA sends out DHCP
discover, but gets no response. Windows automatically assigns the network
card an IP address of 169.254.xx.xx.
So set timeout for ICMP probe sent by the server to 100ms.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
This commit is contained in:
Gang Li 2024-08-15 11:37:56 +09:00 committed by Anas Nashif
parent 6fa6c4c256
commit d3815dae43

View file

@ -55,6 +55,7 @@ CONFIG_NET_IPV4_FRAGMENT_TIMEOUT=3
CONFIG_NET_IPV6_FRAGMENT_MAX_COUNT=3
CONFIG_NET_IPV6_FRAGMENT_MAX_PKT=8
CONFIG_NET_IPV6_FRAGMENT_TIMEOUT=3
CONFIG_NET_DHCPV4_SERVER_ICMP_PROBE_TIMEOUT=100
# net threads priority
CONFIG_NET_TC_THREAD_PRIO_CUSTOM=y