Home
last modified time | relevance | path

Searched refs:mTxInfo (Results 1 – 10 of 10) sorted by relevance

/external/openthread/src/core/mac/
Dmac_frame.hpp1212 uint8_t GetMaxCsmaBackoffs(void) const { return mInfo.mTxInfo.mMaxCsmaBackoffs; } in GetMaxCsmaBackoffs()
1224 …void SetMaxCsmaBackoffs(uint8_t aMaxCsmaBackoffs) { mInfo.mTxInfo.mMaxCsmaBackoffs = aMaxCsmaBacko… in SetMaxCsmaBackoffs()
1234 uint8_t GetMaxFrameRetries(void) const { return mInfo.mTxInfo.mMaxFrameRetries; } in GetMaxFrameRetries()
1244 …void SetMaxFrameRetries(uint8_t aMaxFrameRetries) { mInfo.mTxInfo.mMaxFrameRetries = aMaxFrameRetr… in SetMaxFrameRetries()
1253 bool IsARetransmission(void) const { return mInfo.mTxInfo.mIsARetx; } in IsARetransmission()
1261 void SetIsARetransmission(bool aIsARetx) { mInfo.mTxInfo.mIsARetx = aIsARetx; } in SetIsARetransmission()
1270 bool IsCsmaCaEnabled(void) const { return mInfo.mTxInfo.mCsmaCaEnabled; } in IsCsmaCaEnabled()
1278 void SetCsmaCaEnabled(bool aCsmaCaEnabled) { mInfo.mTxInfo.mCsmaCaEnabled = aCsmaCaEnabled; } in SetCsmaCaEnabled()
1288 return *static_cast<const Mac::KeyMaterial *>(mInfo.mTxInfo.mAesKey); in GetAesKey()
1297 void SetAesKey(const Mac::KeyMaterial &aAesKey) { mInfo.mTxInfo.mAesKey = &aAesKey; } in SetAesKey()
[all …]
Dsub_mac.cpp419 if (mTransmitFrame.mInfo.mTxInfo.mTxDelay != 0) in StartCsmaBackoff()
426 … Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime) + mTransmitFrame.mInfo.mTxInfo.mTxDelay - in StartCsmaBackoff()
429 … mTimer.StartAt(Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime) - kCcaSampleInterval, in StartCsmaBackoff()
430 mTransmitFrame.mInfo.mTxInfo.mTxDelay); in StartCsmaBackoff()
515 if (error == kErrorInvalidState && mTransmitFrame.mInfo.mTxInfo.mTxDelay > 0) in BeginTransmit()
518 mTransmitFrame.mInfo.mTxInfo.mTxDelay = 0; in BeginTransmit()
519 mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime = 0; in BeginTransmit()
Dmac_frame.cpp1135 otRadioIeInfo *ieInfoBuffer = mInfo.mTxInfo.mIeInfo; in CopyFrom()
1146 mInfo.mTxInfo.mIeInfo = ieInfoBuffer; in CopyFrom()
1156 memcpy(mInfo.mTxInfo.mIeInfo, aFromFrame.mInfo.mTxInfo.mIeInfo, sizeof(otRadioIeInfo)); in CopyFrom()
1209 memset(&mInfo.mTxInfo, 0, sizeof(mInfo.mTxInfo)); in GenerateImmAck()
1235 memset(&mInfo.mTxInfo, 0, sizeof(mInfo.mTxInfo)); in GenerateEnhAck()
Ddata_poll_sender.cpp350 if (aFrame.mInfo.mTxInfo.mIsARetx && (aFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) != nullptr)) in ProcessTxDone()
Dmac.cpp912 VerifyOrExit(aFrame.mInfo.mTxInfo.mCslPresent == 0); in ProcessTransmitSecurity()
/external/openthread/src/ncp/
Dncp_base_radio.cpp406 aFrame.mInfo.mTxInfo.mMaxCsmaBackoffs = OPENTHREAD_CONFIG_MAC_MAX_CSMA_BACKOFFS_DIRECT; in DecodeStreamRawTxRequest()
407 …aFrame.mInfo.mTxInfo.mMaxFrameRetries = OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT; in DecodeStreamRawTxRequest()
408 aFrame.mInfo.mTxInfo.mCsmaCaEnabled = true; in DecodeStreamRawTxRequest()
409 aFrame.mInfo.mTxInfo.mIsHeaderUpdated = false; in DecodeStreamRawTxRequest()
410 aFrame.mInfo.mTxInfo.mIsARetx = false; in DecodeStreamRawTxRequest()
411 aFrame.mInfo.mTxInfo.mIsSecurityProcessed = false; in DecodeStreamRawTxRequest()
412 aFrame.mInfo.mTxInfo.mTxDelay = 0; in DecodeStreamRawTxRequest()
413 aFrame.mInfo.mTxInfo.mTxDelayBaseTime = 0; in DecodeStreamRawTxRequest()
420 SuccessOrExit(mDecoder.ReadUint8(aFrame.mInfo.mTxInfo.mMaxCsmaBackoffs)); in DecodeStreamRawTxRequest()
421 SuccessOrExit(mDecoder.ReadUint8(aFrame.mInfo.mTxInfo.mMaxFrameRetries)); in DecodeStreamRawTxRequest()
[all …]
/external/openthread/examples/platforms/simulation/
Dradio.c386 sTransmitFrame.mInfo.mTxInfo.mIeInfo = &sTransmitIeInfo; in platformRadioInit()
388 sTransmitFrame.mInfo.mTxInfo.mIeInfo = NULL; in platformRadioInit()
631 !aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in radioProcessTransmitSecurity()
663 aFrame->mInfo.mTxInfo.mAesKey = key; in radioProcessTransmitSecurity()
665 if (!aFrame->mInfo.mTxInfo.mIsHeaderUpdated) in radioProcessTransmitSecurity()
671 otEXPECT(!aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in radioProcessTransmitSecurity()
683 if (sTransmitFrame.mInfo.mTxInfo.mIeInfo->mTimeIeOffset != 0) in radioSendMessage()
685 … uint8_t *timeIe = sTransmitFrame.mPsdu + sTransmitFrame.mInfo.mTxInfo.mIeInfo->mTimeIeOffset; in radioSendMessage()
686 …uint64_t time = (uint64_t)((int64_t)otPlatTimeGet() + sTransmitFrame.mInfo.mTxInfo.mIeInfo->mNetwo… in radioSendMessage()
688 *timeIe = sTransmitFrame.mInfo.mTxInfo.mIeInfo->mTimeSyncSeq; in radioSendMessage()
[all …]
/external/openthread/src/lib/spinel/
Dradio_spinel_impl.hpp1964 … mTransmitFrame->mInfo.mTxInfo.mMaxCsmaBackoffs, mTransmitFrame->mInfo.mTxInfo.mMaxFrameRetries, in Transmit()
1965 … mTransmitFrame->mInfo.mTxInfo.mCsmaCaEnabled, mTransmitFrame->mInfo.mTxInfo.mIsHeaderUpdated, in Transmit()
1966 … mTransmitFrame->mInfo.mTxInfo.mIsARetx, mTransmitFrame->mInfo.mTxInfo.mIsSecurityProcessed, in Transmit()
1967 … mTransmitFrame->mInfo.mTxInfo.mTxDelay, mTransmitFrame->mInfo.mTxInfo.mTxDelayBaseTime); in Transmit()
/external/openthread/include/openthread/platform/
Dradio.h299 } mTxInfo; member
/external/openthread/src/core/thread/
Dmesh_forwarder.cpp1836 aFrame.mInfo.mTxInfo.mCslPresent = true; in AppendHeaderIe()
1841 aFrame.mInfo.mTxInfo.mCslPresent = false; in AppendHeaderIe()