Home
last modified time | relevance | path

Searched refs:mLinkMargin (Results 1 – 21 of 21) sorted by relevance

/openthread-3.6.0/examples/platforms/utils/
Dlink_metrics.cpp101 if (mLinkMetrics.mLinkMargin) in GetEnhAckData()
124 … return static_cast<uint8_t>(mLinkMetrics.mLqi) + static_cast<uint8_t>(mLinkMetrics.mLinkMargin) + in GetEnhAckDataLen()
177 …return !aLinkMetrics.mPduCount && !aLinkMetrics.mLqi && !aLinkMetrics.mLinkMargin && !aLinkMetrics… in IsLinkMetricsClear()
/openthread-3.6.0/include/openthread/
Dmesh_diag.h256 uint8_t mLinkMargin; ///< Link Margin in dB. member
362 uint8_t mLinkMargin; ///< Link Margin in dB. member
Dthread.h101 uint8_t mLinkMargin; ///< Link Margin member
/openthread-3.6.0/src/core/utils/
Dlink_metrics_manager.cpp90 aMetricsValues.mLinkMarginValue = subject->mData.mLinkMargin; in GetLinkMetricsValueByExtAddr()
266 …VerifyOrExit(aMetricsValues->mMetrics.mRssi && aMetricsValues->mMetrics.mLinkMargin, error = kErro… in HandleEnhAckIe()
269 subject->mData.mLinkMargin = aMetricsValues->mLinkMarginValue; in HandleEnhAckIe()
298 metricsFlags.mLinkMargin = 1; in ConfigureEap()
Dlink_metrics_manager.hpp113 uint8_t mLinkMargin; ///< Link Margin. The relative signal strength is recorded as member
Dmesh_diag.cpp611 mLinkMargin = aChildTlv.GetLinkMargin(); in SetFrom()
632 mLinkMargin = aTlv.GetLinkMargin(); in SetFrom()
/openthread-3.6.0/src/core/thread/
Dlink_metrics.cpp201 values.mMetrics.mLinkMargin = true; in HandleReport()
376 if (values.GetMetrics().mLinkMargin && idx < aLength) in ProcessEnhAckIeData()
620 if (aValues.mMetrics.mLinkMargin) in AppendReportSubTlvToMessage()
668 VerifyOrExit(!aMetrics.mLinkMargin, error = kErrorParse); in ReadTypeIdsFromMessage()
669 aMetrics.mLinkMargin = true; in ReadTypeIdsFromMessage()
742 … VerifyOrExit(aMetrics.mLqi || aMetrics.mLinkMargin || aMetrics.mRssi, status = kStatusOtherError); in ConfigureEnhAckProbing()
743 …VerifyOrExit(!(aMetrics.mLqi && aMetrics.mLinkMargin && aMetrics.mRssi), status = kStatusOtherErro… in ConfigureEnhAckProbing()
749 …VerifyOrExit(!aMetrics.mLqi && !aMetrics.mLinkMargin && !aMetrics.mRssi, status = kStatusOtherErro… in ConfigureEnhAckProbing()
Dnetwork_diagnostic_tlvs.cpp62 mLinkMargin = aChild.GetLinkInfo().GetLinkMargin(); in InitFrom()
89 mLinkMargin = aRouter.GetLinkInfo().GetLinkMargin(); in InitFrom()
Dnetwork_diagnostic_tlvs.hpp791 uint8_t GetLinkMargin(void) const { return mLinkMargin; } in GetLinkMargin()
872 uint8_t mLinkMargin; // Link margin in dB. member in ot::NetworkDiagnostic::ChildTlv
989 uint8_t GetLinkMargin(void) const { return mLinkMargin; } in GetLinkMargin()
1035 uint8_t mLinkMargin; // Link Margin. member in ot::NetworkDiagnostic::RouterNeighborTlv
Dlink_metrics_types.cpp61 if (mLinkMargin) in ConvertToTypeIds()
Dneighbor.cpp102 mLinkMargin = aNeighbor.GetLinkInfo().GetLinkMargin(); in SetFrom()
Dneighbor.hpp770 return (mEnhAckProbingMetrics.mLqi != 0) || (mEnhAckProbingMetrics.mLinkMargin != 0) || in IsEnhAckProbingActive()
Dmle.hpp1167 uint8_t mLinkMargin; member in ot::Mle::Mle::ParentCandidate
Dmle.cpp3126 rval = ThreeWayCompare(aLinkMargin, mParentCandidate.mLinkMargin); in IsBetterParent()
3331 mParentCandidate.mLinkMargin = linkMargin; in HandleParentResponse()
/openthread-3.6.0/tests/unit/
Dtest_link_metrics_manager.cpp98 aLinkMetricsValues.mMetrics.mLinkMargin = true; in SetTestLinkMetricsValues()
174 VerifyOrQuit(subject1->mData.mLinkMargin == kTestLinkMargin); in TestLinkMetricsManager()
/openthread-3.6.0/src/cli/
Dcli_link_metrics.cpp386 aLinkMetrics.mLinkMargin = true; in ParseLinkMetricsFlags()
424 if (aMetricsValues->mMetrics.mLinkMargin) in PrintLinkMetricsValue()
Dcli.cpp5265 aChildEntry->mLinkMargin); in HandleMeshDiagQueryChildTableResult()
5305 aNeighborEntry->mLinkMargin); in HandleMeshDiagQueryRouterNeighborTableResult()
/openthread-3.6.0/include/openthread/platform/
Dradio.h433 bool mLinkMargin : 1; ///< Link Margin. member
/openthread-3.6.0/src/ncp/
Dncp_base.cpp2660 aMetrics->mLinkMargin = true; in DecodeLinkMetrics()
Dncp_base_mtd.cpp238 if (aMetricsValues->mMetrics.mLinkMargin) in EncodeLinkMetricsValues()
/openthread-3.6.0/src/lib/spinel/
Dradio_spinel.cpp2335 if (aLinkMetrics.mLinkMargin) in ConfigureEnhAckProbing()