Lines Matching refs:Mac

51     if (instance.Get<Mac::LinkRaw>().IsEnabled())  in otLinkGetChannel()
53 channel = instance.Get<Mac::LinkRaw>().GetChannel(); in otLinkGetChannel()
58 channel = instance.Get<Mac::Mac>().GetPanChannel(); in otLinkGetChannel()
70 if (instance.Get<Mac::LinkRaw>().IsEnabled()) in otLinkSetChannel()
72 error = instance.Get<Mac::LinkRaw>().SetChannel(aChannel); in otLinkSetChannel()
79 SuccessOrExit(error = instance.Get<Mac::Mac>().SetPanChannel(aChannel)); in otLinkSetChannel()
91 return instance.Get<Mac::Mac>().GetSupportedChannelMask().GetMask(); in otLinkGetSupportedChannelMask()
101 instance.Get<Mac::Mac>().SetSupportedChannelMask(static_cast<Mac::ChannelMask>(aChannelMask)); in otLinkSetSupportedChannelMask()
111 return &instance.Get<Mac::Mac>().GetExtAddress(); in otLinkGetExtendedAddress()
122 instance.Get<Mac::Mac>().SetExtAddress(*static_cast<const Mac::ExtAddress *>(aExtAddress)); in otLinkSetExtendedAddress()
134 instance.Get<Radio>().GetIeeeEui64(*static_cast<Mac::ExtAddress *>(aEui64)); in otLinkGetFactoryAssignedIeeeEui64()
141 return instance.Get<Mac::Mac>().GetPanId(); in otLinkGetPanId()
151 instance.Get<Mac::Mac>().SetPanId(aPanId); in otLinkSetPanId()
184 return instance.Get<Mac::Mac>().GetShortAddress(); in otLinkGetShortAddress()
191 return instance.Get<Mac::Mac>().GetMaxFrameRetriesDirect(); in otLinkGetMaxFrameRetriesDirect()
198 instance.Get<Mac::Mac>().SetMaxFrameRetriesDirect(aMaxFrameRetriesDirect); in otLinkSetMaxFrameRetriesDirect()
207 return instance.Get<Mac::Mac>().GetMaxFrameRetriesIndirect(); in otLinkGetMaxFrameRetriesIndirect()
214 instance.Get<Mac::Mac>().SetMaxFrameRetriesIndirect(aMaxFrameRetriesIndirect); in otLinkSetMaxFrameRetriesIndirect()
225 return static_cast<otMacFilterAddressMode>(instance.Get<Mac::Filter>().GetMode()); in otLinkFilterGetAddressMode()
232 instance.Get<Mac::Filter>().SetMode(static_cast<Mac::Filter::Mode>(aMode)); in otLinkFilterSetAddressMode()
241 … return instance.Get<Mac::Filter>().AddAddress(*static_cast<const Mac::ExtAddress *>(aExtAddress)); in otLinkFilterAddAddress()
250 instance.Get<Mac::Filter>().RemoveAddress(*static_cast<const Mac::ExtAddress *>(aExtAddress)); in otLinkFilterRemoveAddress()
257 return instance.Get<Mac::Filter>().ClearAddresses(); in otLinkFilterClearAddresses()
266 return instance.Get<Mac::Filter>().GetNextAddress(*aIterator, *aEntry); in otLinkFilterGetNextAddress()
275 …return instance.Get<Mac::Filter>().AddRssIn(*static_cast<const Mac::ExtAddress *>(aExtAddress), aR… in otLinkFilterAddRssIn()
284 instance.Get<Mac::Filter>().RemoveRssIn(*static_cast<const Mac::ExtAddress *>(aExtAddress)); in otLinkFilterRemoveRssIn()
291 instance.Get<Mac::Filter>().SetDefaultRssIn(aRss); in otLinkFilterSetDefaultRssIn()
298 instance.Get<Mac::Filter>().ClearDefaultRssIn(); in otLinkFilterClearDefaultRssIn()
305 instance.Get<Mac::Filter>().ClearAllRssIn(); in otLinkFilterClearAllRssIn()
314 return instance.Get<Mac::Filter>().GetNextRssIn(*aIterator, *aEntry); in otLinkFilterGetNextRssIn()
321 return LinkQualityInfo::ConvertRssToLinkQuality(instance.Get<Mac::Mac>().GetNoiseFloor(), aRss); in otLinkConvertRssToLinkQuality()
328 …return LinkQualityInfo::ConvertLinkQualityToRss(instance.Get<Mac::Mac>().GetNoiseFloor(), aLinkQua… in otLinkConvertLinkQualityToRss()
338 return instance.Get<Mac::Mac>().GetDirectRetrySuccessHistogram(*aNumberOfEntries); in otLinkGetTxDirectRetrySuccessHistogram()
348 histogram = instance.Get<Mac::Mac>().GetIndirectRetrySuccessHistogram(*aNumberOfEntries); in otLinkGetTxIndirectRetrySuccessHistogram()
361 instance.Get<Mac::Mac>().ResetRetrySuccessHistogram(); in otLinkResetTxRetrySuccessHistogram()
369 instance.Get<Mac::Mac>().SetPcapCallback(aPcapCallback, aCallbackContext); in otLinkSetPcapCallback()
376 return instance.Get<Mac::Mac>().IsPromiscuous(); in otLinkIsPromiscuous()
387 instance.Get<Mac::Mac>().SetPromiscuous(aPromiscuous); in otLinkSetPromiscuous()
401 instance.Get<Mac::Mac>().SetEnabled(aEnable); in otLinkSetEnabled()
411 return instance.Get<Mac::Mac>().IsEnabled(); in otLinkIsEnabled()
418 return &instance.Get<Mac::Mac>().GetCounters(); in otLinkGetCounters()
425 instance.Get<Mac::Mac>().ResetCounters(); in otLinkResetCounters()
436 …return instance.Get<Mac::Mac>().ActiveScan(aScanChannels, aScanDuration, aCallback, aCallbackConte… in otLinkActiveScan()
443 return instance.Get<Mac::Mac>().IsActiveScanInProgress(); in otLinkIsActiveScanInProgress()
454 …return instance.Get<Mac::Mac>().EnergyScan(aScanChannels, aScanDuration, aCallback, aCallbackConte… in otLinkEnergyScan()
461 return instance.Get<Mac::Mac>().IsEnergyScanInProgress(); in otLinkIsEnergyScanInProgress()
468 return instance.Get<Mac::Mac>().IsInTransmitState(); in otLinkIsInTransmitState()
475 return instance.Get<Mac::Mac>().GetCcaFailureRate(); in otLinkGetCcaFailureRate()
481 return static_cast<Instance *>(aInstance)->Get<Mac::Mac>().GetCslChannel(); in otLinkCslGetChannel()
491 instance.Get<Mac::Mac>().SetCslChannel(aChannel); in otLinkCslSetChannel()
499 return static_cast<Instance *>(aInstance)->Get<Mac::Mac>().GetCslPeriod(); in otLinkCslGetPeriod()
508 instance.Get<Mac::Mac>().SetCslPeriod(aPeriod); in otLinkCslSetPeriod()