From d3815dae4355531a29892abc55c75a3659074bf9 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Thu, 15 Aug 2024 11:37:56 +0900 Subject: [PATCH] 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 --- samples/net/wifi/boards/rd_rw612_bga.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/net/wifi/boards/rd_rw612_bga.conf b/samples/net/wifi/boards/rd_rw612_bga.conf index 986a289058b..f517d49e20b 100644 --- a/samples/net/wifi/boards/rd_rw612_bga.conf +++ b/samples/net/wifi/boards/rd_rw612_bga.conf @@ -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