Home
last modified time | relevance | path

Searched refs:ChannelMonitor (Results 1 – 6 of 6) sorted by relevance

/openthread-3.5.0/src/core/api/
Dchannel_monitor_api.cpp47 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()
/openthread-3.5.0/src/core/utils/
Dchannel_monitor.cpp48 const uint32_t ChannelMonitor::mScanChannelMasks[kNumChannelMasks] = {
63 ChannelMonitor::ChannelMonitor(Instance &aInstance) in ChannelMonitor() function in ot::Utils::ChannelMonitor
72 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 …]
Dchannel_monitor.hpp74 class ChannelMonitor : public InstanceLocator, private NonCopyable class
103 explicit ChannelMonitor(Instance &aInstance);
201 using ScanTimer = TimerMilliIn<ChannelMonitor, &ChannelMonitor::HandleTimer>;
Dchannel_manager.cpp187 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()
/openthread-3.5.0/src/core/thread/
Dthread_netif.cpp63 IgnoreError(Get<Utils::ChannelMonitor>().Start()); in Up()
113 IgnoreError(Get<Utils::ChannelMonitor>().Stop()); in Down()
/openthread-3.5.0/src/core/common/
Dinstance.hpp599 Utils::ChannelMonitor mChannelMonitor;
894 template <> inline Utils::ChannelMonitor &Instance::Get(void) { return mChannelMonitor; } in Get()