tests: net: all: Add more options to catch-all test
Add more Kconfig options to prj.conf file. In the future we need to compile also in other hw than qemu_x86 in which case we need to create separate test cases for those configurations. Fixes #15282 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
8e307a3ad9
commit
fcf392c6c8
11
tests/net/all/README.txt
Normal file
11
tests/net/all/README.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
This test tries to enable all possible networking related config options
|
||||
and build a sample application. The application is not supposed to be run
|
||||
as typically the generated configuration is not usable.
|
||||
|
||||
The check_net_options.sh script can be used in Linux host to generate
|
||||
a list of missing network related kconfig options from prj.conf file.
|
||||
|
||||
TODO:
|
||||
|
||||
* separate conflicting configuration options and create new test cases
|
||||
for them
|
46
tests/net/all/check_net_options.sh
Executable file
46
tests/net/all/check_net_options.sh
Executable file
|
@ -0,0 +1,46 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2019 Intel Corporation.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <doc build directory>"
|
||||
echo
|
||||
echo "The parameter needs to point to a directory where Zephyr html"
|
||||
echo "documentation is generated."
|
||||
echo "Typically this is $ZEPHYR_BASE/doc/_build"
|
||||
echo
|
||||
echo "This script will generate a list of networking related Kconfig options"
|
||||
echo "that are missing from prj.conf file."
|
||||
exit
|
||||
fi
|
||||
|
||||
BUILD_DIR="$1"
|
||||
|
||||
if [ ! -d $BUILD_DIR ]; then
|
||||
echo "Directory $BUILD_DIR not found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
KCONFIG_DIR=$BUILD_DIR/rst/doc/reference/kconfig
|
||||
|
||||
if [ ! -d $KCONFIG_DIR ]; then
|
||||
echo "Kconfig documentation not found at $KCONFIG_DIR"
|
||||
exit
|
||||
fi
|
||||
|
||||
get_options()
|
||||
{
|
||||
cd $KCONFIG_DIR; ls CONFIG_DNS* CONFIG_NET* CONFIG_IEEE802154* | sed 's/\.rst//g'
|
||||
}
|
||||
|
||||
get_options | while read opt
|
||||
do
|
||||
grep -q $opt prj.conf > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "$opt"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Total number of options : `get_options | wc -w`" > /dev/tty
|
|
@ -3,24 +3,62 @@
|
|||
# just randomly selected, do not use the values in your real life
|
||||
# applications.
|
||||
|
||||
# Generic options that are useful to be active
|
||||
# Generic options that are useful or need to be active
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_MAX_THREAD_BYTES=4
|
||||
|
||||
# net_buf options
|
||||
# TLS configuration
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_MBEDTLS_BUILTIN=y
|
||||
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
||||
CONFIG_MBEDTLS_HEAP_SIZE=60000
|
||||
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
|
||||
|
||||
# net_buf/pkt options
|
||||
CONFIG_NET_BUF=y
|
||||
CONFIG_NET_BUF_LOG=y
|
||||
CONFIG_NET_BUF_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_BUF_WARN_ALLOC_INTERVAL=2
|
||||
CONFIG_NET_BUF_SIMPLE_LOG=y
|
||||
CONFIG_NET_BUF_POOL_USAGE=y
|
||||
#CONFIG_NET_BUF_DATA_POOL_SIZE=4096
|
||||
CONFIG_NET_BUF_FIXED_DATA_SIZE=y
|
||||
CONFIG_NET_BUF_VARIABLE_DATA_SIZE=n
|
||||
CONFIG_NET_PKT_RX_COUNT=10
|
||||
CONFIG_NET_PKT_TX_COUNT=10
|
||||
CONFIG_NET_BUF_RX_COUNT=15
|
||||
CONFIG_NET_BUF_TX_COUNT=15
|
||||
CONFIG_NET_BUF_DATA_SIZE=96
|
||||
CONFIG_NET_BUF_USER_DATA_SIZE=10
|
||||
CONFIG_NET_DEBUG_NET_PKT_ALLOC=y
|
||||
CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS=y
|
||||
CONFIG_NET_PKT_TIMESTAMP=y
|
||||
CONFIG_NET_PKT_TIMESTAMP_STACK_SIZE=1024
|
||||
CONFIG_NET_HEADERS_ALWAYS_CONTIGUOUS=n
|
||||
|
||||
# Core IP options
|
||||
CONFIG_NETWORKING=y
|
||||
CONFIG_NET_SHELL=y
|
||||
CONFIG_NET_SHELL_DYN_CMD_COMPLETION=y
|
||||
CONFIG_NET_IP_ADDR_CHECK=y
|
||||
CONFIG_NET_ICMPV4_ACCEPT_BROADCAST=y
|
||||
CONFIG_NET_INIT_PRIO=90
|
||||
CONFIG_NET_PROMISC_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_PROMISCUOUS_MODE=y
|
||||
CONFIG_NET_RAW_MODE=n
|
||||
CONFIG_NET_TEST=y
|
||||
CONFIG_NET_TX_DEFAULT_PRIORITY=5
|
||||
CONFIG_NET_ROUTING=y
|
||||
CONFIG_NET_MAX_NEXTHOPS=20
|
||||
CONFIG_NET_MAX_ROUTES=5
|
||||
|
||||
# Hostname
|
||||
CONFIG_NET_HOSTNAME_ENABLE=y
|
||||
CONFIG_NET_HOSTNAME_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_HOSTNAME_UNIQUE=y
|
||||
|
||||
# Statistics
|
||||
CONFIG_NET_STATISTICS=y
|
||||
|
@ -33,6 +71,10 @@ CONFIG_NET_STATISTICS_ICMP=y
|
|||
CONFIG_NET_STATISTICS_UDP=y
|
||||
CONFIG_NET_STATISTICS_TCP=y
|
||||
CONFIG_NET_STATISTICS_MLD=y
|
||||
CONFIG_NET_STATISTICS_ETHERNET=y
|
||||
CONFIG_NET_STATISTICS_ETHERNET_VENDOR=y
|
||||
CONFIG_NET_STATISTICS_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_STATISTICS_PER_INTERFACE=y
|
||||
|
||||
# L2 drivers
|
||||
CONFIG_NET_L2_IEEE802154_RADIO_TX_RETRIES=2
|
||||
|
@ -53,12 +95,10 @@ CONFIG_NET_L2_IEEE802154_SECURITY=y
|
|||
CONFIG_NET_L2_IEEE802154_SECURITY_CRYPTO_DEV_NAME="CRYPTO-DEV"
|
||||
CONFIG_NET_L2_DUMMY=y
|
||||
CONFIG_NET_L2_ETHERNET=y
|
||||
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_PERIPHERAL=y
|
||||
CONFIG_BT_CENTRAL=y
|
||||
CONFIG_BT_SMP=y
|
||||
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
|
||||
CONFIG_NET_L2_CANBUS=y
|
||||
CONFIG_NET_L2_ETHERNET_MGMT=y
|
||||
CONFIG_NET_L2_IEEE802154_RADIO_DFLT_TX_POWER=2
|
||||
CONFIG_NET_L2_IEEE802154_SUB_GHZ=y
|
||||
CONFIG_NET_L2_BT=y
|
||||
CONFIG_NET_L2_BT_ZEP1656=y
|
||||
CONFIG_NET_L2_BT_SEC_LEVEL=4
|
||||
|
@ -68,6 +108,16 @@ CONFIG_NET_L2_IEEE802154_LOG_LEVEL_DBG=y
|
|||
CONFIG_NET_DEBUG_L2_IEEE802154_FRAGMENT=y
|
||||
CONFIG_NET_L2_ETHERNET_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_L2_BT_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_L2_WIFI_MGMT=y
|
||||
CONFIG_NET_L2_WIFI_SHELL=y
|
||||
|
||||
# Bluetooth IPSP
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_PERIPHERAL=y
|
||||
CONFIG_BT_CENTRAL=y
|
||||
CONFIG_BT_SMP=y
|
||||
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
|
||||
|
||||
# IP offload support
|
||||
CONFIG_NET_OFFLOAD=y
|
||||
|
@ -76,16 +126,23 @@ CONFIG_NET_OFFLOAD_LOG_LEVEL_DBG=y
|
|||
# Routing table
|
||||
CONFIG_NET_MAX_ROUTERS=3
|
||||
CONFIG_NET_ROUTE=y
|
||||
CONFIG_NET_ROUTE_MCAST=y
|
||||
#CONFIG_NET_ROUTE_MCAST=y
|
||||
#CONFIG_NET_MAX_MCAST_ROUTES=4
|
||||
|
||||
# TCP
|
||||
CONFIG_NET_TCP=y
|
||||
CONFIG_NET_TCP_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_TCP_TIME_WAIT_DELAY=20000
|
||||
CONFIG_NET_TCP_ACK_TIMEOUT=30
|
||||
CONFIG_NET_TCP_BACKLOG_SIZE=10
|
||||
CONFIG_NET_TCP_CHECKSUM=y
|
||||
CONFIG_NET_TCP_INIT_RETRANSMISSION_TIMEOUT=400
|
||||
CONFIG_NET_TCP_RETRY_COUNT=10
|
||||
|
||||
# UDP
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_NET_UDP_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_UDP_CHECKSUM=y
|
||||
|
||||
# Network context
|
||||
CONFIG_NET_MAX_CONN=10
|
||||
|
@ -94,26 +151,22 @@ CONFIG_NET_MAX_CONTEXTS=5
|
|||
CONFIG_NET_CONTEXT_NET_PKT_POOL=y
|
||||
CONFIG_NET_CONTEXT_SYNC_RECV=y
|
||||
CONFIG_NET_CONTEXT_CHECK=y
|
||||
CONFIG_NET_CONTEXT_PRIORITY=y
|
||||
CONFIG_NET_CONTEXT_TIMESTAMP=y
|
||||
|
||||
# SLIP
|
||||
CONFIG_NET_SLIP_TAP=y
|
||||
|
||||
# Trickle algo
|
||||
CONFIG_NET_TRICKLE=y
|
||||
CONFIG_NET_TRICKLE_LOG_LEVEL_DBG=y
|
||||
|
||||
# Network buffer
|
||||
CONFIG_NET_PKT_RX_COUNT=10
|
||||
CONFIG_NET_PKT_TX_COUNT=10
|
||||
CONFIG_NET_BUF_RX_COUNT=15
|
||||
CONFIG_NET_BUF_TX_COUNT=15
|
||||
CONFIG_NET_BUF_DATA_SIZE=128
|
||||
CONFIG_NET_BUF_USER_DATA_SIZE=10
|
||||
|
||||
# IPv6
|
||||
CONFIG_NET_IPV6=y
|
||||
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
||||
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=3
|
||||
CONFIG_NET_IF_IPV6_PREFIX_COUNT=3
|
||||
CONFIG_NET_IF_MAX_IPV6_COUNT=10
|
||||
CONFIG_NET_INITIAL_HOP_LIMIT=64
|
||||
CONFIG_NET_IPV6_MAX_NEIGHBORS=5
|
||||
CONFIG_NET_IPV6_FRAGMENT=y
|
||||
|
@ -134,7 +187,7 @@ CONFIG_NET_6LO_CONTEXT=y
|
|||
CONFIG_NET_MAX_6LO_CONTEXTS=2
|
||||
CONFIG_NET_6LO_LOG_LEVEL_DBG=y
|
||||
|
||||
# Sample application generic options
|
||||
# Network configuration for the sample application
|
||||
CONFIG_NET_CONFIG_SETTINGS=y
|
||||
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
||||
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
||||
|
@ -147,6 +200,16 @@ CONFIG_NET_CONFIG_IEEE802154_SECURITY_KEY="key"
|
|||
CONFIG_NET_CONFIG_IEEE802154_SECURITY_KEY_MODE=0
|
||||
CONFIG_NET_CONFIG_IEEE802154_SECURITY_LEVEL=0
|
||||
CONFIG_NET_CONFIG_BT_NODE=y
|
||||
CONFIG_NET_CONFIG_AUTO_INIT=y
|
||||
CONFIG_NET_CONFIG_IEEE802154_RADIO_TX_POWER=10
|
||||
CONFIG_NET_CONFIG_INIT_PRIO=90
|
||||
CONFIG_NET_CONFIG_INIT_TIMEOUT=10
|
||||
CONFIG_NET_CONFIG_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_CONFIG_MY_IPV4_GW="1.2.3.4"
|
||||
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
|
||||
CONFIG_NET_CONFIG_NEED_IPV4=y
|
||||
CONFIG_NET_CONFIG_NEED_IPV6_ROUTER=y
|
||||
CONFIG_NET_CONFIG_NEED_IPV6=y
|
||||
|
||||
# Network management
|
||||
CONFIG_NET_MGMT=y
|
||||
|
@ -156,23 +219,27 @@ CONFIG_NET_MGMT_EVENT_THREAD_PRIO=66
|
|||
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=2
|
||||
CONFIG_NET_MGMT_EVENT_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_DEBUG_MGMT_EVENT_STACK=y
|
||||
CONFIG_NET_MGMT_EVENT_INFO=y
|
||||
|
||||
# IPv4
|
||||
CONFIG_NET_IPV4=y
|
||||
CONFIG_NET_INITIAL_TTL=42
|
||||
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=2
|
||||
CONFIG_NET_IF_MCAST_IPV4_ADDR_COUNT=2
|
||||
CONFIG_NET_IF_MAX_IPV4_COUNT=10
|
||||
CONFIG_NET_DHCPV4=y
|
||||
CONFIG_NET_IPV4_AUTO=y
|
||||
CONFIG_NET_IPV4_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_IPV4_AUTO_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_ICMPV4_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_DHCPV4_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_DHCPV4_INITIAL_DELAY_MAX=10
|
||||
|
||||
# ARP
|
||||
CONFIG_NET_ARP=y
|
||||
CONFIG_NET_ARP_TABLE_SIZE=3
|
||||
CONFIG_NET_ARP_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_ARP_GRATUITOUS=y
|
||||
|
||||
# Logging
|
||||
CONFIG_NET_LOG=y
|
||||
|
@ -218,8 +285,381 @@ CONFIG_MQTT_LIB_TLS=y
|
|||
|
||||
# VLAN
|
||||
CONFIG_NET_VLAN=y
|
||||
CONFIG_NET_VLAN_COUNT=4
|
||||
|
||||
# gPTP
|
||||
CONFIG_NET_GPTP=y
|
||||
CONFIG_NET_GPTP_STATISTICS=y
|
||||
CONFIG_NET_GPTP_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_GPTP_ANNOUNCE_RECEIPT_TIMEOUT=10
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_100MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_100NS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_100US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_10MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_10S=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_10US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_1MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_1S=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_1US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_250MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_250NS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_250US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_2_5MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_25MS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_25NS=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_2_5US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_25US=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_GT_10S=y
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY=0xfe
|
||||
CONFIG_NET_GPTP_CLOCK_ACCURACY_UNKNOWN=y
|
||||
CONFIG_NET_GPTP_GM_CAPABLE=y
|
||||
CONFIG_NET_GPTP_INIT_LOG_ANNOUNCE_ITV=2
|
||||
CONFIG_NET_GPTP_INIT_LOG_PDELAY_REQ_ITV=2
|
||||
CONFIG_NET_GPTP_INIT_LOG_SYNC_ITV=2
|
||||
CONFIG_NET_GPTP_NEIGHBOR_PROP_DELAY_THR=100000
|
||||
CONFIG_NET_GPTP_NUM_PORTS=2
|
||||
CONFIG_NET_GPTP_PATH_TRACE_ELEMENTS=2
|
||||
CONFIG_NET_GPTP_PROBE_CLOCK_SOURCE_ON_DEMAND=y
|
||||
CONFIG_NET_GPTP_SYNC_RECEIPT_TIMEOUT=10
|
||||
CONFIG_NET_GPTP_USE_DEFAULT_CLOCK_UPDATE=y
|
||||
CONFIG_NET_GPTP_VLAN=y
|
||||
CONFIG_NET_GPTP_VLAN_TAG=100
|
||||
|
||||
# LLDP
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC0=0x01
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC1=0x02
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC2=0x03
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC3=0x04
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC4=0x05
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_MAC5=0x06
|
||||
CONFIG_NET_LLDP_CHASSIS_ID=""
|
||||
CONFIG_NET_LLDP_CHASSIS_ID_SUBTYPE=4
|
||||
CONFIG_NET_LLDP_END_LLDPDU_TLV_ENABLED=y
|
||||
CONFIG_NET_LLDP_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC0=0x01
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC1=0x02
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC2=0x03
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC3=0x04
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC4=0x04
|
||||
CONFIG_NET_LLDP_PORT_ID_MAC5=0x05
|
||||
CONFIG_NET_LLDP_PORT_ID=""
|
||||
CONFIG_NET_LLDP_PORT_ID_SUBTYPE=3
|
||||
CONFIG_NET_LLDP=y
|
||||
CONFIG_NET_LLDP_TX_HOLD=2
|
||||
CONFIG_NET_LLDP_TX_INTERVAL=3
|
||||
|
||||
# Loopback
|
||||
CONFIG_NET_LOOPBACK_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_LOOPBACK=y
|
||||
|
||||
# Sockets
|
||||
CONFIG_NET_SOCKETS_CAN=y
|
||||
CONFIG_NET_SOCKETS_DTLS_TIMEOUT=10
|
||||
CONFIG_NET_SOCKETS_ENABLE_DTLS=y
|
||||
CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_SOCKETS_OFFLOAD=y
|
||||
CONFIG_NET_SOCKETS_PACKET=y
|
||||
CONFIG_NET_SOCKETS_POLL_MAX=50
|
||||
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
||||
CONFIG_NET_SOCKETS=y
|
||||
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
|
||||
CONFIG_NET_SOCKETS_TLS_MAX_CIPHERSUITES=10
|
||||
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=10
|
||||
CONFIG_NET_SOCKETS_TLS_MAX_CREDENTIALS=10
|
||||
|
||||
# Network interface defaults
|
||||
CONFIG_NET_DEFAULT_IF_BLUETOOTH=y
|
||||
CONFIG_NET_DEFAULT_IF_CANBUS=y
|
||||
CONFIG_NET_DEFAULT_IF_DUMMY=y
|
||||
CONFIG_NET_DEFAULT_IF_ETHERNET=y
|
||||
CONFIG_NET_DEFAULT_IF_FIRST=y
|
||||
CONFIG_NET_DEFAULT_IF_IEEE802154=y
|
||||
CONFIG_NET_DEFAULT_IF_OFFLOAD=y
|
||||
|
||||
# Traffic class
|
||||
CONFIG_NET_TC_LOG_LEVEL_DBG=y
|
||||
CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y
|
||||
CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y
|
||||
CONFIG_NET_TC_MAPPING_STRICT=y
|
||||
CONFIG_NET_TC_RX_COUNT=8
|
||||
CONFIG_NET_TC_TX_COUNT=8
|
||||
|
||||
# QEMU
|
||||
CONFIG_NET_QEMU_ETHERNET=y
|
||||
CONFIG_NET_QEMU_SLIP=y
|
||||
|
||||
# IEEE 802.15.4
|
||||
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET_FULL=y
|
||||
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET=y
|
||||
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET_RX=y
|
||||
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET_TX=y
|
||||
|
||||
# OpenThread needs some extra options and needs specific hardware
|
||||
# and qemu is not supported
|
||||
#CONFIG_NET_L2_OPENTHREAD=y
|
||||
#CONFIG_FLASH=y
|
||||
#CONFIG_FLASH_PAGE_LAYOUT=y
|
||||
#CONFIG_FLASH_HAS_PAGE_LAYOUT=y
|
||||
#CONFIG_CPLUSPLUS=y
|
||||
#CONFIG_REBOOT=y
|
||||
|
||||
# IEEE 802.15.4, these cannot be compiled atm as qemu does not support these
|
||||
#CONFIG_IEEE802154_CC1200_CCA_THRESHOLD=10
|
||||
#CONFIG_IEEE802154_CC1200_DRV_NAME="CC1200"
|
||||
#CONFIG_IEEE802154_CC1200_GPIO_SPI_CS=y
|
||||
#CONFIG_IEEE802154_CC1200_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_CC1200_MAC4=0x01
|
||||
#CONFIG_IEEE802154_CC1200_MAC5=0x02
|
||||
#CONFIG_IEEE802154_CC1200_MAC6=0x03
|
||||
#CONFIG_IEEE802154_CC1200_MAC7=0x04
|
||||
#CONFIG_IEEE802154_CC1200_PKTCFG0=0x20
|
||||
#CONFIG_IEEE802154_CC1200_PKTCFG1=0x03
|
||||
#CONFIG_IEEE802154_CC1200_PKTCFG2=0x00
|
||||
#CONFIG_IEEE802154_CC1200_RANDOM_MAC=n
|
||||
#CONFIG_IEEE802154_CC1200_RFEND_CFG0=0x00
|
||||
#CONFIG_IEEE802154_CC1200_RFEND_CFG1=0x3F
|
||||
#CONFIG_IEEE802154_CC1200_RF_PRESET=y
|
||||
#CONFIG_IEEE802154_CC1200_RF_SET_0=y
|
||||
#CONFIG_IEEE802154_CC1200_RF_SET_1=y
|
||||
#CONFIG_IEEE802154_CC1200_RF_SET_2=y
|
||||
#CONFIG_IEEE802154_CC1200_RSSI_OFFSET=1
|
||||
#CONFIG_IEEE802154_CC1200=y
|
||||
#CONFIG_IEEE802154_CC1200_RX_STACK_SIZE=1024
|
||||
#CONFIG_IEEE802154_CC1200_SETTLING_CFG=0x03
|
||||
#CONFIG_IEEE802154_CC1200_XOSC=1
|
||||
|
||||
#CONFIG_IEEE802154_CC2520_CRYPTO_DRV_NAME="CRYPTO"
|
||||
#CONFIG_IEEE802154_CC2520_CRYPTO_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_CC2520_CRYPTO=y
|
||||
#CONFIG_IEEE802154_CC2520_DRV_NAME="CC2520"
|
||||
#CONFIG_IEEE802154_CC2520_GPIO_SPI_CS=y
|
||||
#CONFIG_IEEE802154_CC2520_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_CC2520_MAC4=0x01
|
||||
#CONFIG_IEEE802154_CC2520_MAC5=0x02
|
||||
#CONFIG_IEEE802154_CC2520_MAC6=0x03
|
||||
#CONFIG_IEEE802154_CC2520_MAC7=0x04
|
||||
#CONFIG_IEEE802154_CC2520_RANDOM_MAC=n
|
||||
#CONFIG_IEEE802154_CC2520=y
|
||||
#CONFIG_IEEE802154_CC2520_RX_STACK_SIZE=1024
|
||||
|
||||
#CONFIG_IEEE802154_DRIVER_LOG_LEVEL_DBG=y
|
||||
#CONFIG_IEEE802154_KW41Z_DRV_NAME="KW41Z"
|
||||
#CONFIG_IEEE802154_KW41Z_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_KW41Z=y
|
||||
|
||||
#CONFIG_SPI=y
|
||||
#CONFIG_IEEE802154_MCR20A_DRV_NAME="MCR20A2"
|
||||
#CONFIG_IEEE802154_MCR20A_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_MCR20A=y
|
||||
#CONFIG_IEEE802154_MCR20A_RX_STACK_SIZE=1024
|
||||
|
||||
#CONFIG_SOC_SERIES_NRF52X=y
|
||||
#CONFIG_HAS_NORDIC_DRIVERS=y
|
||||
#CONFIG_IEEE802154_NRF5_CCA_CORR_LIMIT=1
|
||||
#CONFIG_IEEE802154_NRF5_CCA_CORR_THRESHOLD=1
|
||||
#CONFIG_IEEE802154_NRF5_CCA_ED_THRESHOLD=2
|
||||
#CONFIG_IEEE802154_NRF5_CCA_MODE_CARRIER_AND_ED=y
|
||||
#CONFIG_IEEE802154_NRF5_CCA_MODE_CARRIER_OR_ED=y
|
||||
#CONFIG_IEEE802154_NRF5_CCA_MODE_CARRIER=y
|
||||
#CONFIG_IEEE802154_NRF5_CCA_MODE_ED=y
|
||||
#CONFIG_IEEE802154_NRF5_DRV_NAME="NRF5"
|
||||
#CONFIG_IEEE802154_NRF5_INIT_PRIO=90
|
||||
#CONFIG_IEEE802154_NRF5=n
|
||||
#CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024
|
||||
|
||||
#CONFIG_IEEE802154_RAW_MODE=n
|
||||
#CONFIG_IEEE802154_UPIPE_DRV_NAME="UPIPE"
|
||||
#CONFIG_IEEE802154_UPIPE_HW_FILTER=y
|
||||
#CONFIG_IEEE802154_UPIPE_MAC4=0x01
|
||||
#CONFIG_IEEE802154_UPIPE_MAC5=0x02
|
||||
#CONFIG_IEEE802154_UPIPE_MAC6=0x03
|
||||
#CONFIG_IEEE802154_UPIPE_MAC7=0x04
|
||||
#CONFIG_IEEE802154_UPIPE_RANDOM_MAC=n
|
||||
#CONFIG_IEEE802154_UPIPE=n
|
||||
|
||||
# The following options are not used as we have enabled debug log level
|
||||
# for them. But they need to exist in this file so that
|
||||
# the ./check_net_options.sh script does not complain about them.
|
||||
#CONFIG_DNS_RESOLVER_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_DNS_RESOLVER_LOG_LEVEL_ERR
|
||||
#CONFIG_DNS_RESOLVER_LOG_LEVEL_INF
|
||||
#CONFIG_DNS_RESOLVER_LOG_LEVEL_OFF
|
||||
#CONFIG_DNS_RESOLVER_LOG_LEVEL_WRN
|
||||
#CONFIG_IEEE802154_DRIVER_LOG_LEVEL_ERR
|
||||
#CONFIG_IEEE802154_DRIVER_LOG_LEVEL_INF
|
||||
#CONFIG_IEEE802154_DRIVER_LOG_LEVEL_OFF
|
||||
#CONFIG_IEEE802154_DRIVER_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_6LO_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_6LO_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_6LO_LOG_LEVEL_INF
|
||||
#CONFIG_NET_6LO_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_6LO_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_ARP_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_ARP_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_ARP_LOG_LEVEL_INF
|
||||
#CONFIG_NET_ARP_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_ARP_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_BUF_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_BUF_LOG_LEVEL_INF
|
||||
#CONFIG_NET_BUF_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_BUF_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_CONFIG_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_CONFIG_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_CONFIG_LOG_LEVEL_INF
|
||||
#CONFIG_NET_CONFIG_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_CONFIG_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_CONN_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_CONN_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_CONN_LOG_LEVEL_INF
|
||||
#CONFIG_NET_CONN_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_CONN_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_CONTEXT_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_CONTEXT_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_CONTEXT_LOG_LEVEL_INF
|
||||
#CONFIG_NET_CONTEXT_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_CONTEXT_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_CORE_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_CORE_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_CORE_LOG_LEVEL_INF
|
||||
#CONFIG_NET_CORE_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_CORE_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_DHCPV4_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_DHCPV4_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_DHCPV4_LOG_LEVEL_INF
|
||||
#CONFIG_NET_DHCPV4_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_DHCPV4_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_GPTP_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_GPTP_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_GPTP_LOG_LEVEL_INF
|
||||
#CONFIG_NET_GPTP_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_GPTP_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_HOSTNAME_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_HOSTNAME_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_HOSTNAME_LOG_LEVEL_INF
|
||||
#CONFIG_NET_HOSTNAME_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_HOSTNAME_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_ICMPV4_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_ICMPV4_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_ICMPV4_LOG_LEVEL_INF
|
||||
#CONFIG_NET_ICMPV4_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_ICMPV4_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_ICMPV6_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_ICMPV6_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_ICMPV6_LOG_LEVEL_INF
|
||||
#CONFIG_NET_ICMPV6_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_ICMPV6_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_IF_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_IF_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_IF_LOG_LEVEL_INF
|
||||
#CONFIG_NET_IF_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_IF_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_IPV4_AUTO_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_IPV4_AUTO_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_IPV4_AUTO_LOG_LEVEL_INF
|
||||
#CONFIG_NET_IPV4_AUTO_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_IPV4_AUTO_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_IPV4_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_IPV4_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_IPV4_LOG_LEVEL_INF
|
||||
#CONFIG_NET_IPV4_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_IPV4_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_IPV6_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_IPV6_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_IPV6_LOG_LEVEL_INF
|
||||
#CONFIG_NET_IPV6_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_IPV6_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_INF
|
||||
#CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_L2_BT_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_L2_BT_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_L2_BT_LOG_LEVEL_INF
|
||||
#CONFIG_NET_L2_BT_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_L2_BT_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_INF
|
||||
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_L2_IEEE802154_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_L2_IEEE802154_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF
|
||||
#CONFIG_NET_L2_IEEE802154_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_L2_IEEE802154_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_INF
|
||||
#CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_L2_WIFI_MGMT_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_LLDP_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_LLDP_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_LLDP_LOG_LEVEL_INF
|
||||
#CONFIG_NET_LLDP_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_LLDP_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_LOOPBACK_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_LOOPBACK_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_LOOPBACK_LOG_LEVEL_INF
|
||||
#CONFIG_NET_LOOPBACK_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_LOOPBACK_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_INF
|
||||
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_OFFLOAD_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_OFFLOAD_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_OFFLOAD_LOG_LEVEL_INF
|
||||
#CONFIG_NET_OFFLOAD_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_OFFLOAD_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_PKT_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_PKT_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_PKT_LOG_LEVEL_INF
|
||||
#CONFIG_NET_PKT_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_PKT_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_PROMISC_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_PROMISC_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_PROMISC_LOG_LEVEL_INF
|
||||
#CONFIG_NET_PROMISC_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_PROMISC_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_ROUTE_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_ROUTE_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_ROUTE_LOG_LEVEL_INF
|
||||
#CONFIG_NET_ROUTE_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_ROUTE_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_SOCKETS_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_SOCKETS_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_SOCKETS_LOG_LEVEL_INF
|
||||
#CONFIG_NET_SOCKETS_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_SOCKETS_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_STATISTICS_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_STATISTICS_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_STATISTICS_LOG_LEVEL_INF
|
||||
#CONFIG_NET_STATISTICS_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_STATISTICS_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_TC_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_TC_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_TC_LOG_LEVEL_INF
|
||||
#CONFIG_NET_TC_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_TC_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_TCP_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_TCP_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_TCP_LOG_LEVEL_INF
|
||||
#CONFIG_NET_TCP_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_TCP_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_TRICKLE_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_TRICKLE_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_TRICKLE_LOG_LEVEL_INF
|
||||
#CONFIG_NET_TRICKLE_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_TRICKLE_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_UDP_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_UDP_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_UDP_LOG_LEVEL_INF
|
||||
#CONFIG_NET_UDP_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_UDP_LOG_LEVEL_WRN
|
||||
#CONFIG_NET_UTILS_LOG_LEVEL_DEFAULT
|
||||
#CONFIG_NET_UTILS_LOG_LEVEL_ERR
|
||||
#CONFIG_NET_UTILS_LOG_LEVEL_INF
|
||||
#CONFIG_NET_UTILS_LOG_LEVEL_OFF
|
||||
#CONFIG_NET_UTILS_LOG_LEVEL_WRN
|
||||
|
|
|
@ -5,4 +5,4 @@ tests:
|
|||
net.build:
|
||||
build_only: true
|
||||
min_ram: 32
|
||||
tags: net
|
||||
tags: net net-all
|
||||
|
|
Loading…
Reference in a new issue