Home
last modified time | relevance | path

Searched refs:otRadioFrame (Results 1 – 25 of 27) sorted by relevance

12

/openthread-3.4.0/examples/platforms/utils/
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 …]
Dmac_frame.cpp36 bool otMacFrameDoesAddrMatch(const otRadioFrame *aFrame, in otMacFrameDoesAddrMatch()
69 bool otMacFrameIsAck(const otRadioFrame *aFrame) in otMacFrameIsAck()
74 bool otMacFrameIsData(const otRadioFrame *aFrame) in otMacFrameIsData()
79 bool otMacFrameIsCommand(const otRadioFrame *aFrame) in otMacFrameIsCommand()
84 bool otMacFrameIsDataRequest(const otRadioFrame *aFrame) in otMacFrameIsDataRequest()
89 bool otMacFrameIsAckRequested(const otRadioFrame *aFrame) in otMacFrameIsAckRequested()
114 otError otMacFrameGetSrcAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress) in otMacFrameGetSrcAddr()
128 otError otMacFrameGetDstAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress) in otMacFrameGetDstAddr()
142 uint8_t otMacFrameGetSequence(const otRadioFrame *aFrame) in otMacFrameGetSequence()
147 void otMacFrameProcessTransmitAesCcm(otRadioFrame *aFrame, const otExtAddress *aExtAddress) in otMacFrameProcessTransmitAesCcm()
[all …]
/openthread-3.4.0/src/core/radio/
Dradio_platform.cpp48 extern "C" void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatRadioReceiveDone()
68 extern "C" void otPlatRadioTxStarted(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTxStarted()
85 extern "C" void otPlatRadioTxDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFr… in otPlatRadioTxDone()
120 extern "C" void otPlatDiagRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aEr… in otPlatDiagRadioReceiveDone()
134 extern "C" void otPlatDiagRadioTransmitDone(otInstance *aInstance, otRadioFrame *aFrame, otError aE… in otPlatDiagRadioTransmitDone()
148 extern "C" void otPlatRadioReceiveDone(otInstance *, otRadioFrame *, otError) {} in otPlatRadioReceiveDone() argument
150 extern "C" void otPlatRadioTxStarted(otInstance *, otRadioFrame *) {} in otPlatRadioTxStarted() argument
152 extern "C" void otPlatRadioTxDone(otInstance *, otRadioFrame *, otRadioFrame *, otError) {} in otPlatRadioTxDone() argument
157 extern "C" void otPlatDiagRadioReceiveDone(otInstance *, otRadioFrame *, otError) {} in otPlatDiagRadioReceiveDone() argument
159 extern "C" void otPlatDiagRadioTransmitDone(otInstance *, otRadioFrame *, otError) {} in otPlatDiagRadioTransmitDone() argument
/openthread-3.4.0/include/openthread/platform/
Dradio.h254 typedef struct otRadioFrame struct
352 } otRadioFrame; typedef
785 extern void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
799 extern void otPlatDiagRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
811 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *aInstance);
832 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame);
844 extern void otPlatRadioTxStarted(otInstance *aInstance, otRadioFrame *aFrame);
862 extern void otPlatRadioTxDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFrame,…
876 extern void otPlatDiagRadioTransmitDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError…
Ddiag.h132 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
/openthread-3.4.0/include/openthread/
Dlink_raw.h63 typedef void (*otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
162 otRadioFrame *otLinkRawGetTransmitBuffer(otInstance *aInstance);
178 otRadioFrame *aFrame,
179 otRadioFrame *aAckFrame,
Dlink.h987 typedef void (*otLinkPcapCallback)(const otRadioFrame *aFrame, bool aIsTx, void *aContext);
/openthread-3.4.0/src/lib/spinel/
Dradio_spinel.hpp368 otRadioFrame &GetTransmitFrame(void) { return mTxRadioFrame; } in GetTransmitFrame()
481 otError Transmit(otRadioFrame &aFrame);
1008 …otError ParseRadioFrame(otRadioFrame &aFrame, const uint8_t *aBuffer, uint16_t aLength, spinel_ssi…
1037 void TransmitDone(otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError);
1075 otRadioFrame mRxRadioFrame;
1076 otRadioFrame mTxRadioFrame;
1077 otRadioFrame mAckRadioFrame;
1078 otRadioFrame *mTransmitFrame; ///< Points to the frame to send
Dradio_spinel_impl.hpp999 otError RadioSpinel<InterfaceType, ProcessContextType>::ParseRadioFrame(otRadioFrame &aFrame, in ParseRadioFrame()
1119 void RadioSpinel<InterfaceType, ProcessContextType>::TransmitDone(otRadioFrame *aFrame, in TransmitDone()
1120 otRadioFrame *aAckFrame, in TransmitDone()
1995 otError RadioSpinel<InterfaceType, ProcessContextType>::Transmit(otRadioFrame &aFrame) in Transmit()
2929 otRadioFrame frame; in LogSpinelFrame()
/openthread-3.4.0/src/ncp/
Dncp_base.hpp245 otError PackRadioFrame(otRadioFrame *aFrame, otError aError);
247 static void LinkRawReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
248 void LinkRawReceiveDone(otRadioFrame *aFrame, otError aError);
251 otRadioFrame *aFrame,
252 otRadioFrame *aAckFrame,
254 void LinkRawTransmitDone(otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError);
265 static void HandlePcapFrame(const otRadioFrame *aFrame, bool aIsTx, void *aContext);
266 void HandlePcapFrame(const otRadioFrame *aFrame, bool aIsTx);
454 otError DecodeStreamRawTxRequest(otRadioFrame &aFrame);
Dncp_base_radio.cpp67 otError NcpBase::PackRadioFrame(otRadioFrame *aFrame, otError aError) in PackRadioFrame()
126 void NcpBase::LinkRawReceiveDone(otInstance *, otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone()
131 void NcpBase::LinkRawReceiveDone(otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone()
145 void NcpBase::LinkRawTransmitDone(otInstance *, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otEr… in LinkRawTransmitDone()
150 void NcpBase::LinkRawTransmitDone(otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) in LinkRawTransmitDone()
389 otError NcpBase::DecodeStreamRawTxRequest(otRadioFrame &aFrame) in DecodeStreamRawTxRequest()
452 otRadioFrame *frame; in HandlePropertySet_SPINEL_PROP_STREAM_RAW()
/openthread-3.4.0/tests/fuzz/
Dfuzzer_platform.cpp66 static otRadioFrame sRadioTransmitFrame;
68 static otRadioFrame sRadioAckFrame;
72 bool otMacFrameIsAckRequested(const otRadioFrame *aFrame) in otMacFrameIsAckRequested()
77 uint8_t otMacFrameGetSequence(const otRadioFrame *aFrame) in otMacFrameGetSequence()
306 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTransmit()
322 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *aInstance) in otPlatRadioGetTransmitBuffer()
499 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatDiagRadioReceived()
Dradio_receive_done.cpp65 otRadioFrame frame; in LLVMFuzzerTestOneInput()
/openthread-3.4.0/src/core/diags/
Dfactory_diags.hpp113 void ReceiveDone(otRadioFrame *aFrame, Error aError);
215 otRadioFrame *mTxPacket;
Dfactory_diags.cpp509 void Diags::ReceiveDone(otRadioFrame *aFrame, Error aError)
/openthread-3.4.0/examples/platforms/simulation/
Dradio.c102 static void radioTransmit(struct RadioMessage *aMessage, const struct otRadioFrame *aFrame);
114 static otRadioFrame sReceiveFrame;
115 static otRadioFrame sTransmitFrame;
116 static otRadioFrame sAckFrame;
302 static bool hasFramePending(const otRadioFrame *aFrame) in hasFramePending()
585 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTransmit()
605 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *aInstance) in otPlatRadioGetTransmitBuffer()
729 static otError radioProcessTransmitSecurity(otRadioFrame *aFrame) in radioProcessTransmitSecurity()
969 void radioTransmit(struct RadioMessage *aMessage, const struct otRadioFrame *aFrame) in radioTransmit()
Ddiag.c69 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatDiagRadioReceived()
/openthread-3.4.0/tests/unit/
Dtest_platform.cpp139 OT_TOOL_WEAK otError otPlatRadioTransmit(otInstance *, otRadioFrame *) { return OT_ERROR_NONE; } in otPlatRadioTransmit() argument
141 OT_TOOL_WEAK otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *) { return nullptr; } in otPlatRadioGetTransmitBuffer()
216 OT_TOOL_WEAK void otPlatDiagRadioReceived(otInstance *, otRadioFrame *, otError) {} in otPlatDiagRadioReceived() argument
Dtest_srp_server.cpp68 static otRadioFrame sRadioTxFrame;
83 otError otPlatRadioTransmit(otInstance *, otRadioFrame *) in otPlatRadioTransmit() argument
90 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *) { return &sRadioTxFrame; } in otPlatRadioGetTransmitBuffer()
Dtest_dns_client.cpp71 static otRadioFrame sRadioTxFrame;
86 otError otPlatRadioTransmit(otInstance *, otRadioFrame *) in otPlatRadioTransmit() argument
93 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *) { return &sRadioTxFrame; } in otPlatRadioGetTransmitBuffer()
Dtest_routing_manager.cpp68 static otRadioFrame sRadioTxFrame;
184 otError otPlatRadioTransmit(otInstance *, otRadioFrame *) in otPlatRadioTransmit() argument
191 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *) { return &sRadioTxFrame; } in otPlatRadioGetTransmitBuffer()
/openthread-3.4.0/src/cli/
Dcli.hpp445 static void HandleLinkPcapReceive(const otRadioFrame *aFrame, bool aIsTx, void *aContext);
488 void HandleLinkPcapReceive(const otRadioFrame *aFrame, bool aIsTx);
/openthread-3.4.0/src/posix/platform/
Dradio.cpp280 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTransmit()
286 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *aInstance) in otPlatRadioGetTransmitBuffer()
750 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatDiagRadioReceived()
/openthread-3.4.0/src/core/api/
Dlink_raw_api.cpp93 otRadioFrame *otLinkRawGetTransmitBuffer(otInstance *aInstance) in otLinkRawGetTransmitBuffer()
/openthread-3.4.0/src/core/mac/
Dmac_frame.hpp275 class Frame : public otRadioFrame

12