mirror of
https://github.com/espressif/openthread.git
synced 2026-09-11 03:30:09 +00:00
[link-metrics] support at least one series per child (#7416)
Thread Conformance document requires a Link Metrics Subject to support at least one Link Metrics series (forward or enhanced ACK) per connected SED. Make sure this is the default configuration.
This commit is contained in:
@@ -153,7 +153,7 @@ private:
|
||||
|
||||
enum
|
||||
{
|
||||
kMaxEnhAckProbingInitiator = 10,
|
||||
kMaxEnhAckProbingInitiator = OPENTHREAD_CONFIG_MLE_LINK_METRICS_MAX_SERIES_SUPPORTED,
|
||||
};
|
||||
|
||||
typedef Pool<LinkMetricsDataInfo, kMaxEnhAckProbingInitiator> LinkMetricsDataInfoPool;
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
*
|
||||
*/
|
||||
#ifndef OPENTHREAD_CONFIG_MLE_LINK_METRICS_MAX_SERIES_SUPPORTED
|
||||
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_MAX_SERIES_SUPPORTED 10
|
||||
#define OPENTHREAD_CONFIG_MLE_LINK_METRICS_MAX_SERIES_SUPPORTED OPENTHREAD_CONFIG_MLE_MAX_CHILDREN
|
||||
#endif
|
||||
|
||||
#endif // CONFIG_MLE_H_
|
||||
|
||||
Reference in New Issue
Block a user