From 5689258651cfee9dd7da10a9f927cdcc5f5ed5ec Mon Sep 17 00:00:00 2001 From: Suvesh Pratapa Date: Mon, 27 Nov 2023 15:04:44 -0500 Subject: [PATCH] WIP SSED fixes GSDK 4.3.2 --- .../platform/silabs/efr32/project_include/OpenThreadConfig.h | 2 ++ scripts/examples/gn_silabs_example.sh | 4 ++-- third_party/silabs/efr32_sdk.gni | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h b/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h index 98122eaeefc0e1..f2927a9a0f4f39 100644 --- a/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h +++ b/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h @@ -49,6 +49,8 @@ #define OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 1 #define OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE 1 #define OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE 1 +#define OPENTHREAD_CONFIG_CHILD_SUPERVISION_CHECK_TIMEOUT 0 +#define SL_OPENTHREAD_CSL_TX_UNCERTAINTY 200 #endif // SL_ICD_ENABLED diff --git a/scripts/examples/gn_silabs_example.sh b/scripts/examples/gn_silabs_example.sh index b4684c7e7e91ba..1a4c1c3ccc862a 100755 --- a/scripts/examples/gn_silabs_example.sh +++ b/scripts/examples/gn_silabs_example.sh @@ -88,7 +88,7 @@ if [ "$#" == "0" ]; then Must also set chip_openthread_ftd=false enable_synchronized_sed Enable Synchronized Sleepy end device. (Default false) - Must also set enable_sleepy_device=true chip_openthread_ftd=false + Must also set chip_enable_icd_server=true chip_openthread_ftd=false use_rs9116 Build wifi example with extension board rs9116. (Default false) use_SiWx917 @@ -192,7 +192,7 @@ else shift ;; --ssed) - optArgs+="enable_sleepy_device=true enable_synchronized_sed=true chip_openthread_ftd=false " + optArgs+="chip_enable_icd_server=true enable_synchronized_sed=true chip_openthread_ftd=false " shift ;; --low-power) diff --git a/third_party/silabs/efr32_sdk.gni b/third_party/silabs/efr32_sdk.gni index b3fece150549d2..25922e78f91c3c 100644 --- a/third_party/silabs/efr32_sdk.gni +++ b/third_party/silabs/efr32_sdk.gni @@ -415,6 +415,8 @@ template("efr32_sdk") { "OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1", "OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=1", "OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE=1", + "OPENTHREAD_CONFIG_CHILD_SUPERVISION_CHECK_TIMEOUT=0", + "SL_OPENTHREAD_CSL_TX_UNCERTAINTY=200", "OPENTHREAD_CONFIG_CSL_TIMEOUT=${sl_ot_csl_timeout_sec}", ] }