Skip to content

Commit 89cb309

Browse files
Cristib05fabiobaltieri
authored andcommitted
net: openthread: Add new kconfig OT options.
Added: `OPENTHREAD_CONFIG_BORDER_AGENT_MESHCOP_SERVICE_ENABLE` `OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_CLIENT_ENABLE` `OPENTHREAD_CONFIG_CHANNEL_MONITOR_AUTO_START_ENABLE` `OPENTHREAD_CONFIG_SRP_SERVER_FAST_START_MODE_ENABLE` `OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE` Signed-off-by: Cristian Bulacu <[email protected]>
1 parent 8c9bfa0 commit 89cb309

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

modules/openthread/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,16 @@ kconfig_to_ot_option(CONFIG_OPENTHREAD_BLE_TCAT OT_BLE_TCAT "Enable BLE TCAT sup
5050
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_AGENT OT_BORDER_AGENT "Enable Border Agent")
5151
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_AGENT_EPHEMERAL_KEY_ENABLE OT_BORDER_AGENT_EPSKC "Border agent ephemeral PSKc")
5252
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_AGENT_ID OT_BORDER_AGENT_ID "Create and save border agent ID")
53+
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_AGENT_MESHCOP_SERVICE OT_BORDER_AGENT_MESHCOP_SERVICE "Border agent meshcop service")
5354
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTER OT_BORDER_ROUTER "Enable Border Router")
5455
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTING OT_BORDER_ROUTING "Enable Border routing")
5556
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTING_COUNTERS OT_BORDER_ROUTING_COUNTERS "Enable Border routing counters")
5657
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTING_DHCP6_PD OT_BORDER_ROUTING_DHCP6_PD "DHCPv6-PD support in border routing")
58+
kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTING_DHCP6_PD_CLIENT OT_BORDER_ROUTING_DHCP6_PD_CLIENT, "DHCPv6-PD client support in border routing")
5759
kconfig_to_ot_option(CONFIG_OPENTHREAD_CHANNEL_MANAGER OT_CHANNEL_MANAGER "Enable channel manager support")
5860
kconfig_to_ot_option(CONFIG_OPENTHREAD_CHANNEL_MANAGER_CSL OT_CHANNEL_MANAGER_CSL "Channel manager for CSL channel")
5961
kconfig_to_ot_option(CONFIG_OPENTHREAD_CHANNEL_MONITOR OT_CHANNEL_MONITOR "Enable channel monitor support")
62+
kconfig_to_ot_option(CONFIG_OPENTHREAD_CHANNEL_MONITOR_AUTO_START OT_CHANNEL_MONITOR_AUTO_START "Start channel monitor with interface")
6063
kconfig_to_ot_option(CONFIG_OPENTHREAD_COAP OT_COAP "Enable CoAP API")
6164
kconfig_to_ot_option(CONFIG_OPENTHREAD_COAP_BLOCK OT_COAP_BLOCK "Enable CoAP Block-wise option support")
6265
kconfig_to_ot_option(CONFIG_OPENTHREAD_COAP_OBSERVE OT_COAP_OBSERVE "Enable CoAP Observe option support")
@@ -124,9 +127,11 @@ kconfig_to_ot_option(CONFIG_OPENTHREAD_SNTP_CLIENT OT_SNTP_CLIENT "Enable SNTP C
124127
kconfig_to_ot_option(CONFIG_OPENTHREAD_SRP_ADV_PROXY OT_SRP_ADV_PROXY "Enable SRP Server Advertising Proxy support")
125128
kconfig_to_ot_option(CONFIG_OPENTHREAD_SRP_CLIENT OT_SRP_CLIENT "Enable SRP Client support")
126129
kconfig_to_ot_option(CONFIG_OPENTHREAD_SRP_SERVER OT_SRP_SERVER "Enable SRP Server support")
130+
kconfig_to_ot_option(CONFIG_OPENTHREAD_SRP_SERVER_FAST_START OT_SRP_SERVER_FAST_START_MDOE "Enable SRP server fast start")
127131
kconfig_to_ot_option(CONFIG_OPENTHREAD_TCP_ENABLE OT_TCP "Enable TCP support")
128132
kconfig_to_ot_option(CONFIG_OPENTHREAD_TIME_SYNC OT_TIME_SYNC "Enable the time synchronization service feature")
129133
kconfig_to_ot_option(CONFIG_OPENTHREAD_TREL OT_TREL "Enable TREL radio link for Thread over Infrastructure feature")
134+
kconfig_to_ot_option(CONFIG_OPENTHREAD_TREL_MANAGE_DNSSD OT_TREL_MANAGE_DNSSD "Enable TREL to manage DNSSD and peer discovery")
130135
kconfig_to_ot_option(CONFIG_OPENTHREAD_TX_BEACON_PAYLOAD OT_TX_BEACON_PAYLOAD "Enable tx beacon payload support")
131136
kconfig_to_ot_option(CONFIG_OPENTHREAD_TX_QUEUE_STATISTICS OT_TX_QUEUE_STATS "Enable tx queue statistics")
132137
kconfig_to_ot_option(CONFIG_OPENTHREAD_UDP_FORWARD OT_UDP_FORWARD "Enable UDP forward feature")

modules/openthread/Kconfig.features

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ config OPENTHREAD_BORDER_AGENT_EPHEMERAL_KEY_ENABLE
5555
config OPENTHREAD_BORDER_AGENT_ID
5656
bool "Create and save border agent ID"
5757

58+
config OPENTHREAD_BORDER_AGENT_MESHCOP_SERVICE
59+
bool "Border agent meshcop service"
60+
5861
config OPENTHREAD_BORDER_ROUTER
5962
bool "Border Router support"
6063

@@ -67,9 +70,15 @@ config OPENTHREAD_BORDER_ROUTING_COUNTERS
6770
config OPENTHREAD_BORDER_ROUTING_DHCP6_PD
6871
bool "DHCPv6-PD support in border routing"
6972

73+
config OPENTHREAD_BORDER_ROUTING_DHCP6_PD_CLIENT
74+
bool "DHCPv6-PD client support in border routing"
75+
7076
config OPENTHREAD_CHANNEL_MONITOR
7177
bool "Channel monitor support"
7278

79+
config OPENTHREAD_CHANNEL_MONITOR_AUTO_START
80+
bool "Start channel monitor with interface"
81+
7382
config OPENTHREAD_CHANNEL_MANAGER
7483
bool "Channel manager support"
7584
depends on OPENTHREAD_CHANNEL_MONITOR
@@ -380,13 +389,19 @@ config OPENTHREAD_SRP_SERVER
380389
select OPENTHREAD_NETDATA_PUBLISHER
381390
select OPENTHREAD_ECDSA
382391

392+
config OPENTHREAD_SRP_SERVER_FAST_START
393+
bool "SRP server fast start"
394+
383395
config OPENTHREAD_TIME_SYNC
384396
bool "The time synchronization service feature [EXPERIMENTAL]"
385397
select EXPERIMENTAL
386398

387399
config OPENTHREAD_TREL
388400
bool "TREL radio link for Thread over Infrastructure feature"
389401

402+
config OPENTHREAD_TREL_MANAGE_DNSSD
403+
bool "TREL to manage DNSSD and peer discovery"
404+
390405
config OPENTHREAD_TX_BEACON_PAYLOAD
391406
bool "TX beacon payload support"
392407

0 commit comments

Comments
 (0)