From 0ef278af6b00a0a51a42679f9487d1d378519735 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Thu, 26 Dec 2019 15:15:57 -0300 Subject: [PATCH] [efr32] Radio: change core configurations (#4482) - Set OPENTHREAD_CONFIG_SOFTWARE_CSMA_BACKOFF_ENABLE=0 and OPENTHREAD_CONFIG_SOFTWARE_ENERGY_SCAN_ENABLE=0 according to the implemented hardware capabilities. - Undefine RADIO_CONFIG_SRC_MATCH_*_ENTRY_NUM to let the soft source match table implementation define them as OPENTHREAD_CONFIG_MLE_MAX_CHILDREN --- .../efr32mg12/openthread-core-efr32-config.h | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/examples/platforms/efr32mg12/openthread-core-efr32-config.h b/examples/platforms/efr32mg12/openthread-core-efr32-config.h index 65e1aed7e..e34b16536 100644 --- a/examples/platforms/efr32mg12/openthread-core-efr32-config.h +++ b/examples/platforms/efr32mg12/openthread-core-efr32-config.h @@ -93,7 +93,7 @@ * Define to 1 if you want to enable software CSMA-CA backoff logic. * */ -#define OPENTHREAD_CONFIG_SOFTWARE_CSMA_BACKOFF_ENABLE 1 +#define OPENTHREAD_CONFIG_SOFTWARE_CSMA_BACKOFF_ENABLE 0 /** * @def OPENTHREAD_CONFIG_SOFTWARE_ENERGY_SCAN_ENABLE @@ -101,7 +101,7 @@ * Define to 1 if you want to enable software energy scanning logic. * */ -#define OPENTHREAD_CONFIG_SOFTWARE_ENERGY_SCAN_ENABLE 1 +#define OPENTHREAD_CONFIG_SOFTWARE_ENERGY_SCAN_ENABLE 0 /** * @def SETTINGS_CONFIG_BASE_ADDRESS @@ -127,22 +127,6 @@ */ #define SETTINGS_CONFIG_PAGE_NUM 4 -/** - * @def RADIO_CONFIG_SRC_MATCH_SHORT_ENTRY_NUM - * - * The number of short source address table entries. - * - */ -#define RADIO_CONFIG_SRC_MATCH_SHORT_ENTRY_NUM 6 - -/** - * @def RADIO_CONFIG_SRC_MATCH_EXT_ENTRY_NUM - * - * The number of extended source address table entries. - * - */ -#define RADIO_CONFIG_SRC_MATCH_EXT_ENTRY_NUM 6 - /** * @def OPENTHREAD_CONFIG_NCP_UART_ENABLE *