665 lines
20 KiB
Plaintext
665 lines
20 KiB
Plaintext
# Activate all network Kconfig options in order to test that the result
|
|
# target compiles ok. Note that the different values in this file are
|
|
# just randomly selected, do not use the values in your real life
|
|
# applications.
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# 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
|
|
CONFIG_NET_STATISTICS_USER_API=y
|
|
CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=y
|
|
CONFIG_NET_STATISTICS_IPV4=y
|
|
CONFIG_NET_STATISTICS_IPV6=y
|
|
CONFIG_NET_STATISTICS_IPV6_ND=y
|
|
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
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA=y
|
|
CONFIG_NET_L2_IEEE802154_RADIO_ALOHA=n
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA_MAX_BO=4
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA_MIN_BE=3
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA_MAX_BE=5
|
|
CONFIG_NET_L2_IEEE802154=y
|
|
CONFIG_NET_L2_IEEE802154_MGMT=y
|
|
CONFIG_NET_L2_IEEE802154_ACK_REPLY=y
|
|
CONFIG_NET_L2_IEEE802154_RFD=y
|
|
CONFIG_NET_L2_IEEE802154_SHELL=y
|
|
CONFIG_NET_L2_IEEE802154_FRAGMENT=y
|
|
CONFIG_NET_L2_IEEE802154_FRAGMENT_REASS_CACHE_SIZE=2
|
|
CONFIG_NET_L2_IEEE802154_REASSEMBLY_TIMEOUT=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_NET_L2_CANBUS=y
|
|
CONFIG_NET_L2_CANBUS_RAW=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
|
|
CONFIG_NET_L2_BT_MGMT=y
|
|
CONFIG_NET_L2_BT_SHELL=y
|
|
CONFIG_NET_L2_IEEE802154_LOG_LEVEL_DBG=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
|
|
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_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
|
|
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
|
|
|
|
# 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
|
|
CONFIG_NET_IPV6_FRAGMENT_MAX_COUNT=2
|
|
CONFIG_NET_IPV6_FRAGMENT_TIMEOUT=23
|
|
CONFIG_NET_IPV6_MLD=y
|
|
CONFIG_NET_IPV6_NBR_CACHE=y
|
|
CONFIG_NET_IPV6_ND=y
|
|
CONFIG_NET_IPV6_DAD=y
|
|
CONFIG_NET_IPV6_RA_RDNSS=y
|
|
CONFIG_NET_IPV6_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_ICMPV6_LOG_LEVEL_DBG=y
|
|
|
|
# 6lo
|
|
CONFIG_NET_6LO=y
|
|
CONFIG_NET_6LO_CONTEXT=y
|
|
CONFIG_NET_MAX_6LO_CONTEXTS=2
|
|
CONFIG_NET_6LO_LOG_LEVEL_DBG=y
|
|
|
|
# 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"
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
|
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="FOO-BAR"
|
|
CONFIG_NET_CONFIG_IEEE802154_PAN_ID=0x1234
|
|
CONFIG_NET_CONFIG_IEEE802154_CHANNEL=15
|
|
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
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
CONFIG_NET_MGMT_EVENT_STACK_SIZE=800
|
|
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
|
|
CONFIG_NET_CORE_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_IF_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_UTILS_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_PKT_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=4
|
|
CONFIG_NET_CONN_LOG_LEVEL_DBG=y
|
|
CONFIG_NET_ROUTE_LOG_LEVEL_DBG=y
|
|
|
|
# IP threads stack size
|
|
CONFIG_NET_TX_STACK_SIZE=1024
|
|
CONFIG_NET_RX_STACK_SIZE=1024
|
|
|
|
# DNS
|
|
CONFIG_DNS_RESOLVER=y
|
|
CONFIG_DNS_RESOLVER_ADDITIONAL_BUF_CTR=1
|
|
CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES=2
|
|
CONFIG_DNS_RESOLVER_MAX_SERVERS=5
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
CONFIG_DNS_SERVER1="2001:db8::33:fe:2c:53"
|
|
CONFIG_DNS_SERVER2="[2001:db8::42]:5353"
|
|
CONFIG_DNS_SERVER3="192.0.2.42"
|
|
CONFIG_DNS_SERVER4="2001:db8::2"
|
|
CONFIG_DNS_SERVER5="192.0.2.11:1000"
|
|
CONFIG_DNS_NUM_CONCUR_QUERIES=2
|
|
CONFIG_DNS_RESOLVER_LOG_LEVEL_DBG=y
|
|
CONFIG_MDNS_RESPONDER=y
|
|
CONFIG_MDNS_RESPONDER_LOG_LEVEL_DBG=y
|
|
CONFIG_LLMNR_RESPONDER=y
|
|
CONFIG_LLMNR_RESPONDER_LOG_LEVEL_DBG=y
|
|
|
|
# CoAP
|
|
CONFIG_COAP=y
|
|
CONFIG_COAP_LOG_LEVEL_DBG=y
|
|
|
|
# MQTT
|
|
CONFIG_MQTT_LIB=y
|
|
CONFIG_MQTT_KEEPALIVE=60
|
|
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_CANBUS_RAW=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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_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
|