Home
last modified time | relevance | path

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

/openthread-3.5.0/src/core/utils/
Dchannel_manager.cpp182 Mac::ChannelMask favoredBest; in FindBetterChannel() local
197 favoredBest = Get<ChannelMonitor>().FindBestChannels(favoredAndSupported, favoredOccupancy); in FindBetterChannel()
200 …LogInfo("Best favored %s, occupancy 0x%04x", favoredBest.ToString().AsCString(), favoredOccupancy); in FindBetterChannel()
207 if (favoredBest.IsEmpty() || ((favoredOccupancy >= kThresholdToSkipFavored) && in FindBetterChannel()
210 if (!favoredBest.IsEmpty()) in FindBetterChannel()
215 favoredBest = supportedBest; in FindBetterChannel()
219 VerifyOrExit(!favoredBest.IsEmpty(), error = kErrorNotFound); in FindBetterChannel()
221 aNewChannel = favoredBest.ChooseRandomChannel(); in FindBetterChannel()