[link-metrics] split OPENTHREAD_CONFIG_MLE_LINK_METRICS_ENABLE macro (#6716)

This commit splits OPENTHREAD_CONFIG_MLE_LINK_METRICS_ENABLE macro
into two subsequent ones:
- OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE
- OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE
This commit is contained in:
canisLupus1313
2021-06-22 10:49:53 -07:00
committed by GitHub
parent cf66d1c09a
commit 126e232ad5
41 changed files with 165 additions and 102 deletions
+2 -1
View File
@@ -155,7 +155,8 @@ size_nrf52840_version()
"-DOT_DUA=ON"
"-DOT_MLR=ON"
"-DOT_CSL_RECEIVER=ON"
"-DOT_LINK_METRICS=ON"
"-DOT_LINK_METRICS_INITIATOR=ON"
"-DOT_LINK_METRICS_SUBJECT=ON"
)
fi
+2 -1
View File
@@ -104,7 +104,8 @@ readonly OT_CLANG_TIDY_BUILD_OPTS=(
'-DOT_JOINER=ON'
'-DOT_LEGACY=ON'
'-DOT_LINK_RAW=ON'
'-DOT_LINK_METRICS=ON'
'-DOT_LINK_METRICS_INITIATOR=ON'
'-DOT_LINK_METRICS_SUBJECT=ON'
'-DOT_MAC_FILTER=ON'
'-DOT_MTD_NETDIAG=ON'
'-DOT_PING_SENDER=ON'
+2 -1
View File
@@ -83,7 +83,8 @@ build_simulation()
if [[ ${version} == "1.2" ]]; then
options+=("-DOT_CSL_RECEIVER=ON")
options+=("-DOT_LINK_METRICS=ON")
options+=("-DOT_LINK_METRICS_INITIATOR=ON")
options+=("-DOT_LINK_METRICS_SUBJECT=ON")
fi
if [[ ${ot_extra_options[*]+x} ]]; then