Home
last modified time | relevance | path

Searched refs:aChannelMask (Results 1 – 25 of 29) sorted by relevance

12

/openthread-3.7.0/src/core/meshcop/
Dmeshcop_tlvs.cpp134 Error ChannelMaskTlv::ReadChannelMask(uint32_t &aChannelMask) const in ReadChannelMask()
142 return entriesData.Parse(aChannelMask); in ReadChannelMask()
145 Error ChannelMaskTlv::FindIn(const Message &aMessage, uint32_t &aChannelMask) in FindIn() argument
154 error = entriesData.Parse(aChannelMask); in FindIn()
160 Error ChannelMaskTlv::EntriesData::Parse(uint32_t &aChannelMask) in Parse() argument
174 aChannelMask = 0; in Parse()
212 aChannelMask |= (entry->GetMask() & Radio::ChannelMaskForPage(entry->GetChannelPage())); in Parse()
233 void ChannelMaskTlv::PrepareValue(Value &aValue, uint32_t aChannelMask) in PrepareValue() argument
241 uint32_t mask = (Radio::ChannelMaskForPage(page) & aChannelMask); in PrepareValue()
255 Error ChannelMaskTlv::AppendTo(Message &aMessage, uint32_t aChannelMask) in AppendTo() argument
[all …]
Dannounce_begin_client.cpp58 Error AnnounceBeginClient::SendRequest(uint32_t aChannelMask, in SendRequest() argument
76 SuccessOrExit(error = MeshCoP::ChannelMaskTlv::AppendTo(*message, aChannelMask)); in SendRequest()
Dpanid_query_client.cpp60 uint32_t aChannelMask, in SendQuery() argument
78 SuccessOrExit(error = MeshCoP::ChannelMaskTlv::AppendTo(*message, aChannelMask)); in SendQuery()
Denergy_scan_client.cpp61 Error EnergyScanClient::SendQuery(uint32_t aChannelMask, in SendQuery() argument
82 SuccessOrExit(error = MeshCoP::ChannelMaskTlv::AppendTo(*message, aChannelMask)); in SendQuery()
Dannounce_begin_client.hpp73 …Error SendRequest(uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod, const Ip6::Address &aAd…
Dmeshcop_tlvs.hpp689 Error ReadChannelMask(uint32_t &aChannelMask) const;
703 static Error FindIn(const Message &aMessage, uint32_t &aChannelMask);
712 static void PrepareValue(Value &aValue, uint32_t aChannelMask);
724 static Error AppendTo(Message &aMessage, uint32_t aChannelMask);
752 Error Parse(uint32_t &aChannelMask);
Dpanid_query_client.hpp80 uint32_t aChannelMask,
Denergy_scan_client.hpp82 Error SendQuery(uint32_t aChannelMask,
Ddataset_manager.cpp417 Error DatasetManager::GetChannelMask(Mac::ChannelMask &aChannelMask) const in GetChannelMask()
430 aChannelMask.SetMask(mask & Get<Mac::Mac>().GetSupportedChannelMask().GetMask()); in GetChannelMask()
432 VerifyOrExit(!aChannelMask.IsEmpty(), error = kErrorNotFound); in GetChannelMask()
/openthread-3.7.0/src/cli/
Dcli_commissioner.hpp99 static void HandleEnergyReport(uint32_t aChannelMask,
103 …void HandleEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyList, uint8_t aEnergyL…
105 static void HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask, void *aContext);
106 void HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask);
Dcli_commissioner.cpp704 void Commissioner::HandleEnergyReport(uint32_t aChannelMask, in HandleEnergyReport() argument
709 …static_cast<Commissioner *>(aContext)->HandleEnergyReport(aChannelMask, aEnergyList, aEnergyListLe… in HandleEnergyReport()
712 void Commissioner::HandleEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyList, uint8_t aE… in HandleEnergyReport() argument
714 OutputFormat("Energy: %08lx ", ToUlong(aChannelMask)); in HandleEnergyReport()
724 void Commissioner::HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask, void *aContext) in HandlePanIdConflict() argument
726 static_cast<Commissioner *>(aContext)->HandlePanIdConflict(aPanId, aChannelMask); in HandlePanIdConflict()
729 void Commissioner::HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask) in HandlePanIdConflict() argument
731 OutputLine("Conflict: %04x, %08lx", aPanId, ToUlong(aChannelMask)); in HandlePanIdConflict()
/openthread-3.7.0/include/openthread/
Dcommissioner.h356 uint32_t aChannelMask,
370 typedef void (*otCommissionerEnergyReportCallback)(uint32_t aChannelMask,
395 uint32_t aChannelMask,
411 typedef void (*otCommissionerPanIdConflictCallback)(uint16_t aPanId, uint32_t aChannelMask, void *a…
432 uint32_t aChannelMask,
Dchannel_manager.h261 void otChannelManagerSetSupportedChannels(otInstance *aInstance, uint32_t aChannelMask);
280 void otChannelManagerSetFavoredChannels(otInstance *aInstance, uint32_t aChannelMask);
/openthread-3.7.0/src/core/api/
Dcommissioner_api.cpp128 uint32_t aChannelMask, in otCommissionerAnnounceBegin() argument
134 aChannelMask, aCount, aPeriod, AsCoreType(aAddress)); in otCommissionerAnnounceBegin()
138 uint32_t aChannelMask, in otCommissionerEnergyScan() argument
147 aChannelMask, aCount, aPeriod, aScanDuration, AsCoreType(aAddress), aCallback, aContext); in otCommissionerEnergyScan()
152 uint32_t aChannelMask, in otCommissionerPanIdQuery() argument
158 aPanId, aChannelMask, AsCoreType(aAddress), aCallback, aContext); in otCommissionerPanIdQuery()
Dchannel_manager_api.cpp123 void otChannelManagerSetSupportedChannels(otInstance *aInstance, uint32_t aChannelMask) in otChannelManagerSetSupportedChannels() argument
125 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetSupportedChannels(aChannelMask); in otChannelManagerSetSupportedChannels()
133 void otChannelManagerSetFavoredChannels(otInstance *aInstance, uint32_t aChannelMask) in otChannelManagerSetFavoredChannels() argument
135 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetFavoredChannels(aChannelMask); in otChannelManagerSetFavoredChannels()
/openthread-3.7.0/src/core/thread/
Dannounce_begin_server.cpp58 void AnnounceBeginServer::SendAnnounce(uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod) in SendAnnounce() argument
60 SetChannelMask(Mac::ChannelMask(aChannelMask)); in SendAnnounce()
Dannounce_sender.cpp92 void AnnounceSenderBase::SetChannelMask(Mac::ChannelMask aChannelMask) in SetChannelMask() argument
94 mChannelMask = aChannelMask; in SetChannelMask()
Dannounce_begin_server.hpp70 …void SendAnnounce(uint32_t aChannelMask, uint8_t aCount = kDefaultCount, uint16_t aPeriod = kDefau…
Dannounce_sender.hpp159 void SetChannelMask(Mac::ChannelMask aChannelMask);
/openthread-3.7.0/src/ncp/
Dncp_base.hpp319 otError EncodeChannelMask(uint32_t aChannelMask);
320 otError DecodeChannelMask(uint32_t &aChannelMask);
384 static void HandleCommissionerEnergyReport_Jump(uint32_t aChannelMask,
388 …void HandleCommissionerEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyData, uint…
390 …static void HandleCommissionerPanIdConflict_Jump(uint16_t aPanId, uint32_t aChannelMask, void *aCo…
391 void HandleCommissionerPanIdConflict(uint16_t aPanId, uint32_t aChannelMask);
Dncp_base_ftd.cpp912 void NcpBase::HandleCommissionerEnergyReport_Jump(uint32_t aChannelMask, in HandleCommissionerEnergyReport_Jump() argument
917 …static_cast<NcpBase *>(aContext)->HandleCommissionerEnergyReport(aChannelMask, aEnergyData, aLengt… in HandleCommissionerEnergyReport_Jump()
920 void NcpBase::HandleCommissionerEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyData, uin… in HandleCommissionerEnergyReport() argument
926 SuccessOrExit(error = mEncoder.WriteUint32(aChannelMask)); in HandleCommissionerEnergyReport()
957 void NcpBase::HandleCommissionerPanIdConflict_Jump(uint16_t aPanId, uint32_t aChannelMask, void *aC… in HandleCommissionerPanIdConflict_Jump() argument
959 static_cast<NcpBase *>(aContext)->HandleCommissionerPanIdConflict(aPanId, aChannelMask); in HandleCommissionerPanIdConflict_Jump()
962 void NcpBase::HandleCommissionerPanIdConflict(uint16_t aPanId, uint32_t aChannelMask) in HandleCommissionerPanIdConflict() argument
970 SuccessOrExit(error = mEncoder.WriteUint32(aChannelMask)); in HandleCommissionerPanIdConflict()
/openthread-3.7.0/src/core/utils/
Dchannel_manager.hpp272 void SetSupportedChannels(uint32_t aChannelMask);
288 void SetFavoredChannels(uint32_t aChannelMask);
Dchannel_manager.cpp479 void ChannelManager::SetSupportedChannels(uint32_t aChannelMask) in SetSupportedChannels() argument
481 … mSupportedChannelMask.SetMask(aChannelMask & Get<Mac::Mac>().GetSupportedChannelMask().GetMask()); in SetSupportedChannels()
486 void ChannelManager::SetFavoredChannels(uint32_t aChannelMask) in SetFavoredChannels() argument
488 mFavoredChannelMask.SetMask(aChannelMask & Get<Mac::Mac>().GetSupportedChannelMask().GetMask()); in SetFavoredChannels()
/openthread-3.7.0/src/posix/platform/
Dconfiguration.cpp123 …nfiguration::GetChannelMask(const char *aKey, const Power::Domain &aDomain, uint32_t &aChannelMask) in GetChannelMask() argument
143 aChannelMask = channelMask; in GetChannelMask()
Dconfiguration.hpp138 otError GetChannelMask(const char *aKey, const Power::Domain &aDomain, uint32_t &aChannelMask);

12