When using this snippet with Zperf a boot warning is seen, fix the warning by increasing the sockets. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
31 lines
613 B
Text
31 lines
613 B
Text
# Wi-Fi
|
|
CONFIG_WIFI=y
|
|
CONFIG_NET_L2_ETHERNET=y
|
|
CONFIG_WIFI_NM_WPA_SUPPLICANT=y
|
|
|
|
# Make sure there is enough resources for supplicant and most of the samples
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZVFS_OPEN_MAX=24
|
|
CONFIG_NET_MAX_CONN=10
|
|
CONFIG_ZVFS_POLL_MAX=10
|
|
|
|
# IPv4 only for now
|
|
CONFIG_NET_IPV6=n
|
|
CONFIG_NET_CONFIG_NEED_IPV6=n
|
|
CONFIG_NET_IPV4=y
|
|
|
|
# DHCPv4
|
|
CONFIG_NET_DHCPV4=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
|
|
CONFIG_NET_CONFIG_INIT_TIMEOUT=0
|
|
|
|
# DNS
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
# Connection manager
|
|
CONFIG_NET_CONNECTION_MANAGER=y
|
|
|
|
# Wi-Fi shell
|
|
CONFIG_NET_SHELL=y
|
|
CONFIG_NET_L2_WIFI_SHELL=y
|
|
CONFIG_SHELL_STACK_SIZE=5200
|