zephyr/snippets/wifi-ipv4/wifi-ipv4.conf

32 lines
619 B
Plaintext

# 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_NET_SOCKETS_POLL_MAX=9
# 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