Home
last modified time | relevance | path

Searched refs:ChannelMask (Results 1 – 25 of 26) sorted by relevance

12

/openthread-latest/src/core/mac/
Dchannel_mask.hpp63 class ChannelMask : public Unequatable<ChannelMask> class
81 ChannelMask(void) in ChannelMask() function in ot::Mac::ChannelMask
91 explicit ChannelMask(uint32_t aMask) in ChannelMask() function in ot::Mac::ChannelMask
172 void Intersect(const ChannelMask &aOtherMask) { mMask &= aOtherMask.mMask; } in Intersect()
210 bool operator==(const ChannelMask &aAnother) const { return (mMask == aAnother.mMask); } in operator ==()
Dchannel_mask.cpp42 uint8_t ChannelMask::GetNumberOfChannels(void) const in GetNumberOfChannels()
55 Error ChannelMask::GetNextChannel(uint8_t &aChannel) const in GetNextChannel()
76 uint8_t ChannelMask::ChooseRandomChannel(void) const in ChooseRandomChannel()
96 ChannelMask::InfoString ChannelMask::ToString(void) const in ToString()
Dmac.hpp322 const ChannelMask &GetSupportedChannelMask(void) const { return mSupportedChannelMask; } in GetSupportedChannelMask()
329 void SetSupportedChannelMask(const ChannelMask &aMask);
908 ChannelMask mSupportedChannelMask;
911 ChannelMask mScanChannelMask;
Dmac.cpp182 mScanChannel = ChannelMask::kChannelIteratorFirst; in Scan()
472 void Mac::SetSupportedChannelMask(const ChannelMask &aMask) in SetSupportedChannelMask()
474 ChannelMask newMask = aMask; in SetSupportedChannelMask()
2246 ChannelMask oldMask = mSupportedChannelMask; in SetRegion()
/openthread-latest/src/core/thread/
Dannounce_sender.hpp60 static constexpr uint8_t kChannelIteratorFirst = Mac::ChannelMask::kChannelIteratorFirst;
141 const Mac::ChannelMask GetChannelMask(void) const { return mChannelMask; } in GetChannelMask()
148 void SetChannelMask(Mac::ChannelMask aChannelMask);
177 Mac::ChannelMask mChannelMask;
Ddiscover_scanner.hpp120 Error Discover(const Mac::ChannelMask &aScanChannels,
176 Mac::ChannelMask mScanChannels;
Dannounce_sender.cpp83 void AnnounceSenderBase::SetChannelMask(Mac::ChannelMask aChannelMask) in SetChannelMask()
235 Mac::ChannelMask channelMask; in HandleActiveDatasetChanged()
Dannounce_begin_server.cpp49 SetChannelMask(Mac::ChannelMask(aChannelMask)); in SendAnnounce()
Ddiscover_scanner.cpp54 Error DiscoverScanner::Discover(const Mac::ChannelMask &aScanChannels, in Discover()
145 mScanChannel = Mac::ChannelMask::kChannelIteratorFirst; in Discover()
Dmle.cpp1219 Mac::ChannelMask channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in HandleNotifierEvents()
1526 mAnnounceChannel = Mac::ChannelMask::kChannelIteratorFirst; in HandleAttachTimer()
1561 Mac::ChannelMask channelMask; in PrepareAnnounceState()
2189 Mac::ChannelMask channelMask; in GetNextAnnounceChannel()
/openthread-latest/src/core/utils/
Dchannel_monitor.cpp199 Mac::ChannelMask ChannelMonitor::FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupan… in FindBestChannels()
202 Mac::ChannelMask bestMask; in FindBestChannels()
207 channel = Mac::ChannelMask::kChannelIteratorFirst; in FindBestChannels()
Dchannel_monitor.hpp171 Mac::ChannelMask FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupancy) const;
Dchannel_manager.hpp346 Mac::ChannelMask mSupportedChannelMask;
347 Mac::ChannelMask mFavoredChannelMask;
Dchannel_manager.cpp233 Mac::ChannelMask favoredAndSupported; in FindBetterChannel()
234 Mac::ChannelMask favoredBest; in FindBetterChannel()
235 Mac::ChannelMask supportedBest; in FindBetterChannel()
/openthread-latest/src/posix/platform/
Dopenthread.conf.example27 # supported_channel_mask=<RegulatoryDomain>,<ChannelMask>
32 # preferred_channel_mask=<RegulatoryDomain>,<ChannelMask>
/openthread-latest/tests/unit/
Dtest_mac_frame.cpp430 void VerifyChannelMaskContent(const Mac::ChannelMask &aMask, uint8_t *aChannels, uint8_t aLength) in VerifyChannelMaskContent()
452 channel = Mac::ChannelMask::kChannelIteratorFirst; in VerifyChannelMaskContent()
488 Mac::ChannelMask mask1; in TestMacChannelMask()
489 Mac::ChannelMask mask2(Radio::kSupportedChannels); in TestMacChannelMask()
/openthread-latest/src/core/meshcop/
Ddataset_manager.hpp172 Error GetChannelMask(Mac::ChannelMask &aChannelMask) const;
Ddataset.cpp46 Mac::ChannelMask supportedChannels = aInstance.Get<Mac::Mac>().GetSupportedChannelMask(); in GenerateRandom()
47 Mac::ChannelMask preferredChannels(aInstance.Get<Radio>().GetPreferredChannelMask()); in GenerateRandom()
Ddataset.hpp693 DefineIsPresentAndMarkAsPresent(ChannelMask)
Djoiner.cpp162 …SuccessOrExit(error = Get<Mle::DiscoverScanner>().Discover(Mac::ChannelMask(0), Get<Mac::Mac>().Ge… in Start()
Ddataset_manager.cpp401 Error DatasetManager::GetChannelMask(Mac::ChannelMask &aChannelMask) const in GetChannelMask()
/openthread-latest/tools/tcat_ble_client/dataset/
Ddataset_entries.py422 class ChannelMask(DatasetEntry): class
491 MeshcopTlvType.CHANNELMASK: ChannelMask
/openthread-latest/src/core/api/
Dlink_api.cpp117 instance.Get<Mac::Mac>().SetSupportedChannelMask(Mac::ChannelMask(aChannelMask)); in otLinkSetSupportedChannelMask()
Dthread_api.cpp427 Mac::ChannelMask(aScanChannels), aPanId, aJoiner, aEnableEui64Filtering, in otThreadDiscover()
/openthread-latest/tests/scripts/thread-cert/
Dmesh_cop.py752 class ChannelMask(object): class

12