Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 11 of 11) sorted by relevance

/openthread-latest/src/lib/spinel/
Dlogger.cpp620 otRadioCoexMetrics metrics; in LogSpinelFrame() local
644 &metrics.mNumTxRequest, &metrics.mNumTxGrantImmediate, &metrics.mNumTxGrantWait, in LogSpinelFrame()
645 &metrics.mNumTxGrantWaitActivated, &metrics.mNumTxGrantWaitTimeout, in LogSpinelFrame()
646 &metrics.mNumTxGrantDeactivatedDuringRequest, &metrics.mNumTxDelayedGrant, in LogSpinelFrame()
647 … &metrics.mAvgTxRequestToGrantTime, &metrics.mNumRxRequest, &metrics.mNumRxGrantImmediate, in LogSpinelFrame()
648 … &metrics.mNumRxGrantWait, &metrics.mNumRxGrantWaitActivated, &metrics.mNumRxGrantWaitTimeout, in LogSpinelFrame()
649 &metrics.mNumRxGrantDeactivatedDuringRequest, &metrics.mNumRxDelayedGrant, in LogSpinelFrame()
650 …&metrics.mAvgRxRequestToGrantTime, &metrics.mNumRxGrantNone, &metrics.mStopped, &metrics.mNumGrant… in LogSpinelFrame()
655 LogDebg(" txRequest:%lu", ToUlong(metrics.mNumTxRequest)); in LogSpinelFrame()
656 LogDebg(" txGrantImmediate:%lu", ToUlong(metrics.mNumTxGrantImmediate)); in LogSpinelFrame()
[all …]
/openthread-latest/src/core/thread/
Dlink_metrics.cpp293 Metrics metrics; in SendMgmtRequestEnhAckProbing() local
295 metrics.Clear(); in SendMgmtRequestEnhAckProbing()
296 neighbor->SetEnhAckProbingMetrics(metrics); in SendMgmtRequestEnhAckProbing()
524 Metrics metrics; in HandleManagementRequest() local
574 SuccessOrExit(error = ReadTypeIdsFromMessage(aMessage, tlvOffsetRange, metrics)); in HandleManagementRequest()
580 metrics, aNeighbor); in HandleManagementRequest()
585 aStatus = ConfigureEnhAckProbing(enhAckConfigSubTlv.GetEnhAckFlags(), metrics, aNeighbor); in HandleManagementRequest()
/openthread-latest/tools/cp-caps/
DREADME.md65 -l, --link-metrics test whether the RCP supports link metrics
152 The parameter `-l` or `--link-metrics` starts to test whether the RCP supports link metrics.
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_input.c148 struct hc_metrics_lite metrics; in cc_conn_init() local
156 tcp_hc_get(tp, &metrics); in cc_conn_init()
158 if (tp->t_srtt == 0 && (rtt = metrics.rmx_rtt)) { in cc_conn_init()
161 if (metrics.rmx_rttvar) { in cc_conn_init()
162 tp->t_rttvar = metrics.rmx_rttvar; in cc_conn_init()
172 if (metrics.rmx_ssthresh) { in cc_conn_init()
179 tp->snd_ssthresh = max(2 * tp->t_maxseg, metrics.rmx_ssthresh); in cc_conn_init()
3019 struct hc_metrics_lite metrics; in tcp_mss_update() local
3074 tcp_hc_get(tp, &metrics); in tcp_mss_update()
3076 bcopy(&metrics, metricptr, sizeof(struct hc_metrics_lite)); in tcp_mss_update()
[all …]
/openthread-latest/tools/harness-thci/
DOpenThread.py2960 def mapMetricsHexToChar(metrics): argument
2968 if metricsFlagMap.get(metrics):
2969 return metricsFlagMap.get(metrics), False
2970 elif metricsReservedFlagMap.get(metrics):
2971 return metricsReservedFlagMap.get(metrics), True
2973 logging.warning("Not found flag mapping for given metrics: {}".format(metrics))
2977 def getMetricsFlagsFromHexStr(metrics): argument
2981 if metrics.startswith('0x'):
2982 metrics = metrics[2:]
2983 hexMetricsArray = bytearray.fromhex(metrics)
[all …]
/openthread-latest/tests/unit/
Dtest_platform.cpp471 otLinkMetrics metrics; in otPlatRadioGetEnhAckProbingMetrics() local
473 memset(&metrics, 0, sizeof(metrics)); in otPlatRadioGetEnhAckProbingMetrics()
475 return metrics; in otPlatRadioGetEnhAckProbingMetrics()
/openthread-latest/etc/gn/
Dopenthread.gni162 # Enable link metrics initiator
165 # Enable link metrics subject
/openthread-latest/etc/cmake/
Doptions.cmake215 …INK_METRICS_INITIATOR OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE "link metrics initiator")
216 ot_option(OT_LINK_METRICS_MANAGER OPENTHREAD_CONFIG_LINK_METRICS_MANAGER_ENABLE "link metrics mana…
217 ot_option(OT_LINK_METRICS_SUBJECT OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE "link metrics s…
/openthread-latest/src/ncp/
Dncp_base.cpp2699 uint8_t metrics = 0; in DecodeLinkMetrics() local
2701 SuccessOrExit(error = mDecoder.ReadUint8(metrics)); in DecodeLinkMetrics()
2703 if (metrics & SPINEL_THREAD_LINK_METRIC_PDU_COUNT) in DecodeLinkMetrics()
2709 if (metrics & SPINEL_THREAD_LINK_METRIC_LQI) in DecodeLinkMetrics()
2714 if (metrics & SPINEL_THREAD_LINK_METRIC_LINK_MARGIN) in DecodeLinkMetrics()
2719 if (metrics & SPINEL_THREAD_LINK_METRIC_RSSI) in DecodeLinkMetrics()
/openthread-latest/src/cli/
Dcli.cpp2006 otRadioCoexMetrics metrics; in Process() local
2008 SuccessOrExit(error = otPlatRadioGetCoexMetrics(GetInstancePtr(), &metrics)); in Process()
2010 OutputLine("Stopped: %s", metrics.mStopped ? "true" : "false"); in Process()
2011 OutputLine("Grant Glitch: %lu", ToUlong(metrics.mNumGrantGlitch)); in Process()
2016 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process()
2023 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process()
DREADME.md946 ### coex metrics
948 Show coex metrics.
953 > coex metrics
956 Transmit metrics
965 Receive metrics
1956 - qmr: This specifies what metrics to query. At most two options are allowed to select (per spec 4.…
1992 - pqmr: This specifies what metrics to query.
2029 - pqmr: This specifies what metrics to query.