Home
last modified time | relevance | path

Searched refs:aRss (Results 1 – 13 of 13) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dlink_quality.cpp62 Error RssAverager::Add(int8_t aRss) in Add() argument
67 VerifyOrExit(aRss != Radio::kInvalidRssi, error = kErrorInvalidArgs); in Add()
71 aRss = Min<int8_t>(aRss, 0); in Add()
75 newValue = static_cast<uint16_t>(-aRss); in Add()
141 void LinkQualityInfo::AddRss(int8_t aRss) in AddRss() argument
145 VerifyOrExit(aRss != Radio::kInvalidRssi); in AddRss()
147 mLastRss = aRss; in AddRss()
154 SuccessOrExit(mRssAverager.Add(aRss)); in AddRss()
177 uint8_t ComputeLinkMargin(int8_t aNoiseFloor, int8_t aRss) in ComputeLinkMargin() argument
179 int8_t linkMargin = aRss - aNoiseFloor; in ComputeLinkMargin()
[all …]
Dlink_quality.hpp138 Error Add(int8_t aRss);
269 uint8_t ComputeLinkMargin(int8_t aNoiseFloor, int8_t aRss);
337 void AddRss(int8_t aRss);
Dlink_metrics_types.cpp120 void SeriesInfo::AggregateLinkMetrics(uint8_t aFrameType, uint8_t aLqi, int8_t aRss) in AggregateLinkMetrics() argument
126 IgnoreError(mRssAverager.Add(aRss)); in AggregateLinkMetrics()
Dneighbor.cpp200 …id Neighbor::AggregateLinkMetrics(uint8_t aSeriesId, uint8_t aFrameType, uint8_t aLqi, int8_t aRss) in AggregateLinkMetrics() argument
206 entry.AggregateLinkMetrics(aFrameType, aLqi, aRss); in AggregateLinkMetrics()
Dlink_metrics_types.hpp332 void AggregateLinkMetrics(uint8_t aFrameType, uint8_t aLqi, int8_t aRss);
Dneighbor.hpp706 void AggregateLinkMetrics(uint8_t aSeriesId, uint8_t aFrameType, uint8_t aLqi, int8_t aRss);
/openthread-3.6.0/src/core/mac/
Dmac_filter.hpp167 Error AddRssIn(const ExtAddress &aExtAddress, int8_t aRss);
188 void SetDefaultRssIn(int8_t aRss) { mDefaultRssIn = aRss; } in SetDefaultRssIn() argument
227 Error Apply(const ExtAddress &aExtAddress, int8_t &aRss) const;
Dmac_filter.cpp145 Error Filter::AddRssIn(const ExtAddress &aExtAddress, int8_t aRss) in AddRssIn() argument
158 entry->mRssIn = aRss; in AddRssIn()
217 Error Filter::Apply(const ExtAddress &aExtAddress, int8_t &aRss) const in Apply()
224 aRss = mDefaultRssIn; in Apply()
247 aRss = entry->mRssIn; in Apply()
Dmac.hpp557 uint8_t ComputeLinkMargin(int8_t aRss) const;
Dmac.cpp2159 uint8_t Mac::ComputeLinkMargin(int8_t aRss) const { return ot::ComputeLinkMargin(GetNoiseFloor(), a… in ComputeLinkMargin()
/openthread-3.6.0/src/core/api/
Dlink_api.cpp226 otError otLinkFilterAddRssIn(otInstance *aInstance, const otExtAddress *aExtAddress, int8_t aRss) in otLinkFilterAddRssIn() argument
228 return AsCoreType(aInstance).Get<Mac::Filter>().AddRssIn(AsCoreType(aExtAddress), aRss); in otLinkFilterAddRssIn()
236 void otLinkFilterSetDefaultRssIn(otInstance *aInstance, int8_t aRss) in otLinkFilterSetDefaultRssIn() argument
238 AsCoreType(aInstance).Get<Mac::Filter>().SetDefaultRssIn(aRss); in otLinkFilterSetDefaultRssIn()
270 uint8_t otLinkConvertRssToLinkQuality(otInstance *aInstance, int8_t aRss) in otLinkConvertRssToLinkQuality() argument
272 return LinkQualityForLinkMargin(AsCoreType(aInstance).Get<Mac::Mac>().ComputeLinkMargin(aRss)); in otLinkConvertRssToLinkQuality()
/openthread-3.6.0/include/openthread/
Dlink.h808 otError otLinkFilterAddRssIn(otInstance *aInstance, const otExtAddress *aExtAddress, int8_t aRss);
838 void otLinkFilterSetDefaultRssIn(otInstance *aInstance, int8_t aRss);
916 uint8_t otLinkConvertRssToLinkQuality(otInstance *aInstance, int8_t aRss);
/openthread-3.6.0/src/core/common/
Dmessage.hpp1240 void AddRss(int8_t aRss) { IgnoreError(GetMetadata().mRssAverager.Add(aRss)); } in AddRss() argument