Home
last modified time | relevance | path

Searched refs:mInfo (Results 1 – 21 of 21) sorted by relevance

/openthread-3.6.0/src/core/mac/
Dmac_frame.hpp1171 int8_t GetRssi(void) const { return mInfo.mRxInfo.mRssi; } in GetRssi()
1179 void SetRssi(int8_t aRssi) { mInfo.mRxInfo.mRssi = aRssi; } in SetRssi()
1187 uint8_t GetLqi(void) const { return mInfo.mRxInfo.mLqi; } in GetLqi()
1195 void SetLqi(uint8_t aLqi) { mInfo.mRxInfo.mLqi = aLqi; } in SetLqi()
1204 bool IsAckedWithFramePending(void) const { return mInfo.mRxInfo.mAckedWithFramePending; } in IsAckedWithFramePending()
1221 const uint64_t &GetTimestamp(void) const { return mInfo.mRxInfo.mTimestamp; } in GetTimestamp()
1285 uint8_t GetRxChannelAfterTxDone(void) const { return mInfo.mTxInfo.mRxChannelAfterTxDone; } in GetRxChannelAfterTxDone()
1293 … void SetRxChannelAfterTxDone(uint8_t aChannel) { mInfo.mTxInfo.mRxChannelAfterTxDone = aChannel; } in SetRxChannelAfterTxDone()
1305 uint8_t GetMaxCsmaBackoffs(void) const { return mInfo.mTxInfo.mMaxCsmaBackoffs; } in GetMaxCsmaBackoffs()
1317 …void SetMaxCsmaBackoffs(uint8_t aMaxCsmaBackoffs) { mInfo.mTxInfo.mMaxCsmaBackoffs = aMaxCsmaBacko… in SetMaxCsmaBackoffs()
[all …]
Dsub_mac.cpp319 ToUlong(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp))); in LogReceived()
327 deviation = aFrame->mInfo.mRxInfo.mTimestamp + kRadioHeaderPhrDuration - sampleTime; in LogReceived()
364 …if (!ShouldHandleTransmitSecurity() && aFrame != nullptr && aFrame->mInfo.mRxInfo.mAckedWithSecEnh… in HandleReceiveDone()
366 … SignalFrameCounterUsed(aFrame->mInfo.mRxInfo.mAckFrameCounter, aFrame->mInfo.mRxInfo.mAckKeyId); in HandleReceiveDone()
376 if ((mCslPeriod > 0) && aFrame->mInfo.mRxInfo.mAckedWithSecEnhAck) in HandleReceiveDone()
381 mCslLastSync = TimeMicro(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp)); in HandleReceiveDone()
490 if (mTransmitFrame.mInfo.mTxInfo.mTxDelay != 0) in StartCsmaBackoff()
497 … Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime) + mTransmitFrame.mInfo.mTxInfo.mTxDelay - in StartCsmaBackoff()
500 … mTimer.StartAt(Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime) - kCcaSampleInterval - in StartCsmaBackoff()
502 mTransmitFrame.mInfo.mTxInfo.mTxDelay); in StartCsmaBackoff()
[all …]
Dmac_frame.cpp1314 otRadioIeInfo *ieInfoBuffer = mInfo.mTxInfo.mIeInfo; in CopyFrom()
1325 mInfo.mTxInfo.mIeInfo = ieInfoBuffer; in CopyFrom()
1335 memcpy(mInfo.mTxInfo.mIeInfo, aFromFrame.mInfo.mTxInfo.mIeInfo, sizeof(otRadioIeInfo)); in CopyFrom()
1388 memset(&mInfo.mTxInfo, 0, sizeof(mInfo.mTxInfo)); in GenerateImmAck()
1452 memset(&mInfo.mTxInfo, 0, sizeof(mInfo.mTxInfo)); in GenerateEnhAck()
Ddata_poll_sender.cpp347 if (aFrame.mInfo.mTxInfo.mIsARetx && (aFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) != nullptr)) in ProcessTxDone()
/openthread-3.6.0/src/core/thread/
Daddress_resolver.hpp270 …const Ip6::InterfaceIdentifier &GetMeshLocalIid(void) const { return mInfo.mCached.mMeshLocalIid; } in GetMeshLocalIid()
271 … void SetMeshLocalIid(const Ip6::InterfaceIdentifier &aIid) { mInfo.mCached.mMeshLocalIid = aIid; } in SetMeshLocalIid()
273 uint32_t GetLastTransactionTime(void) const { return mInfo.mCached.mLastTransactionTime; } in GetLastTransactionTime()
274 … void SetLastTransactionTime(uint32_t aTime) { mInfo.mCached.mLastTransactionTime = aTime; } in SetLastTransactionTime()
278 void DecrementTimeout(void) { mInfo.mOther.mTimeout--; } in DecrementTimeout()
279 bool IsTimeoutZero(void) const { return mInfo.mOther.mTimeout == 0; } in IsTimeoutZero()
280 uint16_t GetTimeout(void) const { return mInfo.mOther.mTimeout; } in GetTimeout()
281 void SetTimeout(uint16_t aTimeout) { mInfo.mOther.mTimeout = aTimeout; } in SetTimeout()
283 uint16_t GetRetryDelay(void) const { return mInfo.mOther.mRetryDelay; } in GetRetryDelay()
284 void SetRetryDelay(uint16_t aDelay) { mInfo.mOther.mRetryDelay = aDelay; } in SetRetryDelay()
[all …]
Dnetwork_data_publisher.cpp520 if (aInfo == mInfo) in Publish()
529 mInfo = aInfo; in Publish()
549 mInfo.SetAddress(Get<Mle::Mle>().GetMeshLocal64()); in HandleNotifierEvents()
577 Service::DnsSrpAnycast::ServiceData(mInfo.GetSequenceNumber()))); in Add()
582 Service::DnsSrpUnicast::ServiceData(mInfo.GetAddress(), mInfo.GetPort()))); in Add()
587 Service::DnsSrpUnicast::ServerData(mInfo.GetAddress(), mInfo.GetPort()))); in Add()
609 Service::DnsSrpAnycast::ServiceData(mInfo.GetSequenceNumber()))); in Remove()
614 Service::DnsSrpUnicast::ServiceData(mInfo.GetAddress(), mInfo.GetPort()))); in Remove()
681 Service::DnsSrpAnycast::ServiceData serviceData(mInfo.GetSequenceNumber()); in CountAnycastEntries()
Dneighbor_table.cpp284 … static_cast<Child::Info &>(info.mInfo.mChild).SetFrom(static_cast<const Child &>(aNeighbor)); in Signal()
290 static_cast<Neighbor::Info &>(info.mInfo.mRouter).SetFrom(aNeighbor); in Signal()
Dnetwork_data_publisher.hpp433 Type GetType(void) const { return mInfo.GetType(); } in GetType()
442 Info mInfo; member in ot::NetworkData::Publisher::DnsSrpServiceEntry
/openthread-3.6.0/src/ncp/
Dncp_base_radio.cpp85 SuccessOrExit(mEncoder.WriteInt8(aFrame ? aFrame->mInfo.mRxInfo.mRssi : 0)); // RSSI in PackRadioFrame()
90 if (aFrame->mInfo.mRxInfo.mAckedWithFramePending) in PackRadioFrame()
95 if (aFrame->mInfo.mRxInfo.mAckedWithSecEnhAck) in PackRadioFrame()
105 SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mLqi in PackRadioFrame()
108 …SuccessOrExit(mEncoder.WriteUint64(aFrame ? aFrame->mInfo.mRxInfo.mTimestamp : 0)); // The timesta… in PackRadioFrame()
116 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mAckKeyId : 0)); // The ACK auxil… in PackRadioFrame()
118 …mEncoder.WriteUint32(aFrame ? aFrame->mInfo.mRxInfo.mAckFrameCounter : 0)); // The ACK auxiliary f… in PackRadioFrame()
450 aFrame.mInfo.mTxInfo.mRxChannelAfterTxDone = aFrame.mChannel; in DecodeStreamRawTxRequest()
451 aFrame.mInfo.mTxInfo.mMaxCsmaBackoffs = OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT; in DecodeStreamRawTxRequest()
452 …aFrame.mInfo.mTxInfo.mMaxFrameRetries = OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIREC… in DecodeStreamRawTxRequest()
[all …]
Dncp_base_ftd.cpp142 VerifyOrExit(!aEntry.mInfo.mChild.mIsStateRestoring); in HandleNeighborTableChanged()
164 SuccessOrExit(error = EncodeChildInfo(aEntry.mInfo.mChild)); in HandleNeighborTableChanged()
168 SuccessOrExit(error = EncodeNeighborInfo(aEntry.mInfo.mRouter)); in HandleNeighborTableChanged()
Dncp_base_mtd.cpp4501 SuccessOrExit(mEncoder.WriteInt8(aFrame->mInfo.mRxInfo.mRssi)); // RSSI in HandlePcapFrame()
/openthread-3.6.0/tests/unit/
Dtest_dns_client.cpp417 mInfo.mHostNameBuffer = mNameBuffer; in Reset()
418 mInfo.mHostNameBufferSize = sizeof(mNameBuffer); in Reset()
419 mInfo.mTxtData = mTxtBuffer; in Reset()
420 mInfo.mTxtDataSize = sizeof(mTxtBuffer); in Reset()
425 Dns::Client::ServiceInfo mInfo; member
453 SuccessOrQuit(response.GetServiceInfo(sResolveServiceInfo.mInfo)); in ServiceCallback()
460 error = response.GetHostAddress(sResolveServiceInfo.mInfo.mHostNameBuffer, index, in ServiceCallback()
472 LogServiceInfo(sResolveServiceInfo.mInfo); in ServiceCallback()
651 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
652 VerifyOrQuit(sResolveServiceInfo.mInfo.mPort == service1.mPort); in TestDnsClient()
[all …]
Dtest_hkdf_sha256.cpp47 const uint8_t *mInfo; member
140 DumpBuffer("\nInfo", test->mInfo, test->mInfoLength); in TestHkdfSha256()
149 hkdf.Expand(test->mInfo, test->mInfoLength, outKey, test->mOutKeyLength); in TestHkdfSha256()
Dtest_multipan_rcp_instances.cpp246 SuccessOrQuit(mEncoder.WriteUint8(sTxFrame[mIid].mInfo.mTxInfo.mMaxCsmaBackoffs)); in createTransmitFrame()
247 SuccessOrQuit(mEncoder.WriteUint8(sTxFrame[mIid].mInfo.mTxInfo.mMaxFrameRetries)); in createTransmitFrame()
248 SuccessOrQuit(mEncoder.WriteBool(sTxFrame[mIid].mInfo.mTxInfo.mCsmaCaEnabled)); in createTransmitFrame()
249 SuccessOrQuit(mEncoder.WriteBool(sTxFrame[mIid].mInfo.mTxInfo.mIsHeaderUpdated)); in createTransmitFrame()
250 SuccessOrQuit(mEncoder.WriteBool(sTxFrame[mIid].mInfo.mTxInfo.mIsARetx)); in createTransmitFrame()
251 SuccessOrQuit(mEncoder.WriteBool(sTxFrame[mIid].mInfo.mTxInfo.mIsSecurityProcessed)); in createTransmitFrame()
252 SuccessOrQuit(mEncoder.WriteUint32(sTxFrame[mIid].mInfo.mTxInfo.mTxDelay)); in createTransmitFrame()
253 SuccessOrQuit(mEncoder.WriteUint32(sTxFrame[mIid].mInfo.mTxInfo.mTxDelayBaseTime)); in createTransmitFrame()
/openthread-3.6.0/src/core/utils/
Dhistory_tracker.cpp200 entry->mExtAddress = aInfo.mInfo.mChild.mExtAddress; in RecordNeighborEvent()
201 entry->mRloc16 = aInfo.mInfo.mChild.mRloc16; in RecordNeighborEvent()
202 entry->mAverageRssi = aInfo.mInfo.mChild.mAverageRssi; in RecordNeighborEvent()
203 entry->mRxOnWhenIdle = aInfo.mInfo.mChild.mRxOnWhenIdle; in RecordNeighborEvent()
204 entry->mFullThreadDevice = aInfo.mInfo.mChild.mFullThreadDevice; in RecordNeighborEvent()
205 entry->mFullNetworkData = aInfo.mInfo.mChild.mFullNetworkData; in RecordNeighborEvent()
211 entry->mExtAddress = aInfo.mInfo.mRouter.mExtAddress; in RecordNeighborEvent()
212 entry->mRloc16 = aInfo.mInfo.mRouter.mRloc16; in RecordNeighborEvent()
213 entry->mAverageRssi = aInfo.mInfo.mRouter.mAverageRssi; in RecordNeighborEvent()
214 entry->mRxOnWhenIdle = aInfo.mInfo.mRouter.mRxOnWhenIdle; in RecordNeighborEvent()
[all …]
/openthread-3.6.0/examples/platforms/simulation/
Dradio.c492 sTransmitFrame.mInfo.mTxInfo.mIeInfo = &sTransmitIeInfo; in platformRadioInit()
494 sTransmitFrame.mInfo.mTxInfo.mIeInfo = NULL; in platformRadioInit()
671 sReceiveFrame.mInfo.mRxInfo.mTimestamp = otPlatTimeGet(); in radioReceive()
737 !aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in radioProcessTransmitSecurity()
769 aFrame->mInfo.mTxInfo.mAesKey = key; in radioProcessTransmitSecurity()
771 if (!aFrame->mInfo.mTxInfo.mIsHeaderUpdated) in radioProcessTransmitSecurity()
777 otEXPECT(!aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in radioProcessTransmitSecurity()
789 if (sTransmitFrame.mInfo.mTxInfo.mIeInfo->mTimeIeOffset != 0) in radioSendMessage()
791 … uint8_t *timeIe = sTransmitFrame.mPsdu + sTransmitFrame.mInfo.mTxInfo.mIeInfo->mTimeIeOffset; in radioSendMessage()
792 …uint64_t time = (uint64_t)((int64_t)otPlatTimeGet() + sTransmitFrame.mInfo.mTxInfo.mIeInfo->mNetwo… in radioSendMessage()
[all …]
/openthread-3.6.0/src/core/radio/
Dtrel_link.cpp236 mRxFrame.mInfo.mRxInfo.mTimestamp = 0; in BeginTransmit()
237 mRxFrame.mInfo.mRxInfo.mRssi = Radio::kInvalidRssi; in BeginTransmit()
238 mRxFrame.mInfo.mRxInfo.mLqi = OT_RADIO_LQI_NONE; in BeginTransmit()
239 mRxFrame.mInfo.mRxInfo.mAckedWithFramePending = false; in BeginTransmit()
373 mRxFrame.mInfo.mRxInfo.mTimestamp = 0; in ProcessReceivedPacket()
374 mRxFrame.mInfo.mRxInfo.mRssi = kRxRssi; in ProcessReceivedPacket()
375 mRxFrame.mInfo.mRxInfo.mLqi = OT_RADIO_LQI_NONE; in ProcessReceivedPacket()
376 mRxFrame.mInfo.mRxInfo.mAckedWithFramePending = true; in ProcessReceivedPacket()
/openthread-3.6.0/src/lib/spinel/
Dradio_spinel.cpp788 … aFrame.mPsdu, &size, &aFrame.mInfo.mRxInfo.mRssi, &noiseFloor, &flags, in ParseRadioFrame()
789 &aFrame.mChannel, &aFrame.mInfo.mRxInfo.mLqi, in ParseRadioFrame()
790 &aFrame.mInfo.mRxInfo.mTimestamp, &receiveError); in ParseRadioFrame()
806 … &aFrame.mInfo.mRxInfo.mAckKeyId, &aFrame.mInfo.mRxInfo.mAckFrameCounter); in ParseRadioFrame()
815 mMacFrameCounter = aFrame.mInfo.mRxInfo.mAckFrameCounter; in ParseRadioFrame()
824 aFrame.mInfo.mRxInfo.mAckedWithFramePending = ((flags & SPINEL_MD_FLAG_ACKED_FP) != 0); in ParseRadioFrame()
825 aFrame.mInfo.mRxInfo.mAckedWithSecEnhAck = ((flags & SPINEL_MD_FLAG_ACKED_SEC) != 0); in ParseRadioFrame()
1796 … mTransmitFrame->mInfo.mTxInfo.mMaxCsmaBackoffs, mTransmitFrame->mInfo.mTxInfo.mMaxFrameRetries, in Transmit()
1797 … mTransmitFrame->mInfo.mTxInfo.mCsmaCaEnabled, mTransmitFrame->mInfo.mTxInfo.mIsHeaderUpdated, in Transmit()
1798 … mTransmitFrame->mInfo.mTxInfo.mIsARetx, mTransmitFrame->mInfo.mTxInfo.mIsSecurityProcessed, in Transmit()
[all …]
/openthread-3.6.0/src/core/diags/
Dfactory_diags.cpp516 mStats.mFirstRssi = aFrame->mInfo.mRxInfo.mRssi;
517 mStats.mFirstLqi = aFrame->mInfo.mRxInfo.mLqi;
520 mStats.mLastRssi = aFrame->mInfo.mRxInfo.mRssi;
521 mStats.mLastLqi = aFrame->mInfo.mRxInfo.mLqi;
/openthread-3.6.0/include/openthread/
Dthread_ftd.h803 } mInfo; member
/openthread-3.6.0/include/openthread/platform/
Dradio.h366 } mInfo; member