Searched refs:mInfo (Results 1 – 25 of 29) sorted by relevance
12
933 int8_t GetRssi(void) const { return mInfo.mRxInfo.mRssi; } in GetRssi()940 void SetRssi(int8_t aRssi) { mInfo.mRxInfo.mRssi = aRssi; } in SetRssi()947 uint8_t GetLqi(void) const { return mInfo.mRxInfo.mLqi; } in GetLqi()954 void SetLqi(uint8_t aLqi) { mInfo.mRxInfo.mLqi = aLqi; } in SetLqi()962 bool IsAckedWithFramePending(void) const { return mInfo.mRxInfo.mAckedWithFramePending; } in IsAckedWithFramePending()979 const uint64_t &GetTimestamp(void) const { return mInfo.mRxInfo.mTimestamp; } in GetTimestamp()1090 void SetTxPower(int8_t aTxPower) { mInfo.mTxInfo.mTxPower = aTxPower; } in SetTxPower()1097 uint8_t GetRxChannelAfterTxDone(void) const { return mInfo.mTxInfo.mRxChannelAfterTxDone; } in GetRxChannelAfterTxDone()1104 … void SetRxChannelAfterTxDone(uint8_t aChannel) { mInfo.mTxInfo.mRxChannelAfterTxDone = aChannel; } in SetRxChannelAfterTxDone()1115 uint8_t GetMaxCsmaBackoffs(void) const { return mInfo.mTxInfo.mMaxCsmaBackoffs; } in GetMaxCsmaBackoffs()[all …]
294 …if (!ShouldHandleTransmitSecurity() && aFrame != nullptr && aFrame->mInfo.mRxInfo.mAckedWithSecEnh… in HandleReceiveDone()296 … SignalFrameCounterUsed(aFrame->mInfo.mRxInfo.mAckFrameCounter, aFrame->mInfo.mRxInfo.mAckKeyId); in HandleReceiveDone()416 …if (mTransmitFrame.mInfo.mTxInfo.mTxDelay != 0 || mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime !=… in StartCsmaBackoff()423 … Time txStartTime = Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime); in StartCsmaBackoff()426 txStartTime += (mTransmitFrame.mInfo.mTxInfo.mTxDelay - kAheadTime); in StartCsmaBackoff()503 if (error == kErrorInvalidState && mTransmitFrame.mInfo.mTxInfo.mTxDelay > 0) in BeginTransmit()506 mTransmitFrame.mInfo.mTxInfo.mTxDelay = 0; in BeginTransmit()507 mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime = 0; in BeginTransmit()
75 if ((mCslPeriod > 0) && aFrame->mInfo.mRxInfo.mAckedWithSecEnhAck) in UpdateCslLastSyncTimestamp()80 mCslLastSync = TimeMicro(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp)); in UpdateCslLastSyncTimestamp()274 ToUlong(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp))); in LogReceived()282 deviation = aFrame->mInfo.mRxInfo.mTimestamp + kRadioHeaderPhrDuration - sampleTime; in LogReceived()
1301 otRadioIeInfo *ieInfoBuffer = mInfo.mTxInfo.mIeInfo; in CopyFrom()1312 mInfo.mTxInfo.mIeInfo = ieInfoBuffer; in CopyFrom()1322 memcpy(mInfo.mTxInfo.mIeInfo, aFromFrame.mInfo.mTxInfo.mIeInfo, sizeof(otRadioIeInfo)); in CopyFrom()1375 ClearAllBytes(mInfo.mTxInfo); in GenerateImmAck()1438 ClearAllBytes(mInfo.mTxInfo); in GenerateEnhAck()
257 …const Ip6::InterfaceIdentifier &GetMeshLocalIid(void) const { return mInfo.mCached.mMeshLocalIid; } in GetMeshLocalIid()258 … void SetMeshLocalIid(const Ip6::InterfaceIdentifier &aIid) { mInfo.mCached.mMeshLocalIid = aIid; } in SetMeshLocalIid()260 uint32_t GetLastTransactionTime(void) const { return mInfo.mCached.mLastTransactionTime; } in GetLastTransactionTime()261 … void SetLastTransactionTime(uint32_t aTime) { mInfo.mCached.mLastTransactionTime = aTime; } in SetLastTransactionTime()265 void DecrementTimeout(void) { mInfo.mOther.mTimeout--; } in DecrementTimeout()266 bool IsTimeoutZero(void) const { return mInfo.mOther.mTimeout == 0; } in IsTimeoutZero()267 uint16_t GetTimeout(void) const { return mInfo.mOther.mTimeout; } in GetTimeout()268 void SetTimeout(uint16_t aTimeout) { mInfo.mOther.mTimeout = aTimeout; } in SetTimeout()274 uint16_t GetRetryDelay(void) const { return mInfo.mOther.mRetryDelay; } in GetRetryDelay()275 void SetRetryDelay(uint16_t aDelay) { mInfo.mOther.mRetryDelay = aDelay; } in SetRetryDelay()[all …]
516 if (aInfo == mInfo) in Publish()525 mInfo = aInfo; in Publish()545 mInfo.SetAddress(Get<Mle::Mle>().GetMeshLocalEid()); in HandleNotifierEvents()572 …ccessOrExit(Get<Service::Manager>().AddDnsSrpAnycastService(mInfo.GetSequenceNumber(), mInfo.GetVe… in Add()577 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Add()582 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Add()603 … SuccessOrExit(Get<Service::Manager>().RemoveDnsSrpAnycastService(mInfo.GetSequenceNumber())); in Remove()608 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Remove()698 …if (anycastInfo.mSequenceNumber == mInfo.GetSequenceNumber() && (anycastInfo.mVersion >= mInfo.Get… in CountAnycastEntries()702 if ((anycastInfo.mVersion > mInfo.GetVersion()) || IsPreferred(anycastInfo.mRloc16)) in CountAnycastEntries()[all …]
281 … static_cast<Child::Info &>(info.mInfo.mChild).SetFrom(static_cast<const Child &>(aNeighbor)); in Signal()287 static_cast<Neighbor::Info &>(info.mInfo.mRouter).SetFrom(aNeighbor); in Signal()
427 Type GetType(void) const { return mInfo.GetType(); } in GetType()440 Info mInfo; member in ot::NetworkData::Publisher::DnsSrpServiceEntry
86 SuccessOrExit(mEncoder.WriteInt8(aFrame ? aFrame->mInfo.mRxInfo.mRssi : 0)); // RSSI in PackRadioFrame()91 if (aFrame->mInfo.mRxInfo.mAckedWithFramePending) in PackRadioFrame()96 if (aFrame->mInfo.mRxInfo.mAckedWithSecEnhAck) in PackRadioFrame()106 SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mLqi in PackRadioFrame()109 …SuccessOrExit(mEncoder.WriteUint64(aFrame ? aFrame->mInfo.mRxInfo.mTimestamp : 0)); // The timesta… in PackRadioFrame()117 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mAckKeyId : 0)); // The ACK auxil… in PackRadioFrame()119 …mEncoder.WriteUint32(aFrame ? aFrame->mInfo.mRxInfo.mAckFrameCounter : 0)); // The ACK auxiliary f… in PackRadioFrame()464 aFrame.mInfo.mTxInfo.mRxChannelAfterTxDone = aFrame.mChannel; in DecodeStreamRawTxRequest()465 aFrame.mInfo.mTxInfo.mMaxCsmaBackoffs = OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT; in DecodeStreamRawTxRequest()466 …aFrame.mInfo.mTxInfo.mMaxFrameRetries = OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIREC… in DecodeStreamRawTxRequest()[all …]
478 mInfo.mHostNameBuffer = mNameBuffer; in Reset()479 mInfo.mHostNameBufferSize = sizeof(mNameBuffer); in Reset()480 mInfo.mTxtData = mTxtBuffer; in Reset()481 mInfo.mTxtDataSize = sizeof(mTxtBuffer); in Reset()486 Dns::Client::ServiceInfo mInfo; member514 SuccessOrQuit(response.GetServiceInfo(sResolveServiceInfo.mInfo)); in ServiceCallback()521 error = response.GetHostAddress(sResolveServiceInfo.mInfo.mHostNameBuffer, index, in ServiceCallback()533 LogServiceInfo(sResolveServiceInfo.mInfo); in ServiceCallback()765 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()766 VerifyOrQuit(sResolveServiceInfo.mInfo.mPort == service1.mPort); in TestDnsClient()[all …]
47 const uint8_t *mInfo; member140 DumpBuffer("\nInfo", test->mInfo, test->mInfoLength); in TestHkdfSha256()149 hkdf.Expand(test->mInfo, test->mInfoLength, outKey, test->mOutKeyLength); in TestHkdfSha256()
354 mInfo.mHostNameBuffer = mNameBuffer; in Reset()355 mInfo.mHostNameBufferSize = sizeof(mNameBuffer); in Reset()356 mInfo.mTxtData = mTxtBuffer; in Reset()357 mInfo.mTxtDataSize = sizeof(mTxtBuffer); in Reset()362 Dns::Client::ServiceInfo mInfo; member391 aError = response.GetServiceInfo(sResolveServiceInfo.mInfo); in ServiceCallback()406 error = response.GetHostAddress(sResolveServiceInfo.mInfo.mHostNameBuffer, index, in ServiceCallback()418 LogServiceInfo(sResolveServiceInfo.mInfo); in ServiceCallback()1245 …VerifyOrQuit(!strcmp(sResolveServiceInfo.mInfo.mHostNameBuffer, "starktower.default.service.arpa."… in TestProxyBasic()1246 VerifyOrQuit(sResolveServiceInfo.mInfo.mPort == 1024); in TestProxyBasic()[all …]
246 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()
82 txFrame.mInfo.mTxInfo.mTxPower = kTxPower; in TEST()87 return frame.mInfo.mTxInfo.mTxPower == kTxPower; in TEST()126 txFrame.mInfo.mTxInfo.mTxPower = kTxPower; in TEST()128 txFrame.mInfo.mTxInfo.mRxChannelAfterTxDone = 25; in TEST()172 txFrame.mInfo.mTxInfo.mCsmaCaEnabled = false; in TEST()177 return frame.mInfo.mTxInfo.mCsmaCaEnabled == false; in TEST()228 txFrame.mInfo.mTxInfo.mCsmaCaEnabled = true; in TEST()229 txFrame.mInfo.mTxInfo.mMaxCsmaBackoffs = 1; in TEST()234 return frame.mInfo.mTxInfo.mCsmaCaEnabled == true; in TEST()278 txFrame.mInfo.mTxInfo.mTxPower = kTxPower; in TEST()[all …]
214 mTxPacket->mInfo.mTxInfo.mTxDelayBaseTime = 0;215 mTxPacket->mInfo.mTxInfo.mTxDelay = 0;216 mTxPacket->mInfo.mTxInfo.mMaxCsmaBackoffs = 0;217 mTxPacket->mInfo.mTxInfo.mMaxFrameRetries = 0;218 mTxPacket->mInfo.mTxInfo.mRxChannelAfterTxDone = mChannel;219 mTxPacket->mInfo.mTxInfo.mTxPower = OT_RADIO_POWER_INVALID;220 mTxPacket->mInfo.mTxInfo.mIsHeaderUpdated = false;221 mTxPacket->mInfo.mTxInfo.mIsARetx = false;222 mTxPacket->mInfo.mTxInfo.mCsmaCaEnabled = false;223 mTxPacket->mInfo.mTxInfo.mCslPresent = false;[all …]
86 - Specify `-b` to specify the `mInfo.mTxInfo.mMaxCsmaBackoffs` field for this frame.88 - Specify `-C` to specify the `mInfo.mTxInfo.mRxChannelAfterTxDone` field for this frame.89 - Specify `-d` to specify the `mInfo.mTxInfo.mTxDelay` field for this frame and the `mInfo.mTxInfo.…91 - Specify `-r` to specify the `mInfo.mTxInfo.mMaxFrameRetries` field for this frame.93 - Specify `-u` to specify the `mInfo.mTxInfo.mIsHeaderUpdated` field for this frame.
192 entry->mExtAddress = aInfo.mInfo.mChild.mExtAddress; in RecordNeighborEvent()193 entry->mRloc16 = aInfo.mInfo.mChild.mRloc16; in RecordNeighborEvent()194 entry->mAverageRssi = aInfo.mInfo.mChild.mAverageRssi; in RecordNeighborEvent()195 entry->mRxOnWhenIdle = aInfo.mInfo.mChild.mRxOnWhenIdle; in RecordNeighborEvent()196 entry->mFullThreadDevice = aInfo.mInfo.mChild.mFullThreadDevice; in RecordNeighborEvent()197 entry->mFullNetworkData = aInfo.mInfo.mChild.mFullNetworkData; in RecordNeighborEvent()203 entry->mExtAddress = aInfo.mInfo.mRouter.mExtAddress; in RecordNeighborEvent()204 entry->mRloc16 = aInfo.mInfo.mRouter.mRloc16; in RecordNeighborEvent()205 entry->mAverageRssi = aInfo.mInfo.mRouter.mAverageRssi; in RecordNeighborEvent()206 entry->mRxOnWhenIdle = aInfo.mInfo.mRouter.mRxOnWhenIdle; in RecordNeighborEvent()[all …]
327 …VerifyOrExit(otMacFrameIsSecurityEnabled(aFrame) && processKeyId && !aFrame->mInfo.mTxInfo.mIsSecu… in otMacFrameProcessTransmitSecurity()355 else if (!aFrame->mInfo.mTxInfo.mIsHeaderUpdated) in otMacFrameProcessTransmitSecurity()364 aFrame->mInfo.mTxInfo.mAesKey = key; in otMacFrameProcessTransmitSecurity()368 aFrame->mInfo.mTxInfo.mIsHeaderUpdated = true; in otMacFrameProcessTransmitSecurity()371 VerifyOrExit(!aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in otMacFrameProcessTransmitSecurity()383 if (aFrame->mInfo.mTxInfo.mIeInfo->mTimeIeOffset != 0) in otMacFrameUpdateTimeIe()385 uint8_t *timeIe = aFrame->mPsdu + aFrame->mInfo.mTxInfo.mIeInfo->mTimeIeOffset; in otMacFrameUpdateTimeIe()386 uint64_t time = aRadioTime + aFrame->mInfo.mTxInfo.mIeInfo->mNetworkTimeOffset; in otMacFrameUpdateTimeIe()388 *timeIe = aFrame->mInfo.mTxInfo.mIeInfo->mTimeSyncSeq; in otMacFrameUpdateTimeIe()411 aFrame->mInfo.mTxInfo.mTimestamp = aRadioTime; in otMacFrameProcessTxSfd()
461 … &frame.mPsdu, &frame.mLength, &frame.mInfo.mRxInfo.mRssi, &noiseFloor, in LogSpinelFrame()462 &flags, &frame.mChannel, &frame.mInfo.mRxInfo.mLqi, in LogSpinelFrame()463 &frame.mInfo.mRxInfo.mTimestamp, &receiveError); in LogSpinelFrame()466 frame.mInfo.mRxInfo.mRssi); in LogSpinelFrame()473 flags, frame.mChannel, frame.mInfo.mRxInfo.mLqi, in LogSpinelFrame()474 … static_cast<unsigned long>(frame.mInfo.mRxInfo.mTimestamp), receiveError); in LogSpinelFrame()495 … &frame.mPsdu, &frame.mLength, &frame.mChannel, &frame.mInfo.mTxInfo.mMaxCsmaBackoffs, in LogSpinelFrame()496 … &frame.mInfo.mTxInfo.mMaxFrameRetries, &csmaCaEnabled, &isHeaderUpdated, &isARetx, &skipAes, in LogSpinelFrame()497 &frame.mInfo.mTxInfo.mTxDelay, &frame.mInfo.mTxInfo.mTxDelayBaseTime); in LogSpinelFrame()502 … frame.mInfo.mTxInfo.mMaxCsmaBackoffs, frame.mInfo.mTxInfo.mMaxFrameRetries); in LogSpinelFrame()[all …]
150 mTxRadioFrame.mInfo.mTxInfo.mIeInfo = &mTxIeInfo; in Init()686 … aFrame.mPsdu, &size, &aFrame.mInfo.mRxInfo.mRssi, &noiseFloor, &flags, in ParseRadioFrame()687 &aFrame.mChannel, &aFrame.mInfo.mRxInfo.mLqi, in ParseRadioFrame()688 &aFrame.mInfo.mRxInfo.mTimestamp, &receiveError); in ParseRadioFrame()704 … &aFrame.mInfo.mRxInfo.mAckKeyId, &aFrame.mInfo.mRxInfo.mAckFrameCounter); in ParseRadioFrame()721 aFrame.mInfo.mRxInfo.mAckedWithFramePending = ((flags & SPINEL_MD_FLAG_ACKED_FP) != 0); in ParseRadioFrame()722 aFrame.mInfo.mRxInfo.mAckedWithSecEnhAck = ((flags & SPINEL_MD_FLAG_ACKED_SEC) != 0); in ParseRadioFrame()1586 …if ((sRadioCaps & OT_RADIO_CAPS_TRANSMIT_SEC) && (!mTransmitFrame->mInfo.mTxInfo.mIsHeaderUpdated)… in HandleTransmitDone()1632 if (mTransmitFrame->mInfo.mTxInfo.mIeInfo->mTimeIeOffset != 0) in Transmit()1636 … uint8_t *timeIe = mTransmitFrame->mPsdu + mTransmitFrame->mInfo.mTxInfo.mIeInfo->mTimeIeOffset; in Transmit()[all …]
232 mRxFrame.mInfo.mRxInfo.mTimestamp = 0; in BeginTransmit()233 mRxFrame.mInfo.mRxInfo.mRssi = Radio::kInvalidRssi; in BeginTransmit()234 mRxFrame.mInfo.mRxInfo.mLqi = OT_RADIO_LQI_NONE; in BeginTransmit()235 mRxFrame.mInfo.mRxInfo.mAckedWithFramePending = false; in BeginTransmit()372 mRxFrame.mInfo.mRxInfo.mTimestamp = 0; in ProcessReceivedPacket()373 mRxFrame.mInfo.mRxInfo.mRssi = kRxRssi; in ProcessReceivedPacket()374 mRxFrame.mInfo.mRxInfo.mLqi = OT_RADIO_LQI_NONE; in ProcessReceivedPacket()375 mRxFrame.mInfo.mRxInfo.mAckedWithFramePending = true; in ProcessReceivedPacket()
147 uint8_t channel = txFrame.mInfo.mTxInfo.mRxChannelAfterTxDone; in otPlatDiagRadioTransmitDone()
150 rxFrame.mInfo.mRxInfo.mTimestamp = (mNow.GetValue() * 1000u); in ProcessRadio()151 rxFrame.mInfo.mRxInfo.mRssi = kDefaultRxRssi; in ProcessRadio()152 rxFrame.mInfo.mRxInfo.mLqi = 0; in ProcessRadio()164 rxFrame.mInfo.mRxInfo.mAckedWithFramePending = true; in ProcessRadio()
419 sTransmitFrame.mInfo.mTxInfo.mIeInfo = &sTransmitIeInfo; in platformRadioInit()421 sTransmitFrame.mInfo.mTxInfo.mIeInfo = NULL; in platformRadioInit()587 sReceiveFrame.mInfo.mRxInfo.mTimestamp = otPlatTimeGet(); in radioReceive()800 sReceiveFrame.mInfo.mRxInfo.mAckedWithFramePending = true; in radioSendAck()816 … linkMetricsDataLen = otLinkMetricsEnhAckGenData(&macAddress, sReceiveFrame.mInfo.mRxInfo.mLqi, in radioSendAck()817 … sReceiveFrame.mInfo.mRxInfo.mRssi, linkMetricsData); in radioSendAck()827 …otEXPECT(otMacFrameGenerateEnhAck(&sReceiveFrame, sReceiveFrame.mInfo.mRxInfo.mAckedWithFramePendi… in radioSendAck()834 …otMacFrameGenerateImmAck(&sReceiveFrame, sReceiveFrame.mInfo.mRxInfo.mAckedWithFramePending, &sAck… in radioSendAck()854 sReceiveFrame.mInfo.mRxInfo.mRssi = -20; in radioProcessFrame()855 sReceiveFrame.mInfo.mRxInfo.mLqi = OT_RADIO_LQI_NONE; in radioProcessFrame()[all …]
763 } mInfo; member