Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tcat zephyr implementation and openthread upmerge #66160

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions modules/openthread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ else()
set(OT_BACKBONE_ROUTER_MULTICAST_ROUTING OFF CACHE BOOL "Enable BBR MR support" FORCE)
endif()

if(CONFIG_OPENTHREAD_BLE_TCAT)
set(OT_BLE_TCAT ON CACHE BOOL "Enable BLE TCAT support" FORCE)
else()
set(OT_BLE_TCAT OFF CACHE BOOL "Enable BLE TCAT support" FORCE)
endif()

if(CONFIG_OPENTHREAD_BORDER_AGENT)
set(OT_BORDER_AGENT ON CACHE BOOL "Enable Border Agent" FORCE)
else()
Expand Down Expand Up @@ -334,6 +340,12 @@ else()
set(OT_MLR OFF CACHE BOOL "Enable Multicast Listener Registration feature for Thread 1.2" FORCE)
endif()

if(CONFIG_OPENTHREAD_MULTIPAN_RCP)
set(OT_MULTIPAN_RCP ON CACHE BOOL "Enable Multi-PAN RCP" FORCE)
else()
set(OT_MULTIPAN_RCP OFF CACHE BOOL "Enable Multi-PAN RCP" FORCE)
endif()

if(CONFIG_OPENTHREAD_MULTIPLE_INSTANCE)
set(OT_MULTIPLE_INSTANCE ON CACHE BOOL "Enable multiple instances" FORCE)
else()
Expand Down
7 changes: 7 additions & 0 deletions modules/openthread/Kconfig.features
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ config OPENTHREAD_BACKBONE_ROUTER_DUA_NDPROXYING
config OPENTHREAD_BACKBONE_ROUTER_MULTICAST_ROUTING
bool "BBR MR support"

config OPENTHREAD_BLE_TCAT
bool "BLE TCAT support"
select EXPERIMENTAL

config OPENTHREAD_BORDER_AGENT
bool "Border Agent support"

Expand Down Expand Up @@ -214,6 +218,9 @@ config OPENTHREAD_MLR
help
Enable Multicast Listener Registration support for Thread 1.2

config OPENTHREAD_MULTIPAN_RCP
bool "OpenThread multipan rcp"

config OPENTHREAD_MULTIPLE_INSTANCE
bool "OpenThread multiple instances"

Expand Down
12 changes: 12 additions & 0 deletions modules/openthread/Kconfig.thread
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,15 @@ config OPENTHREAD_DEFAULT_TX_POWER
default 0
help
Set the default TX output power [dBm] in radio driver for OpenThread purpose.

config OPENTHREAD_BLE_TCAT_THREAD_STACK_SIZE
int "Openthread default TCAT stack size"
default 4200
help
Openthread default TCAT stack size.

config OPENTHREAD_BLE_TCAT_RING_BUF_SIZE
int "Openthread BLE ringbuffer size"
default 512
help
Openthread BLE TCAT ringbuffer size.
1 change: 1 addition & 0 deletions modules/openthread/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ zephyr_library_sources(
spi.c
)

zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_BLE_TCAT ble.c)
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_DIAG diag.c)
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_COPROCESSOR uart.c)
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_CRYPTO_PSA crypto_psa.c)
Expand Down
Loading
Loading