Lines Matching refs:Mac

59 namespace Mac {  namespace
63 const otExtAddress Mac::sMode2ExtAddress = {
67 Mac::Mac(Instance &aInstance) in Mac() function in ot::Mac::Mac
132 void Mac::SetEnabled(bool aEnable) in SetEnabled()
146 Error Mac::ActiveScan(uint32_t aScanChannels, uint16_t aScanDuration, ActiveScanHandler aHandler, v… in ActiveScan()
167 Error Mac::EnergyScan(uint32_t aScanChannels, uint16_t aScanDuration, EnergyScanHandler aHandler, v… in EnergyScan()
183 void Mac::Scan(Operation aScanOperation, uint32_t aScanChannels, uint16_t aScanDuration) in Scan()
198 bool Mac::IsInTransmitState(void) const in IsInTransmitState()
227 Error Mac::ConvertBeaconToActiveScanResult(const RxFrame *aBeaconFrame, ActiveScanResult &aResult) in ConvertBeaconToActiveScanResult()
278 Error Mac::UpdateScanChannel(void) in UpdateScanChannel()
290 void Mac::PerformActiveScan(void) in PerformActiveScan()
306 void Mac::ReportActiveScanResult(const RxFrame *aBeaconFrame) in ReportActiveScanResult()
326 void Mac::PerformEnergyScan(void) in PerformEnergyScan()
365 void Mac::ReportEnergyScanResult(int8_t aRssi) in ReportEnergyScanResult()
380 void Mac::EnergyScanDone(int8_t aEnergyScanMaxRssi) in EnergyScanDone()
386 void Mac::SetRxOnWhenIdle(bool aRxOnWhenIdle) in SetRxOnWhenIdle()
424 Error Mac::SetPanChannel(uint8_t aChannel) in SetPanChannel()
448 Error Mac::SetTemporaryChannel(uint8_t aChannel) in SetTemporaryChannel()
463 void Mac::ClearTemporaryChannel(void) in ClearTemporaryChannel()
473 void Mac::SetSupportedChannelMask(const ChannelMask &aMask) in SetSupportedChannelMask()
481 void Mac::SetPanId(PanId aPanId) in SetPanId()
490 void Mac::RequestDirectFrameTransmission(void) in RequestDirectFrameTransmission()
502 void Mac::RequestIndirectFrameTransmission(void) in RequestIndirectFrameTransmission()
514 void Mac::RequestCslFrameTransmission(uint32_t aDelay) in RequestCslFrameTransmission()
528 Error Mac::RequestDataPollTransmission(void) in RequestDataPollTransmission()
547 void Mac::UpdateIdleMode(void) in UpdateIdleMode()
599 bool Mac::IsActiveOrPending(Operation aOperation) const { return (mOperation == aOperation) || IsPe… in IsActiveOrPending()
601 void Mac::StartOperation(Operation aOperation) in StartOperation()
626 void Mac::PerformNextOperation(void) in PerformNextOperation()
732 void Mac::FinishOperation(void) in FinishOperation()
738 TxFrame *Mac::PrepareBeaconRequest(void) in PrepareBeaconRequest()
757 TxFrame *Mac::PrepareBeacon(void) in PrepareBeacon()
814 bool Mac::ShouldSendBeacon(void) const in ShouldSendBeacon()
840 bool Mac::IsJoinable(void) const in IsJoinable()
849 void Mac::ProcessTransmitSecurity(TxFrame &aFrame) in ProcessTransmitSecurity()
937 void Mac::BeginTransmit(void) in BeginTransmit()
1129 void Mac::RecordCcaStatus(bool aCcaSuccess, uint8_t aChannel) in RecordCcaStatus()
1154 void Mac::RecordFrameTransmitStatus(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool … in RecordFrameTransmitStatus()
1251 void Mac::HandleTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, Error aError) in HandleTransmitDone()
1479 void Mac::HandleTimer(void) in HandleTimer()
1519 Error Mac::ProcessReceiveSecurity(RxFrame &aFrame, const Address &aSrcAddr, Neighbor *aNeighbor) in ProcessReceiveSecurity()
1655 Error Mac::ProcessEnhAckSecurity(TxFrame &aTxFrame, RxFrame &aAckFrame) in ProcessEnhAckSecurity()
1754 void Mac::HandleReceivedFrame(RxFrame *aFrame, Error aError) in HandleReceivedFrame()
2045 void Mac::UpdateNeighborLinkInfo(Neighbor &aNeighbor, const RxFrame &aRxFrame) in UpdateNeighborLinkInfo()
2066 bool Mac::HandleMacCommand(RxFrame &aFrame) in HandleMacCommand()
2106 void Mac::SetPromiscuous(bool aPromiscuous) in SetPromiscuous()
2120 Error Mac::SetRegion(uint16_t aRegionCode) in SetRegion()
2133 Error Mac::GetRegion(uint16_t &aRegionCode) const { return Get<Radio>().GetRegion(aRegionCode); } in GetRegion()
2136 const uint32_t *Mac::GetDirectRetrySuccessHistogram(uint8_t &aNumberOfEntries) in GetDirectRetrySuccessHistogram()
2151 const uint32_t *Mac::GetIndirectRetrySuccessHistogram(uint8_t &aNumberOfEntries) in GetIndirectRetrySuccessHistogram()
2166 void Mac::ResetRetrySuccessHistogram() { ClearAllBytes(mRetryHistogram); } in ResetRetrySuccessHistogram()
2169 uint8_t Mac::ComputeLinkMargin(int8_t aRss) const { return ot::ComputeLinkMargin(GetNoiseFloor(), a… in ComputeLinkMargin()
2175 const char *Mac::OperationToString(Operation aOperation) in OperationToString()
2210 void Mac::LogFrameRxFailure(const RxFrame *aFrame, Error aError) const in LogFrameRxFailure()
2238 void Mac::LogFrameTxFailure(const TxFrame &aFrame, Error aError, uint8_t aRetryCount, bool aWillRet… in LogFrameTxFailure()
2269 void Mac::LogBeacon(const char *aActionText) const { LogInfo("%s Beacon", aActionText); } in LogBeacon()
2273 void Mac::LogFrameRxFailure(const RxFrame *, Error) const {} in LogFrameRxFailure()
2275 void Mac::LogBeacon(const char *) const {} in LogBeacon()
2277 void Mac::LogFrameTxFailure(const TxFrame &, Error, uint8_t, bool) const {} in LogFrameTxFailure()
2284 uint8_t Mac::GetTimeIeOffset(const Frame &aFrame) in GetTimeIeOffset()
2302 void Mac::UpdateCsl(void) in UpdateCsl()
2324 void Mac::SetCslChannel(uint8_t aChannel) in SetCslChannel()
2330 void Mac::SetCslPeriod(uint16_t aPeriod) in SetCslPeriod()
2336 uint32_t Mac::GetCslPeriodInMsec(void) const in GetCslPeriodInMsec()
2341 uint32_t Mac::CslPeriodToUsec(uint16_t aPeriodInTenSymbols) in CslPeriodToUsec()
2346 bool Mac::IsCslEnabled(void) const { return !Get<Mle::Mle>().IsRxOnWhenIdle() && IsCslCapable(); } in IsCslEnabled()
2348 bool Mac::IsCslCapable(void) const { return (GetCslPeriod() > 0) && IsCslSupported(); } in IsCslCapable()
2350 bool Mac::IsCslSupported(void) const in IsCslSupported()
2357 void Mac::ProcessCsl(const RxFrame &aFrame, const Address &aSrcAddr) in ProcessCsl()
2391 void Mac::ProcessEnhAckProbing(const RxFrame &aFrame, const Neighbor &aNeighbor) in ProcessEnhAckProbing()
2413 void Mac::SetRadioFilterEnabled(bool aFilterEnabled) in SetRadioFilterEnabled()