Home
last modified time | relevance | path

Searched refs:aFrame (Results 1 – 25 of 64) sorted by relevance

123

/openthread-3.5.0/examples/platforms/utils/
Dmac_frame.cpp36 bool otMacFrameDoesAddrMatch(const otRadioFrame *aFrame, in otMacFrameDoesAddrMatch() argument
41 const Mac::Frame &frame = *static_cast<const Mac::Frame *>(aFrame); in otMacFrameDoesAddrMatch()
69 bool otMacFrameIsAck(const otRadioFrame *aFrame) in otMacFrameIsAck() argument
71 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeAck; in otMacFrameIsAck()
74 bool otMacFrameIsData(const otRadioFrame *aFrame) in otMacFrameIsData() argument
76 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeData; in otMacFrameIsData()
79 bool otMacFrameIsCommand(const otRadioFrame *aFrame) in otMacFrameIsCommand() argument
81 return static_cast<const Mac::Frame *>(aFrame)->GetType() == Mac::Frame::kTypeMacCmd; in otMacFrameIsCommand()
84 bool otMacFrameIsDataRequest(const otRadioFrame *aFrame) in otMacFrameIsDataRequest() argument
86 return static_cast<const Mac::Frame *>(aFrame)->IsDataRequestCommand(); in otMacFrameIsDataRequest()
[all …]
Dmac_frame.h80 bool otMacFrameIsAck(const otRadioFrame *aFrame);
91 bool otMacFrameIsData(const otRadioFrame *aFrame);
102 bool otMacFrameIsCommand(const otRadioFrame *aFrame);
114 bool otMacFrameIsDataRequest(const otRadioFrame *aFrame);
125 bool otMacFrameIsAckRequested(const otRadioFrame *aFrame);
139 bool otMacFrameDoesAddrMatch(const otRadioFrame *aFrame,
154 otError otMacFrameGetSrcAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress);
166 otError otMacFrameGetDstAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress);
176 uint8_t otMacFrameGetSequence(const otRadioFrame *aFrame);
186 void otMacFrameProcessTransmitAesCcm(otRadioFrame *aFrame, const otExtAddress *aExtAddress);
[all …]
/openthread-3.5.0/src/ncp/
Dncp_base_radio.cpp67 otError NcpBase::PackRadioFrame(otRadioFrame *aFrame, otError aError) in PackRadioFrame() argument
72 if (aFrame != nullptr && aError == OT_ERROR_NONE) in PackRadioFrame()
75 SuccessOrExit(mEncoder.WriteDataWithLen(aFrame->mPsdu, aFrame->mLength)); in PackRadioFrame()
84 SuccessOrExit(mEncoder.WriteInt8(aFrame ? aFrame->mInfo.mRxInfo.mRssi : 0)); // RSSI in PackRadioFrame()
87 if (aFrame != nullptr) in PackRadioFrame()
89 if (aFrame->mInfo.mRxInfo.mAckedWithFramePending) in PackRadioFrame()
94 if (aFrame->mInfo.mRxInfo.mAckedWithSecEnhAck) in PackRadioFrame()
103 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mChannel : 0)); // 802.15.4 channel (Receive ch… in PackRadioFrame()
104 SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mLqi in PackRadioFrame()
107 …SuccessOrExit(mEncoder.WriteUint64(aFrame ? aFrame->mInfo.mRxInfo.mTimestamp : 0)); // The timesta… in PackRadioFrame()
[all …]
/openthread-3.5.0/src/core/radio/
Dradio_callbacks.cpp41 void Radio::Callbacks::HandleReceiveDone(Mac::RxFrame *aFrame, Error aError) in HandleReceiveDone() argument
46 Get<Mac::SubMac>().HandleReceiveDone(aFrame, aError); in HandleReceiveDone()
49 …:Callbacks::HandleTransmitStarted(Mac::TxFrame &aFrame) { Get<Mac::SubMac>().HandleTransmitStarted… in HandleTransmitStarted() argument
51 void Radio::Callbacks::HandleTransmitDone(Mac::TxFrame &aFrame, Mac::RxFrame *aAckFrame, Error aErr… in HandleTransmitDone() argument
54 Get<RadioStatistics>().RecordTxDone(aError, aFrame.GetLength()); in HandleTransmitDone()
56 Get<Mac::SubMac>().HandleTransmitDone(aFrame, aAckFrame, aError); in HandleTransmitDone()
62 void Radio::Callbacks::HandleDiagsReceiveDone(Mac::RxFrame *aFrame, Error aError) in HandleDiagsReceiveDone() argument
66 HandleReceiveDone(aFrame, aError); in HandleDiagsReceiveDone()
68 Get<FactoryDiags::Diags>().ReceiveDone(aFrame, aError); in HandleDiagsReceiveDone()
72 void Radio::Callbacks::HandleDiagsTransmitDone(Mac::TxFrame &aFrame, Error aError) in HandleDiagsTransmitDone() argument
[all …]
Dradio_platform.cpp48 extern "C" void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatRadioReceiveDone() argument
51 Mac::RxFrame *rxFrame = static_cast<Mac::RxFrame *>(aFrame); in otPlatRadioReceiveDone()
68 extern "C" void otPlatRadioTxStarted(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTxStarted() argument
71 Mac::TxFrame &txFrame = *static_cast<Mac::TxFrame *>(aFrame); in otPlatRadioTxStarted()
85 extern "C" void otPlatRadioTxDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFr… in otPlatRadioTxDone() argument
88 Mac::TxFrame &txFrame = *static_cast<Mac::TxFrame *>(aFrame); in otPlatRadioTxDone()
120 extern "C" void otPlatDiagRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aEr… in otPlatDiagRadioReceiveDone() argument
122 Mac::RxFrame *rxFrame = static_cast<Mac::RxFrame *>(aFrame); in otPlatDiagRadioReceiveDone()
134 extern "C" void otPlatDiagRadioTransmitDone(otInstance *aInstance, otRadioFrame *aFrame, otError aE… in otPlatDiagRadioTransmitDone() argument
136 Mac::TxFrame &txFrame = *static_cast<Mac::TxFrame *>(aFrame); in otPlatDiagRadioTransmitDone()
/openthread-3.5.0/src/core/mac/
Dsub_mac_callbacks.cpp54 void SubMac::Callbacks::ReceiveDone(RxFrame *aFrame, Error aError) in ReceiveDone() argument
59 Get<LinkRaw>().InvokeReceiveDone(aFrame, aError); in ReceiveDone()
64 Get<Mac>().HandleReceivedFrame(aFrame, aError); in ReceiveDone()
73 void SubMac::Callbacks::RecordFrameTransmitStatus(const TxFrame &aFrame, in RecordFrameTransmitStatus() argument
78 Get<Mac>().RecordFrameTransmitStatus(aFrame, aError, aRetryCount, aWillRetx); in RecordFrameTransmitStatus()
81 void SubMac::Callbacks::TransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError) in TransmitDone() argument
86 Get<LinkRaw>().InvokeTransmitDone(aFrame, aAckFrame, aError); in TransmitDone()
91 Get<Mac>().HandleTransmitDone(aFrame, aAckFrame, aError); in TransmitDone()
116 void SubMac::Callbacks::ReceiveDone(RxFrame *aFrame, Error aError) { Get<LinkRaw>().InvokeReceiveDo… in ReceiveDone() argument
120 void SubMac::Callbacks::RecordFrameTransmitStatus(const TxFrame &aFrame, in RecordFrameTransmitStatus() argument
[all …]
Ddata_poll_handler.cpp52 inline Error DataPollHandler::Callbacks::PrepareFrameForChild(Mac::TxFrame &aFrame, in PrepareFrameForChild() argument
56 return Get<IndirectSender>().PrepareFrameForChild(aFrame, aContext, aChild); in PrepareFrameForChild()
59 inline void DataPollHandler::Callbacks::HandleSentFrameToChild(const Mac::TxFrame &aFrame, in HandleSentFrameToChild() argument
64 Get<IndirectSender>().HandleSentFrameToChild(aFrame, aContext, aError, aChild); in HandleSentFrameToChild()
129 void DataPollHandler::HandleDataPoll(Mac::RxFrame &aFrame) in HandleDataPoll() argument
135 VerifyOrExit(aFrame.GetSecurityEnabled()); in HandleDataPoll()
138 SuccessOrExit(aFrame.GetSrcAddr(macSource)); in HandleDataPoll()
145 child->SetLastPollRadioType(aFrame.GetRadioType()); in HandleDataPoll()
151 aFrame.GetRssi(), aFrame.IsAckedWithFramePending()); in HandleDataPoll()
153 if (!aFrame.IsAckedWithFramePending()) in HandleDataPoll()
[all …]
Dmac.cpp845 void Mac::ProcessTransmitSecurity(TxFrame &aFrame) in ProcessTransmitSecurity() argument
851 VerifyOrExit(aFrame.GetSecurityEnabled()); in ProcessTransmitSecurity()
853 IgnoreError(aFrame.GetKeyIdMode(keyIdMode)); in ProcessTransmitSecurity()
858 aFrame.SetAesKey(keyManager.GetKek()); in ProcessTransmitSecurity()
861 if (!aFrame.IsHeaderUpdated()) in ProcessTransmitSecurity()
863 aFrame.SetFrameCounter(keyManager.GetKekFrameCounter()); in ProcessTransmitSecurity()
877 VerifyOrExit(aFrame.GetRadioType() != kRadioTypeIeee802154); in ProcessTransmitSecurity()
882 aFrame.SetAesKey(*mLinks.GetCurrentMacKey(aFrame)); in ProcessTransmitSecurity()
891 if (!aFrame.IsHeaderUpdated()) in ProcessTransmitSecurity()
893 mLinks.SetMacFrameCounter(aFrame); in ProcessTransmitSecurity()
[all …]
Dmac_links.cpp141 void Links::Send(TxFrame &aFrame, RadioTypes aRadioTypes) in Send() argument
146 mTxFrames.mTxFrame802154.CopyFrom(aFrame); in Send()
152 mTxFrames.mTxFrameTrel.CopyFrom(aFrame); in Send()
172 const KeyMaterial *Links::GetCurrentMacKey(const Frame &aFrame) const in GetCurrentMacKey()
178 RadioType radioType = aFrame.GetRadioType(); in GetCurrentMacKey()
199 OT_UNUSED_VARIABLE(aFrame); in GetCurrentMacKey()
205 const KeyMaterial *Links::GetTemporaryMacKey(const Frame &aFrame, uint32_t aKeySequence) const in GetTemporaryMacKey() argument
212 RadioType radioType = aFrame.GetRadioType(); in GetTemporaryMacKey()
244 OT_UNUSED_VARIABLE(aFrame); in GetTemporaryMacKey()
251 void Links::SetMacFrameCounter(TxFrame &aFrame) in SetMacFrameCounter() argument
[all …]
Dsub_mac.cpp280 void SubMac::LogReceived(RxFrame *aFrame) in LogReceived() argument
289 IgnoreError(aFrame->GetDstAddr(dst)); in LogReceived()
296 ToUlong(static_cast<uint32_t>(aFrame->mInfo.mRxInfo.mTimestamp))); in LogReceived()
304 deviation = aFrame->mInfo.mRxInfo.mTimestamp + kRadioHeaderPhrDuration - sampleTime; in LogReceived()
334 void SubMac::HandleReceiveDone(RxFrame *aFrame, Error aError) in HandleReceiveDone() argument
336 if (mPcapCallback.IsSet() && (aFrame != nullptr) && (aError == kErrorNone)) in HandleReceiveDone()
338 mPcapCallback.Invoke(aFrame, false); in HandleReceiveDone()
341 …if (!ShouldHandleTransmitSecurity() && aFrame != nullptr && aFrame->mInfo.mRxInfo.mAckedWithSecEnh… in HandleReceiveDone()
343 … SignalFrameCounterUsed(aFrame->mInfo.mRxInfo.mAckFrameCounter, aFrame->mInfo.mRxInfo.mAckKeyId); in HandleReceiveDone()
347 if (aFrame != nullptr && aError == kErrorNone) in HandleReceiveDone()
[all …]
Dlink_raw.cpp182 void LinkRaw::InvokeReceiveDone(RxFrame *aFrame, Error aError) in InvokeReceiveDone() argument
184 …LogDebg("ReceiveDone(%d bytes), error:%s", (aFrame != nullptr) ? aFrame->mLength : 0, ErrorToStrin… in InvokeReceiveDone()
188 mReceiveDoneCallback(&GetInstance(), aFrame, aError); in InvokeReceiveDone()
205 void LinkRaw::InvokeTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError) in InvokeTransmitDone() argument
207 LogDebg("TransmitDone(%d bytes), error:%s", aFrame.mLength, ErrorToString(aError)); in InvokeTransmitDone()
211 mTransmitDoneCallback(&GetInstance(), &aFrame, aAckFrame, aError); in InvokeTransmitDone()
276 void LinkRaw::RecordFrameTransmitStatus(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, b… in RecordFrameTransmitStatus() argument
283 aFrame.GetMaxFrameRetries(), aFrame.ToInfoString().AsCString()); in RecordFrameTransmitStatus()
Dmac.hpp389 void HandleReceivedFrame(RxFrame *aFrame, Error aError);
416 …void RecordFrameTransmitStatus(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool aWil…
429 void HandleTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError);
766 Error ProcessReceiveSecurity(RxFrame &aFrame, const Address &aSrcAddr, Neighbor *aNeighbor);
767 void ProcessTransmitSecurity(TxFrame &aFrame);
786 bool HandleMacCommand(RxFrame &aFrame);
797 void LogFrameRxFailure(const RxFrame *aFrame, Error aError) const;
798 …void LogFrameTxFailure(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool aWillRetx) c…
802 uint8_t GetTimeIeOffset(const Frame &aFrame);
806 void ProcessCsl(const RxFrame &aFrame, const Address &aSrcAddr);
[all …]
Ddata_poll_sender.cpp203 void DataPollSender::HandlePollSent(Mac::TxFrame &aFrame, Error aError) in HandlePollSent() argument
210 if (!aFrame.IsEmpty()) in HandlePollSent()
212 IgnoreError(aFrame.GetDstAddr(macDest)); in HandlePollSent()
213 … Get<MeshForwarder>().UpdateNeighborOnSentFrame(aFrame, aError, macDest, /* aIsDataPoll */ true); in HandlePollSent()
258 (aFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) != nullptr) ? kMaxCslPollRetxAttempts in HandlePollSent()
267 …((aFrame.GetHeaderIe(Mac::CslIe::kHeaderIeId) != nullptr) ? kMaxCslPollRetxAttempts : kMaxPollRetx… in HandlePollSent()
322 void DataPollSender::ProcessRxFrame(const Mac::RxFrame &aFrame) in ProcessRxFrame() argument
328 if (aFrame.GetFramePending()) in ProcessRxFrame()
338 void DataPollSender::ProcessTxDone(const Mac::TxFrame &aFrame, const Mac::RxFrame *aAckFrame, Error… in ProcessTxDone() argument
344 VerifyOrExit(aFrame.GetSecurityEnabled()); in ProcessTxDone()
[all …]
Ddata_poll_handler.hpp177 Error PrepareFrameForChild(Mac::TxFrame &aFrame, FrameContext &aContext, Child &aChild);
191 void HandleSentFrameToChild(const Mac::TxFrame &aFrame,
272 void HandleDataPoll(Mac::RxFrame &aFrame);
274 void HandleSentFrame(const Mac::TxFrame &aFrame, Error aError);
276 void HandleSentFrame(const Mac::TxFrame &aFrame, Error aError, Child &aChild);
Dsub_mac.hpp136 void ReceiveDone(RxFrame *aFrame, Error aError);
167 …void RecordFrameTransmitStatus(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool aWil…
181 void TransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError);
533 void LogReceived(RxFrame *aFrame);
622 void HandleReceiveDone(RxFrame *aFrame, Error aError);
623 void HandleTransmitStarted(TxFrame &aFrame);
624 void HandleTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError);
625 void SignalFrameCounterUsedOnTxDone(const TxFrame &aFrame);
Dlink_raw.hpp123 void InvokeReceiveDone(RxFrame *aFrame, Error aError);
157 void InvokeTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError);
301 …void RecordFrameTransmitStatus(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool aWil…
/openthread-3.5.0/src/lib/spinel/
Dmulti_frame_buffer.hpp370 otError GetNextSavedFrame(uint8_t *&aFrame, uint16_t &aLength) in GetNextSavedFrame() argument
374 OT_ASSERT(aFrame == nullptr || (mBuffer <= aFrame && aFrame < GetArrayEnd(mBuffer))); in GetNextSavedFrame()
376 aFrame = (aFrame == nullptr) ? mBuffer : aFrame + aLength; in GetNextSavedFrame()
378 if (aFrame != mWriteFrameStart) in GetNextSavedFrame()
380 … uint16_t totalLength = Encoding::LittleEndian::ReadUint16(aFrame + kHeaderTotalLengthOffset); in GetNextSavedFrame()
381 … uint16_t skipLength = Encoding::LittleEndian::ReadUint16(aFrame + kHeaderSkipLengthOffset); in GetNextSavedFrame()
384 aFrame += kHeaderSize + skipLength; in GetNextSavedFrame()
389 aFrame = nullptr; in GetNextSavedFrame()
Dspinel_interface.hpp96 virtual otError SendFrame(const uint8_t *aFrame, uint16_t aLength) = 0;
159 bool IsSpinelResetCommand(const uint8_t *aFrame, uint16_t aLength) in IsSpinelResetCommand() argument
163 (memcmp(aFrame, kSpinelResetCommand, sizeof(kSpinelResetCommand)) == 0); in IsSpinelResetCommand()
/openthread-3.5.0/src/core/thread/
Dcsl_tx_scheduler.cpp47 inline Error CslTxScheduler::Callbacks::PrepareFrameForChild(Mac::TxFrame &aFrame, in PrepareFrameForChild() argument
51 return Get<IndirectSender>().PrepareFrameForChild(aFrame, aContext, aChild); in PrepareFrameForChild()
54 inline void CslTxScheduler::Callbacks::HandleSentFrameToChild(const Mac::TxFrame &aFrame, in HandleSentFrameToChild() argument
59 Get<IndirectSender>().HandleSentFrameToChild(aFrame, aContext, aError, aChild); in HandleSentFrameToChild()
259 void CslTxScheduler::HandleSentFrame(const Mac::TxFrame &aFrame, Error aError) in HandleSentFrame() argument
269 HandleSentFrame(aFrame, aError, *child); in HandleSentFrame()
275 void CslTxScheduler::HandleSentFrame(const Mac::TxFrame &aFrame, Error aError, Child &aChild) in HandleSentFrame() argument
285 OT_ASSERT(!aFrame.GetSecurityEnabled() || aFrame.IsHeaderUpdated()); in HandleSentFrame()
307 if (!aFrame.IsEmpty()) in HandleSentFrame()
309 aChild.SetIndirectDataSequenceNumber(aFrame.GetSequence()); in HandleSentFrame()
[all …]
Dmesh_forwarder.cpp58 void ThreadLinkInfo::SetFrom(const Mac::RxFrame &aFrame) in SetFrom() argument
62 if (kErrorNone != aFrame.GetSrcPanId(mPanId)) in SetFrom()
64 IgnoreError(aFrame.GetDstPanId(mPanId)); in SetFrom()
70 if (kErrorNone != aFrame.GetDstPanId(dstPanId)) in SetFrom()
78 if (aFrame.GetSecurityEnabled()) in SetFrom()
85 IgnoreError(aFrame.GetKeyIdMode(keyIdMode)); in SetFrom()
93 mChannel = aFrame.GetChannel(); in SetFrom()
94 mRss = aFrame.GetRssi(); in SetFrom()
95 mLqi = aFrame.GetLqi(); in SetFrom()
97 if (aFrame.GetTimeIe() != nullptr) in SetFrom()
[all …]
Dindirect_sender.cpp327 Error IndirectSender::PrepareFrameForChild(Mac::TxFrame &aFrame, FrameContext &aContext, Child &aCh… in PrepareFrameForChild() argument
336 PrepareEmptyFrame(aFrame, aChild, /* aAckRequest */ true); in PrepareFrameForChild()
344 aContext.mMessageNextOffset = PrepareDataFrame(aFrame, aChild, *message); in PrepareFrameForChild()
348 PrepareEmptyFrame(aFrame, aChild, /* aAckRequest */ true); in PrepareFrameForChild()
360 uint16_t IndirectSender::PrepareDataFrame(Mac::TxFrame &aFrame, Child &aChild, Message &aMessage) in PrepareDataFrame() argument
387 nextOffset = Get<MeshForwarder>().PrepareDataFrameWithNoMeshHeader(aFrame, aMessage, macAddrs); in PrepareDataFrame()
398 aFrame.SetFramePending(true); in PrepareDataFrame()
404 void IndirectSender::PrepareEmptyFrame(Mac::TxFrame &aFrame, Child &aChild, bool aAckRequest) in PrepareEmptyFrame() argument
408 Get<MeshForwarder>().PrepareEmptyFrame(aFrame, macDest, aAckRequest); in PrepareEmptyFrame()
411 void IndirectSender::HandleSentFrameToChild(const Mac::TxFrame &aFrame, in HandleSentFrameToChild() argument
[all …]
Dcsl_tx_scheduler.hpp191 Error PrepareFrameForChild(Mac::TxFrame &aFrame, FrameContext &aContext, Child &aChild);
205 void HandleSentFrameToChild(const Mac::TxFrame &aFrame,
245 void HandleSentFrame(const Mac::TxFrame &aFrame, Error aError);
247 void HandleSentFrame(const Mac::TxFrame &aFrame, Error aError, Child &aChild);
Dindirect_sender.hpp207 Error PrepareFrameForChild(Mac::TxFrame &aFrame, FrameContext &aContext, Child &aChild);
208 …void HandleSentFrameToChild(const Mac::TxFrame &aFrame, const FrameContext &aContext, Error aErro…
214 uint16_t PrepareDataFrame(Mac::TxFrame &aFrame, Child &aChild, Message &aMessage);
215 void PrepareEmptyFrame(Mac::TxFrame &aFrame, Child &aChild, bool aAckRequest);
Dmesh_forwarder.hpp158 void SetFrom(const Mac::RxFrame &aFrame);
519 void PrepareMacHeaders(Mac::TxFrame &aFrame,
526 uint16_t PrepareDataFrame(Mac::TxFrame &aFrame,
533 …uint16_t PrepareDataFrameWithNoMeshHeader(Mac::TxFrame &aFrame, Message &aMessage, const Mac::Addr…
534 … void PrepareEmptyFrame(Mac::TxFrame &aFrame, const Mac::Address &aMacDest, bool aAckRequest);
544 void SendMesh(Message &aMessage, Mac::TxFrame &aFrame);
561 void HandleReceivedFrame(Mac::RxFrame &aFrame);
563 Neighbor *UpdateNeighborOnSentFrame(Mac::TxFrame &aFrame,
568 void HandleSentFrame(Mac::TxFrame &aFrame, Error aError);
586 void AppendHeaderIe(const Message *aMessage, Mac::TxFrame &aFrame);
[all …]
/openthread-3.5.0/examples/platforms/simulation/
Dradio.c102 static void radioTransmit(struct RadioMessage *aMessage, const struct otRadioFrame *aFrame);
302 static bool hasFramePending(const otRadioFrame *aFrame) in hasFramePending() argument
308 otEXPECT(otMacFrameGetSrcAddr(aFrame, &src) == OT_ERROR_NONE); in hasFramePending()
585 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTransmit() argument
588 OT_UNUSED_VARIABLE(aFrame); in otPlatRadioTransmit()
591 assert(aFrame != NULL); in otPlatRadioTransmit()
599 sCurrentChannel = aFrame->mChannel; in otPlatRadioTransmit()
729 static otError radioProcessTransmitSecurity(otRadioFrame *aFrame) in radioProcessTransmitSecurity() argument
736 otEXPECT(otMacFrameIsSecurityEnabled(aFrame) && otMacFrameIsKeyIdMode1(aFrame) && in radioProcessTransmitSecurity()
737 !aFrame->mInfo.mTxInfo.mIsSecurityProcessed); in radioProcessTransmitSecurity()
[all …]

123