Merge branch 'support/add_kconfig_for_mac_filter' into 'master'

openthread: add kconfig for mac filter

See merge request espressif/esp-idf!23849
This commit is contained in:
Shu Chen 2023-05-24 14:42:47 +08:00
commit 243b286ddc
3 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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