Skip to content

Commit

Permalink
net: openthread: add wake-up end device support
Browse files Browse the repository at this point in the history
Add Kconfig option to enable the Wake-up End Device role.

Signed-off-by: Eduardo Montoya <[email protected]>
Signed-off-by: Damian Krolik <[email protected]>
Signed-off-by: Andrzej Kuroś <[email protected]>
  • Loading branch information
ankuns committed Nov 12, 2024
1 parent be05516 commit 77839d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/openthread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ kconfig_to_ot_option(CONFIG_OPENTHREAD_UDP_FORWARD OT_UDP_FORWARD "Enable UDP fo
kconfig_to_ot_option(CONFIG_OPENTHREAD_UPTIME OT_UPTIME "Enable support for tracking OpenThread instance's uptime")
kconfig_to_ot_option(CONFIG_OPENTHREAD_VERHOEFF_CHECKSUM OT_VERHOEFF_CHECKSUM "Verhoeff checksum")
kconfig_to_ot_option(CONFIG_OPENTHREAD_WAKEUP_COORDINATOR OT_WAKEUP_COORDINATOR "Enable Wake-up Coordinator role")
kconfig_to_ot_option(CONFIG_OPENTHREAD_WAKEUP_END_DEVICE OT_WAKEUP_END_DEVICE "Enable Wake-up End Device role")

if(CONFIG_OPENTHREAD_COPROCESSOR_VENDOR_HOOK_SOURCE)
set(OT_NCP_VENDOR_HOOK_SOURCE ${CONFIG_OPENTHREAD_COPROCESSOR_VENDOR_HOOK_SOURCE} CACHE STRING "NCP vendor hook source file name" FORCE)
Expand Down
4 changes: 4 additions & 0 deletions modules/openthread/Kconfig.features
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ config OPENTHREAD_WAKEUP_COORDINATOR
bool "Wake-up Coordinator support"
select OPENTHREAD_CSL_RECEIVER

config OPENTHREAD_WAKEUP_END_DEVICE
bool "Wake-up End Device support"
imply OPENTHREAD_CSL_RECEIVER

config OPENTHREAD_DHCP6_CLIENT
bool "DHCPv6 client support"

Expand Down

0 comments on commit 77839d0

Please sign in to comment.