Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/thread/
Dlink_quality.cpp79 mCount += (mCount < (1 << kCoeffBitShift)); in Add()
82 mAverage = static_cast<uint16_t>(((mAverage * (mCount - 1)) + newValue) / mCount); in Add()
92 VerifyOrExit(mCount != 0, average = OT_RADIO_RSSI_INVALID); in GetAverage()
111 VerifyOrExit(mCount != 0); in ToString()
122 if (mCount < UINT8_MAX) in Add()
124 mCount++; in Add()
126 count = OT_MIN((1 << kCoeffBitShift), mCount); in Add()
Dannounce_sender.cpp56 , mCount(0) in AnnounceSenderBase()
67 mCount += aCount; in SendAnnounce()
75 mCount = aCount; in SendAnnounce()
87 mCount = 0; in Stop()
138 if ((mChannel == mStartingChannel) && (mCount != 0)) in HandleTimer()
140 mCount--; in HandleTimer()
141 VerifyOrExit(mCount != 0); in HandleTimer()
Denergy_scan_server.cpp55 , mCount(0) in EnergyScanServer()
88 mCount = count; in HandleRequest()
116 if (mCount) in HandleTimer()
153 mCount--; in HandleScanResult()
156 if (mCount) in HandleScanResult()
Dlink_quality.hpp123 bool HasAverage(void) const { return (mCount != 0); } in HasAverage()
186 …uint16_t mCount : 5; // Number of RSS values added to averager so far (limited to 2^kCoeffBitSh… member in ot::RssAverager
220 uint8_t GetCount(void) const { return mCount; } in GetCount()
226 uint8_t mCount; // Number of LQI values added to averager so far. member in ot::LqiAverager
Denergy_scan_server.hpp87 uint8_t mCount; member in ot::EnergyScanServer
Dannounce_sender.hpp194 uint8_t mCount; member in ot::AnnounceSenderBase
Dnetwork_diagnostic.cpp800 aNetworkDiagTlv.mData.mNetworkData.mCount = networkData.GetLength(); in GetNextDiagTlv()
813 … aNetworkDiagTlv.mData.mIp6AddrList.mCount = ip6AddrList.GetLength() / OT_IP6_ADDRESS_SIZE; in GetNextDiagTlv()
850 aNetworkDiagTlv.mData.mChildTable.mCount = childTable.GetNumEntries(); in GetNextDiagTlv()
859 aNetworkDiagTlv.mData.mChannelPages.mCount = tlv.GetLength(); in GetNextDiagTlv()
/openthread-2.7.6/src/core/utils/
Dping_sender.cpp54 if (mCount == 0) in SetUnspecifiedToDefault()
56 mCount = kDefaultCount; in SetUnspecifiedToDefault()
158 mConfig.mCount--; in SendPing()
160 if (mConfig.mCount > 0) in SendPing()
177 if (mConfig.mCount > 0) in HandleTimer()
227 …if (!mStatistics.mIsMulticast && mConfig.mCount == 0 && aIcmpHeader.GetSequence() == mTargetEchoSe… in HandleIcmpReceive()
233 …if (!mStatistics.mIsMulticast && mConfig.mCount == 0 && aIcmpHeader.GetSequence() == mTargetEchoSe… in HandleIcmpReceive()
/openthread-2.7.6/include/openthread/
Dnetdiag.h242 uint8_t mCount; member
247 uint8_t mCount; member
252 uint8_t mCount; member
258 uint8_t mCount; member
Dping_sender.h117 uint16_t mCount; ///< Number of ping messages to send. Zero to use default. member
/openthread-2.7.6/src/cli/
Dcli.cpp3183 SuccessOrExit(error = aArgs[2].ParseAsUint16(config.mCount)); in ProcessPing()
4778 OutputBytes(diagTlv.mData.mNetworkData.m8, diagTlv.mData.mNetworkData.mCount); in HandleDiagnosticGetResponse()
4783 for (uint16_t i = 0; i < diagTlv.mData.mIp6AddrList.mCount; ++i) in HandleDiagnosticGetResponse()
4802 for (uint16_t i = 0; i < diagTlv.mData.mChildTable.mCount; ++i) in HandleDiagnosticGetResponse()
4810 OutputBytes(diagTlv.mData.mChannelPages.m8, diagTlv.mData.mChannelPages.mCount); in HandleDiagnosticGetResponse()