Searched refs:ChannelMonitor (Results 1 – 6 of 6) sorted by relevance
47 Utils::ChannelMonitor &monitor = AsCoreType(aInstance).Get<Utils::ChannelMonitor>(); in otChannelMonitorSetEnabled()54 return AsCoreType(aInstance).Get<Utils::ChannelMonitor>().IsRunning(); in otChannelMonitorIsEnabled()61 return Utils::ChannelMonitor::kSampleInterval; in otChannelMonitorGetSampleInterval()68 return Utils::ChannelMonitor::kRssiThreshold; in otChannelMonitorGetRssiThreshold()75 return Utils::ChannelMonitor::kSampleWindow; in otChannelMonitorGetSampleWindow()80 return AsCoreType(aInstance).Get<Utils::ChannelMonitor>().GetSampleCount(); in otChannelMonitorGetSampleCount()85 return AsCoreType(aInstance).Get<Utils::ChannelMonitor>().GetChannelOccupancy(aChannel); in otChannelMonitorGetChannelOccupancy()
48 const uint32_t ChannelMonitor::mScanChannelMasks[kNumChannelMasks] = {63 ChannelMonitor::ChannelMonitor(Instance &aInstance) in ChannelMonitor() function in ot::Utils::ChannelMonitor72 Error ChannelMonitor::Start(void) in Start()85 Error ChannelMonitor::Stop(void) in Stop()97 void ChannelMonitor::Clear(void) in Clear()106 uint16_t ChannelMonitor::GetChannelOccupancy(uint8_t aChannel) const in GetChannelOccupancy()117 void ChannelMonitor::HandleTimer(void) in HandleTimer()120 &ChannelMonitor::HandleEnergyScanResult, this)); in HandleTimer()125 void ChannelMonitor::HandleEnergyScanResult(Mac::EnergyScanResult *aResult, void *aContext) in HandleEnergyScanResult()127 static_cast<ChannelMonitor *>(aContext)->HandleEnergyScanResult(aResult); in HandleEnergyScanResult()[all …]
74 class ChannelMonitor : public InstanceLocator, private NonCopyable class103 explicit ChannelMonitor(Instance &aInstance);201 using ScanTimer = TimerMilliIn<ChannelMonitor, &ChannelMonitor::HandleTimer>;
187 if (Get<ChannelMonitor>().GetSampleCount() <= kMinChannelMonitorSampleCount) in FindBetterChannel()189 …LogInfo("Too few samples (%lu <= %lu) to select channel", ToUlong(Get<ChannelMonitor>().GetSampleC… in FindBetterChannel()197 favoredBest = Get<ChannelMonitor>().FindBestChannels(favoredAndSupported, favoredOccupancy); in FindBetterChannel()198 … supportedBest = Get<ChannelMonitor>().FindBestChannels(mSupportedChannelMask, supportedOccupancy); in FindBetterChannel()254 curOccupancy = Get<ChannelMonitor>().GetChannelOccupancy(curChannel); in RequestChannelSelect()
63 IgnoreError(Get<Utils::ChannelMonitor>().Start()); in Up()113 IgnoreError(Get<Utils::ChannelMonitor>().Stop()); in Down()
599 Utils::ChannelMonitor mChannelMonitor;894 template <> inline Utils::ChannelMonitor &Instance::Get(void) { return mChannelMonitor; } in Get()