Home
last modified time | relevance | path

Searched refs:aRssi (Results 1 – 9 of 9) sorted by relevance

/openthread-3.6.0/examples/platforms/utils/
Dlink_metrics.cpp86 uint8_t GetEnhAckData(uint8_t aLqi, int8_t aRssi, uint8_t *aData) const in GetEnhAckData() argument
103 aData[bytes++] = static_cast<uint8_t>(GetLinkMargin(aRssi) * 255 / in GetEnhAckData()
109 … static_cast<uint8_t>((aRssi + 130) * 255 / 130); // Linear scale RSSI from [-130, 0] to [0, 255] in GetEnhAckData()
137 uint8_t GetLinkMargin(int8_t aRssi) const { return ComputeLinkMargin(sNoiseFloor, aRssi); } in GetLinkMargin()
236 uint8_t otLinkMetricsEnhAckGenData(const otMacAddress *aMacAddress, uint8_t aLqi, int8_t aRssi, uin… in otLinkMetricsEnhAckGenData() argument
243 bytes = dataInfo->GetEnhAckData(aLqi, aRssi, aData); in otLinkMetricsEnhAckGenData()
Dlink_metrics.h98 uint8_t otLinkMetricsEnhAckGenData(const otMacAddress *aMacAddress, uint8_t aLqi, int8_t aRssi, uin…
/openthread-3.6.0/src/core/meshcop/
Djoiner.cpp232 uint8_t Joiner::CalculatePriority(int8_t aRssi, bool aSteeringDataAllowsAny) in CalculatePriority() argument
236 if (aRssi == Radio::kInvalidRssi) in CalculatePriority()
238 aRssi = -127; in CalculatePriority()
242 priority = Clamp<int8_t>(aRssi, -127, -1); in CalculatePriority()
Djoiner.hpp221 uint8_t CalculatePriority(int8_t aRssi, bool aSteeringDataAllowsAny);
/openthread-3.6.0/src/core/thread/
Dlink_metrics.hpp364 uint8_t ScaleRssiToRawValue(int8_t aRssi);
Dlink_metrics.cpp790 uint8_t ScaleRssiToRawValue(int8_t aRssi) in ScaleRssiToRawValue() argument
795 int32_t value = aRssi; in ScaleRssiToRawValue()
/openthread-3.6.0/src/core/mac/
Dmac_frame.hpp1179 void SetRssi(int8_t aRssi) { mInfo.mRxInfo.mRssi = aRssi; } in SetRssi() argument
Dmac.hpp825 void ReportEnergyScanResult(int8_t aRssi);
Dmac.cpp365 void Mac::ReportEnergyScanResult(int8_t aRssi) in ReportEnergyScanResult() argument
369 VerifyOrExit((mEnergyScanHandler != nullptr) && (aRssi != Radio::kInvalidRssi)); in ReportEnergyScanResult()
372 result.mMaxRssi = aRssi; in ReportEnergyScanResult()