Home
last modified time | relevance | path

Searched refs:LinkRaw (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/src/core/api/
Dlink_raw_api.cpp54 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetReceiveDone(aCallback); in otLinkRawSetReceiveDone()
57 bool otLinkRawIsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<Mac::LinkRaw>().I… in otLinkRawIsEnabled()
61 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetShortAddress(aShortAddress); in otLinkRawSetShortAddress()
71 VerifyOrExit(instance.Get<Mac::LinkRaw>().IsEnabled(), error = kErrorInvalidState); in otLinkRawSetPromiscuous()
83 VerifyOrExit(instance.Get<Mac::LinkRaw>().IsEnabled(), error = kErrorInvalidState); in otLinkRawSleep()
91 otError otLinkRawReceive(otInstance *aInstance) { return AsCoreType(aInstance).Get<Mac::LinkRaw>().… in otLinkRawReceive()
95 return &AsCoreType(aInstance).Get<Mac::LinkRaw>().GetTransmitFrame(); in otLinkRawGetTransmitBuffer()
100 return AsCoreType(aInstance).Get<Mac::LinkRaw>().Transmit(aCallback); in otLinkRawTransmit()
105 otRadioCaps otLinkRawGetCaps(otInstance *aInstance) { return AsCoreType(aInstance).Get<Mac::LinkRaw in otLinkRawGetCaps()
112 …return AsCoreType(aInstance).Get<Mac::LinkRaw>().EnergyScan(aScanChannel, aScanDuration, aCallback… in otLinkRawEnergyScan()
[all …]
Dlink_api.cpp51 if (instance.Get<Mac::LinkRaw>().IsEnabled()) in otLinkGetChannel()
53 channel = instance.Get<Mac::LinkRaw>().GetChannel(); in otLinkGetChannel()
70 if (instance.Get<Mac::LinkRaw>().IsEnabled()) in otLinkSetChannel()
72 error = instance.Get<Mac::LinkRaw>().SetChannel(aChannel); in otLinkSetChannel()
Dip6_api.cpp53 VerifyOrExit(!instance.Get<Mac::LinkRaw>().IsEnabled(), error = kErrorInvalidState); in otIp6SetEnabled()
/openthread-3.4.0/src/core/mac/
Dlink_raw.cpp54 LinkRaw::LinkRaw(Instance &aInstance) in LinkRaw() function in ot::Mac::LinkRaw
70 void LinkRaw::Init(void) in Init()
84 Error LinkRaw::SetReceiveDone(otLinkRawReceiveDone aCallback) in SetReceiveDone()
125 Error LinkRaw::SetPanId(uint16_t aPanId) in SetPanId()
137 Error LinkRaw::SetChannel(uint8_t aChannel) in SetChannel()
148 Error LinkRaw::SetExtAddress(const ExtAddress &aExtAddress) in SetExtAddress()
159 Error LinkRaw::SetShortAddress(ShortAddress aShortAddress) in SetShortAddress()
170 Error LinkRaw::Receive(void) in Receive()
182 void LinkRaw::InvokeReceiveDone(RxFrame *aFrame, Error aError) in InvokeReceiveDone()
192 Error LinkRaw::Transmit(otLinkRawTransmitDone aCallback) in Transmit()
[all …]
Dsub_mac_callbacks.cpp57 if (Get<LinkRaw>().IsEnabled()) in ReceiveDone()
59 Get<LinkRaw>().InvokeReceiveDone(aFrame, aError); in ReceiveDone()
85 if (Get<LinkRaw>().IsEnabled()) in TransmitDone()
87 Get<LinkRaw>().InvokeTransmitDone(aFrame, aAckFrame, aError); in TransmitDone()
99 if (Get<LinkRaw>().IsEnabled()) in EnergyScanDone()
101 Get<LinkRaw>().InvokeEnergyScanDone(aMaxRssi); in EnergyScanDone()
117 void SubMac::Callbacks::ReceiveDone(RxFrame *aFrame, Error aError) { Get<LinkRaw>().InvokeReceiveDo… in ReceiveDone()
127 Get<LinkRaw>().RecordFrameTransmitStatus(aFrame, aAckFrame, aError, aRetryCount, aWillRetx); in RecordFrameTransmitStatus()
132 Get<LinkRaw>().InvokeTransmitDone(aFrame, aAckFrame, aError); in TransmitDone()
135 void SubMac::Callbacks::EnergyScanDone(int8_t aMaxRssi) { Get<LinkRaw>().InvokeEnergyScanDone(aMaxR… in EnergyScanDone()
Dlink_raw.hpp56 class LinkRaw : public InstanceLocator, private NonCopyable class
67 explicit LinkRaw(Instance &aInstance);
Dsub_mac.cpp663 allowError = Get<LinkRaw>().IsEnabled(); in SignalFrameCounterUsedOnTxDone()
826 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleTransmitSecurity()
844 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleCsmaBackOff()
862 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleAckTimeout()
880 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleRetries()
898 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleEnergyScan()
916 VerifyOrExit(Get<LinkRaw>().IsEnabled()); in ShouldHandleTransmitTargetTime()
Dsub_mac.hpp86 class LinkRaw;
109 friend class LinkRaw;
/openthread-3.4.0/src/core/common/
Dinstance.hpp625 Mac::LinkRaw mLinkRaw;
968 template <> inline Mac::LinkRaw &Instance::Get(void) { return mLinkRaw; } in Get()