diff --git a/components/openthread/Kconfig b/components/openthread/Kconfig index ac195606a3..03f154d11c 100644 --- a/components/openthread/Kconfig +++ b/components/openthread/Kconfig @@ -201,6 +201,13 @@ menu "OpenThread" help Select this option to enable link metrics feature + config OPENTHREAD_MACFILTER_ENABLE + bool "Enable mac filter feature" + depends on OPENTHREAD_ENABLED + default n + help + Select this option to enable mac filter feature + config OPENTHREAD_CSL_ENABLE bool "Enable CSL feature" depends on OPENTHREAD_ENABLED diff --git a/components/openthread/private_include/openthread-core-esp32x-ftd-config.h b/components/openthread/private_include/openthread-core-esp32x-ftd-config.h index 040453a84c..2cb8ede33c 100644 --- a/components/openthread/private_include/openthread-core-esp32x-ftd-config.h +++ b/components/openthread/private_include/openthread-core-esp32x-ftd-config.h @@ -408,6 +408,10 @@ #define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 1 #endif +#if CONFIG_OPENTHREAD_MACFILTER_ENABLE +#define OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 1 +#endif + #if CONFIG_OPENTHREAD_JOINER #define OPENTHREAD_CONFIG_JOINER_ENABLE 1 #endif diff --git a/components/openthread/private_include/openthread-core-esp32x-mtd-config.h b/components/openthread/private_include/openthread-core-esp32x-mtd-config.h index 463934f433..7ecfbca1c1 100644 --- a/components/openthread/private_include/openthread-core-esp32x-mtd-config.h +++ b/components/openthread/private_include/openthread-core-esp32x-mtd-config.h @@ -212,6 +212,10 @@ #define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 0 #endif +#if CONFIG_OPENTHREAD_MACFILTER_ENABLE +#define OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 1 +#endif // CONFIG_OPENTHREAD_MACFILTER_ENABLE + #if CONFIG_OPENTHREAD_JOINER #define OPENTHREAD_CONFIG_JOINER_ENABLE 0 #endif