/openthread-3.6.0/src/core/thread/ |
D | link_quality.cpp | 62 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 …]
|
D | link_quality.hpp | 138 Error Add(int8_t aRss); 269 uint8_t ComputeLinkMargin(int8_t aNoiseFloor, int8_t aRss); 337 void AddRss(int8_t aRss);
|
D | link_metrics_types.cpp | 120 void SeriesInfo::AggregateLinkMetrics(uint8_t aFrameType, uint8_t aLqi, int8_t aRss) in AggregateLinkMetrics() argument 126 IgnoreError(mRssAverager.Add(aRss)); in AggregateLinkMetrics()
|
D | neighbor.cpp | 200 …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()
|
D | link_metrics_types.hpp | 332 void AggregateLinkMetrics(uint8_t aFrameType, uint8_t aLqi, int8_t aRss);
|
D | neighbor.hpp | 706 void AggregateLinkMetrics(uint8_t aSeriesId, uint8_t aFrameType, uint8_t aLqi, int8_t aRss);
|
/openthread-3.6.0/src/core/mac/ |
D | mac_filter.hpp | 167 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;
|
D | mac_filter.cpp | 145 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()
|
D | mac.hpp | 557 uint8_t ComputeLinkMargin(int8_t aRss) const;
|
D | mac.cpp | 2159 uint8_t Mac::ComputeLinkMargin(int8_t aRss) const { return ot::ComputeLinkMargin(GetNoiseFloor(), a… in ComputeLinkMargin()
|
/openthread-3.6.0/src/core/api/ |
D | link_api.cpp | 226 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/ |
D | link.h | 808 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/ |
D | message.hpp | 1240 void AddRss(int8_t aRss) { IgnoreError(GetMetadata().mRssAverager.Add(aRss)); } in AddRss() argument
|