1# Thread network configuration options 2 3# Copyright (c) 2020 Nordic Semiconductor ASA 4# SPDX-License-Identifier: Apache-2.0 5 6config OPENTHREAD_PANID 7 int "Default PAN ID" 8 default 43981 9 10config OPENTHREAD_CHANNEL 11 int "Default Channel" 12 default 11 13 14config OPENTHREAD_NETWORK_NAME 15 string "Default network name" 16 default "ot_zephyr" 17 help 18 Network name for OpenThread 19 20config OPENTHREAD_XPANID 21 string "Default Extended PAN ID" 22 default "de:ad:00:be:ef:00:ca:fe" 23 help 24 Extended PAN ID for OpenThread with 25 format "de:ad:00:be:ef:00:ca:fe" 26 27config OPENTHREAD_NETWORKKEY 28 string "Default Thread Network Key" 29 help 30 Network Key for OpenThread with format 31 "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff" 32 33config OPENTHREAD_JOINER_AUTOSTART 34 bool "Automatic joiner start" 35 depends on OPENTHREAD_JOINER 36 37config OPENTHREAD_JOINER_PSKD 38 string "Default pre shared key for the Joiner" 39 depends on OPENTHREAD_JOINER_AUTOSTART 40 default "J01NME" 41 42choice OPENTHREAD_DEVICE_TYPE 43 prompt "OpenThread device type" 44 help 45 This option selects Thread network device type 46 47config OPENTHREAD_FTD 48 bool "FTD - Full Thread Device" 49config OPENTHREAD_MTD 50 bool "MTD - Minimal Thread Device" 51endchoice 52 53config OPENTHREAD_MTD_SED 54 bool "SED - Sleepy End Device" 55 depends on OPENTHREAD_MTD 56 57config OPENTHREAD_POLL_PERIOD 58 int "Poll period for sleepy end devices [ms]" 59 default 236000 60 depends on OPENTHREAD_MTD_SED 61 62config OPENTHREAD_MAX_CHILDREN 63 int "The maximum number of children" 64 range 1 511 65 default 32 66 67config OPENTHREAD_MAX_IP_ADDR_PER_CHILD 68 int "The maximum number of IPv6 address registrations per child" 69 range 4 $(UINT8_MAX) 70 default 6 71 72config OPENTHREAD_CONFIG_PLATFORM_INFO 73 string "The platform-specific string to insert into the OpenThread version string" 74 default "Zephyr" 75 76config OPENTHREAD_RADIO_LINK_IEEE_802_15_4_ENABLE 77 bool "Support for IEEE802.15.4 radio link" 78 default y 79 80config OPENTHREAD_CSL_AUTO_SYNC 81 bool "CSL autosync" 82 default y if OPENTHREAD_CSL_RECEIVER 83 84config OPENTHREAD_CSL_RECEIVE_TIME_AHEAD 85 int "CSL receiver wake up margin in microseconds" 86 default 5000 87 88config OPENTHREAD_MIN_RECEIVE_ON_AHEAD 89 int "Minimum receiving time before start of MHR" 90 default 192 91 help 92 The minimum time (microseconds) that radio has to be in receive mode before the start of the MHR. 93 94config OPENTHREAD_MIN_RECEIVE_ON_AFTER 95 int "Minimum receiving time after start of MHR" 96 default 5504 97 help 98 The minimum time (microseconds) that radio should be in receive mode after the start of the MHR. 99 100config OPENTHREAD_PLATFORM_CSL_UNCERT 101 int "CSL uncertainty" 102 default $(UINT8_MAX) 103 range 0 $(UINT8_MAX) 104 help 105 The fixed uncertainty of the Device for scheduling CSL Transmissions in units of 10 microseconds. 106 107config OPENTHREAD_CSL_TIMEOUT 108 int "CSL timeout in seconds" 109 default 100 110 help 111 The default CSL timeout in seconds. 112 113config OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE 114 bool "Software transmission security logic" 115 default y if !OPENTHREAD_THREAD_VERSION_1_1 116 117config OPENTHREAD_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH 118 bool "Inform previous parent on reattach" 119 default y if OPENTHREAD_PARENT_SEARCH 120 help 121 To allow end devices (EDs) in a Thread network to inform their 122 previous parent router that they have attached to a new parent 123 router, enable the Inform Previous Parent on Reattach feature. 124 125config OPENTHREAD_PARENT_SEARCH 126 bool "Periodic parent search support" 127 help 128 To allow end devices (EDs) in a Thread network to switch to a 129 better parent router than their current one—while still attached 130 to the network—enable the Periodic Parent Search feature. 131 132config OPENTHREAD_PARENT_SEARCH_CHECK_INTERVAL 133 int "Interval to trigger parent search in seconds" 134 default 540 135 depends on OPENTHREAD_PARENT_SEARCH 136 137config OPENTHREAD_PARENT_SEARCH_BACKOFF_INTERVAL 138 int "Backoff interval to prevent parent search retry in seconds" 139 default 36000 140 depends on OPENTHREAD_PARENT_SEARCH 141 142config OPENTHREAD_PARENT_SEARCH_RSS_THRESHOLD 143 int "RSSI threshold to trigger parent search" 144 default -65 145 depends on OPENTHREAD_PARENT_SEARCH 146 147config OPENTHREAD_CLI_MAX_LINE_LENGTH 148 int "The maximum size of the CLI line in bytes" 149 range 16 1024 150 default 384 151 152config OPENTHREAD_IP6_MAX_EXT_UCAST_ADDRS 153 int "The maximum number of supported IPv6 addresses allows to be externally added" 154 range 0 32 155 default 4 156 157config OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS 158 int "The maximum number of supported IPv6 multicast addresses allows to be externally added" 159 range 0 32 160 default 2 161 162config OPENTHREAD_TCP_ENABLE 163 bool "TCP support" 164 165config OPENTHREAD_CLI_TCP_ENABLE 166 bool "TCP in the CLI tool" 167 default y if SHELL 168 depends on OPENTHREAD_TCP_ENABLE 169 170config OPENTHREAD_HISTORY_TRACKER 171 bool "History tracker support" 172 173config OPENTHREAD_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS 174 bool "Stay awake between packet fragments" 175 help 176 This optimization is done at the expense of power consumption on SED/SSED devices. 177 178config OPENTHREAD_DEFAULT_TX_POWER 179 int "OpenThread default tx power in dBm" 180 range -40 20 if NRF_802154_RADIO_DRIVER 181 default 0 182 help 183 Set the default TX output power [dBm] in radio driver for OpenThread purpose. 184 185config OPENTHREAD_BLE_TCAT_THREAD_STACK_SIZE 186 int "Openthread default TCAT stack size" 187 default 5120 if OPENTHREAD_CRYPTO_PSA 188 default 4200 189 help 190 Openthread default TCAT stack size. 191 192config OPENTHREAD_BLE_TCAT_RING_BUF_SIZE 193 int "Openthread BLE ringbuffer size" 194 default 512 195 help 196 Openthread BLE TCAT ringbuffer size. 197 198config OPENTHREAD_NAT64_CIDR 199 string "Set IPv4 CIDR used by NAT64" 200 default "192.168.255.0/24" 201 depends on OPENTHREAD_BORDER_ROUTING && OPENTHREAD_NAT64_TRANSLATOR 202 help 203 Set the IPv4 CIDR (Classless Inter-Domain Routing) used by NAT64 204 to set source address of the outgoing translated IPv4 packets. 205 The CIDR must have four bytes in the address with the 206 non-zero length of prefix (e.g., "127.0.0.1/24"). 207