Skip to content

Commit 291bb67

Browse files
committed
openthread: Kconfig: Add config for number of socket services
This commit adds support to define number of platform socket services using Kconfig. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
1 parent 5973b55 commit 291bb67

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

modules/openthread/Kconfig

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,38 @@ config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MODEL_NAME
394394
This value represents Border Agent's product model.
395395

396396
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MAX_UDP_SERVICES
397-
int "The maximum number of pollable UDP sockets to be registered in platform UDP."
397+
int "The maximum number of pollable UDP sockets to be registered in platform code."
398398
depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER
399399
default 5
400400
help
401401
This configuration defines the maximum number of pollable UDP sockets
402402
to be used within platform UDP module.
403403

404+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MAX_MDNS_SERVICES
405+
int "The maximum number of pollable mDNS sockets to be registered in platform code."
406+
depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER
407+
default 1 if NET_IPV6 && !NET_IPV4
408+
default 2 if NET_IPV6 && NET_IPV4
409+
help
410+
This configuration defines the maximum number of pollable mDNS sockets
411+
to be used within platform mDNS module.
412+
413+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_TREL_SERVICES
414+
int "The maximum number of pollable TREL sockets to be registered in platform code."
415+
depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER
416+
default 1
417+
help
418+
This configuration defines the maximum number of pollable mDNS sockets
419+
to be used within platform mDNS module.
420+
421+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_DHCP6_PD_SERVICES
422+
int "The maximum number of pollable DHCP6_PD sockets to be registered in platform code."
423+
depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER
424+
default 1
425+
help
426+
This configuration defines the maximum number of pollable DHCP6_PD sockets
427+
to be used within platform DHCP6_PD module.
428+
404429
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MSG_POOL_NUM
405430
int "Maximum entries of backbone message pool."
406431
default 10

0 commit comments

Comments
 (0)