blob: 5e51a0f6a53eebb28eae30846d63fb5d6c8feb15 [file] [log] [blame]
# Networking config
CONFIG_NETWORKING=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=y
CONFIG_NET_UDP=y
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_POSIX_MAX_FDS=10
CONFIG_NET_PKT_TX_COUNT=8
CONFIG_NET_PKT_RX_COUNT=8
CONFIG_NET_MAX_CONN=5
CONFIG_NET_SOCKETS_SERVICE=y
CONFIG_NET_SOCKETS_POLL_MAX=20
# We need to set POSIX_API and use picolibc for eventfd to work
CONFIG_POSIX_API=y
CONFIG_PICOLIBC=y
# Network driver config
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ZTEST_STACK_SIZE=1280
CONFIG_ZTEST=y
CONFIG_NET_TEST=y
CONFIG_NET_DRIVERS=y
CONFIG_NET_LOOPBACK=y
CONFIG_NET_TCP_MAX_RECV_WINDOW_SIZE=128
CONFIG_NET_TCP_TIME_WAIT_DELAY=50