2020-04-08 14:45:11 +08:00
|
|
|
CONFIG_TEST=y
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
|
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_TCP2=y
|
|
|
|
CONFIG_NET_MAX_CONN=64
|
|
|
|
CONFIG_NET_IPV6=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
|
|
|
|
CONFIG_NET_BUF=y
|
|
|
|
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
|
|
CONFIG_NET_PKT_RX_COUNT=20
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=20
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=20
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=20
|
|
|
|
|
|
|
|
CONFIG_NET_MAX_CONTEXTS=10
|
|
|
|
CONFIG_NET_LOG=y
|
2020-11-20 01:33:20 +08:00
|
|
|
CONFIG_NET_STATISTICS=y
|
2020-04-08 14:45:11 +08:00
|
|
|
|
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
CONFIG_NET_IF_MAX_IPV4_COUNT=2
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=3
|
|
|
|
CONFIG_NET_TCP_CHECKSUM=n
|
|
|
|
|
|
|
|
CONFIG_NET_IPV6_ND=n
|
|
|
|
CONFIG_NET_IPV6_DAD=n
|
|
|
|
CONFIG_NET_IPV6_NBR_CACHE=n
|
|
|
|
CONFIG_NET_IPV6_MLD=n
|
|
|
|
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
CONFIG_ZTEST_STACKSIZE=3072
|
|
|
|
|
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=8192
|
|
|
|
|
2020-04-19 23:23:39 +08:00
|
|
|
# Test purpose keep it short
|
|
|
|
CONFIG_NET_TCP_TIME_WAIT_DELAY=100
|
|
|
|
|
2020-04-08 14:45:11 +08:00
|
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
# Useful for debugging these tests
|
|
|
|
#CONFIG_NET_CONN_LOG_LEVEL_DBG=y
|
|
|
|
#CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y
|
|
|
|
#CONFIG_NET_TCP_LOG_LEVEL_DBG=y
|
|
|
|
#CONFIG_NET_IPV4_LOG_LEVEL_DBG=y
|
|
|
|
#CONFIG_NET_IPV6_LOG_LEVEL_DBG=y
|
|
|
|
#CONFIG_NET_CORE_LOG_LEVEL_DBG=y
|