Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 12 of 12) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dlink_quality.cpp78 mCount += (mCount < (1 << kCoeffBitShift)); in Add()
81 mAverage = static_cast<uint16_t>(((mAverage * (mCount - 1)) + newValue) / mCount); in Add()
91 VerifyOrExit(mCount != 0, average = Radio::kInvalidRssi); in GetAverage()
110 VerifyOrExit(mCount != 0); in ToString()
121 if (mCount < UINT8_MAX) in Add()
123 mCount++; in Add()
126 count = Min(static_cast<uint8_t>(1 << kCoeffBitShift), mCount); in Add()
Dannounce_sender.cpp58 , mCount(0) in AnnounceSenderBase()
69 mCount += aCount; in SendAnnounce()
77 mCount = aCount; in SendAnnounce()
89 mCount = 0; in Stop()
140 if ((mChannel == mStartingChannel) && (mCount != 0)) in HandleTimer()
142 mCount--; in HandleTimer()
143 VerifyOrExit(mCount != 0); in HandleTimer()
Denergy_scan_server.cpp57 , mCount(0) in EnergyScanServer()
92 mCount = count; in HandleTmf()
113 if (mCount) in HandleTimer()
154 mCount = 0; in HandleScanResult()
166 mCount--; in HandleScanResult()
169 if (mCount) in HandleScanResult()
Dlink_quality.hpp124 bool HasAverage(void) const { return (mCount != 0); } in HasAverage()
187 …uint16_t mCount : 5; // Number of RSS values added to averager so far (limited to 2^kCoeffBitSh… member in ot::RssAverager
221 uint8_t GetCount(void) const { return mCount; } in GetCount()
227 uint8_t mCount; // Number of LQI values added to averager so far. member in ot::LqiAverager
Denergy_scan_server.hpp88 uint8_t mCount; member in ot::EnergyScanServer
Dannounce_sender.hpp194 uint8_t mCount; member in ot::AnnounceSenderBase
Dnetwork_diagnostic.cpp1097 aTlvInfo.mData.mNetworkData.mCount = static_cast<uint8_t>(tlvLength); in GetNextDiagTlv()
1105 uint8_t &addrCount = aTlvInfo.mData.mIp6AddrList.mCount; in GetNextDiagTlv()
1159 uint8_t &childCount = aTlvInfo.mData.mChildTable.mCount; in GetNextDiagTlv()
1190 aTlvInfo.mData.mChannelPages.mCount = in GetNextDiagTlv()
1192 …ssage.ReadBytes(valueOffset, aTlvInfo.mData.mChannelPages.m8, aTlvInfo.mData.mChannelPages.mCount); in GetNextDiagTlv()
/openthread-3.6.0/src/core/utils/
Dping_sender.cpp54 if (mCount == 0) in SetUnspecifiedToDefault()
56 mCount = kDefaultCount; in SetUnspecifiedToDefault()
159 mConfig.mCount--; in SendPing()
161 if (mConfig.mCount > 0) in SendPing()
173 if (mConfig.mCount > 0) in HandleTimer()
221 …if (!mStatistics.mIsMulticast && mConfig.mCount == 0 && aIcmpHeader.GetSequence() == mTargetEchoSe… in HandleIcmpReceive()
227 …if (!mStatistics.mIsMulticast && mConfig.mCount == 0 && aIcmpHeader.GetSequence() == mTargetEchoSe… in HandleIcmpReceive()
/openthread-3.6.0/include/openthread/
Dnetdiag.h296 uint8_t mCount; member
301 uint8_t mCount; member
306 uint8_t mCount; member
312 uint8_t mCount; member
Dping_sender.h117 uint16_t mCount; ///< Number of ping messages to send. Zero to use default. member
/openthread-3.6.0/src/cli/
Dcli_ping.cpp114 SuccessOrExit(error = aArgs[2].ParseAsUint16(config.mCount)); in Process()
Dcli.cpp7942 OutputBytesLine(diagTlv.mData.mNetworkData.m8, diagTlv.mData.mNetworkData.mCount); in HandleDiagnosticGetResponse()
7946 for (uint16_t i = 0; i < diagTlv.mData.mIp6AddrList.mCount; ++i) in HandleDiagnosticGetResponse()
7968 for (uint16_t i = 0; i < diagTlv.mData.mChildTable.mCount; ++i) in HandleDiagnosticGetResponse()
7976 OutputBytes(diagTlv.mData.mChannelPages.m8, diagTlv.mData.mChannelPages.mCount); in HandleDiagnosticGetResponse()