Home
last modified time | relevance | path

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

12

/external/openthread/src/cli/
Dcli_commissioner.hpp97 static void HandleEnergyReport(uint32_t aChannelMask,
101 …void HandleEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyList, uint8_t aEnergyL…
103 static void HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask, void *aContext);
104 void HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask);
Dcli_commissioner.cpp474 void Commissioner::HandleEnergyReport(uint32_t aChannelMask, in HandleEnergyReport() argument
479 …static_cast<Commissioner *>(aContext)->HandleEnergyReport(aChannelMask, aEnergyList, aEnergyListLe… in HandleEnergyReport()
482 void Commissioner::HandleEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyList, uint8_t aE… in HandleEnergyReport() argument
484 OutputFormat("Energy: %08x ", aChannelMask); in HandleEnergyReport()
494 void Commissioner::HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask, void *aContext) in HandlePanIdConflict() argument
496 static_cast<Commissioner *>(aContext)->HandlePanIdConflict(aPanId, aChannelMask); in HandlePanIdConflict()
499 void Commissioner::HandlePanIdConflict(uint16_t aPanId, uint32_t aChannelMask) in HandlePanIdConflict() argument
501 OutputLine("Conflict: %04x, %08x", aPanId, aChannelMask); in HandlePanIdConflict()
/external/openthread/include/openthread/
Dcommissioner.h355 uint32_t aChannelMask,
369 typedef void (*otCommissionerEnergyReportCallback)(uint32_t aChannelMask,
394 uint32_t aChannelMask,
410 typedef void (*otCommissionerPanIdConflictCallback)(uint16_t aPanId, uint32_t aChannelMask, void *a…
431 uint32_t aChannelMask,
Dchannel_manager.h195 void otChannelManagerSetSupportedChannels(otInstance *aInstance, uint32_t aChannelMask);
214 void otChannelManagerSetFavoredChannels(otInstance *aInstance, uint32_t aChannelMask);
/external/openthread/src/core/api/
Dcommissioner_api.cpp131 uint32_t aChannelMask, in otCommissionerAnnounceBegin() argument
137 aChannelMask, aCount, aPeriod, AsCoreType(aAddress)); in otCommissionerAnnounceBegin()
141 uint32_t aChannelMask, in otCommissionerEnergyScan() argument
150 aChannelMask, aCount, aPeriod, aScanDuration, AsCoreType(aAddress), aCallback, aContext); in otCommissionerEnergyScan()
155 uint32_t aChannelMask, in otCommissionerPanIdQuery() argument
161 aPanId, aChannelMask, AsCoreType(aAddress), aCallback, aContext); in otCommissionerPanIdQuery()
Dchannel_manager_api.cpp98 void otChannelManagerSetSupportedChannels(otInstance *aInstance, uint32_t aChannelMask) in otChannelManagerSetSupportedChannels() argument
100 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetSupportedChannels(aChannelMask); in otChannelManagerSetSupportedChannels()
108 void otChannelManagerSetFavoredChannels(otInstance *aInstance, uint32_t aChannelMask) in otChannelManagerSetFavoredChannels() argument
110 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetFavoredChannels(aChannelMask); in otChannelManagerSetFavoredChannels()
/external/openthread/src/core/meshcop/
Dmeshcop_tlvs.cpp268 void ChannelMaskTlv::SetChannelMask(uint32_t aChannelMask) in SetChannelMask() argument
276 if (aChannelMask & OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK) in SetChannelMask()
281 entry->SetMask(aChannelMask & OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK); in SetChannelMask()
290 if (aChannelMask & OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MASK) in SetChannelMask()
295 entry->SetMask(aChannelMask & OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MASK); in SetChannelMask()
302 if (aChannelMask & OPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK) in SetChannelMask()
307 entry->SetMask(aChannelMask & OPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK); in SetChannelMask()
Dannounce_begin_client.cpp58 Error AnnounceBeginClient::SendRequest(uint32_t aChannelMask, in SendRequest() argument
78 channelMask.SetChannelMask(aChannelMask); in SendRequest()
Dpanid_query_client.cpp64 uint32_t aChannelMask, in SendQuery() argument
84 channelMask.SetChannelMask(aChannelMask); in SendQuery()
Denergy_scan_client.cpp64 Error EnergyScanClient::SendQuery(uint32_t aChannelMask, in SendQuery() argument
87 channelMask.SetChannelMask(aChannelMask); in SendQuery()
Dannounce_begin_client.hpp73 …Error SendRequest(uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod, const Ip6::Address &aAd…
Dpanid_query_client.hpp77 uint32_t aChannelMask,
Denergy_scan_client.hpp78 Error SendQuery(uint32_t aChannelMask,
Ddataset.hpp569 void SetChannelMask(otChannelMask aChannelMask) in SetChannelMask() argument
571 mChannelMask = aChannelMask; in SetChannelMask()
/external/openthread/src/ncp/
Dncp_base.hpp271 otError EncodeChannelMask(uint32_t aChannelMask);
272 otError DecodeChannelMask(uint32_t &aChannelMask);
325 static void HandleCommissionerEnergyReport_Jump(uint32_t aChannelMask,
329 …void HandleCommissionerEnergyReport(uint32_t aChannelMask, const uint8_t *aEnergyData, uint…
331 …static void HandleCommissionerPanIdConflict_Jump(uint16_t aPanId, uint32_t aChannelMask, void *aCo…
332 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()
/external/openthread/src/core/utils/
Dchannel_manager.cpp338 void ChannelManager::SetSupportedChannels(uint32_t aChannelMask) in SetSupportedChannels() argument
340 … mSupportedChannelMask.SetMask(aChannelMask & Get<Mac::Mac>().GetSupportedChannelMask().GetMask()); in SetSupportedChannels()
345 void ChannelManager::SetFavoredChannels(uint32_t aChannelMask) in SetFavoredChannels() argument
347 mFavoredChannelMask.SetMask(aChannelMask & Get<Mac::Mac>().GetSupportedChannelMask().GetMask()); in SetFavoredChannels()
Dchannel_manager.hpp209 void SetSupportedChannels(uint32_t aChannelMask);
225 void SetFavoredChannels(uint32_t aChannelMask);
/external/ot-br-posix/src/utils/
Dthread_helper.cpp271 uint8_t ThreadHelper::RandomChannelFromChannelMask(uint32_t aChannelMask) in RandomChannelFromChannelMask() argument
274 constexpr uint8_t kNumChannels = sizeof(aChannelMask) * 8; in RandomChannelFromChannelMask()
280 if (aChannelMask & (1 << i)) in RandomChannelFromChannelMask()
307 uint32_t aChannelMask, in Attach() argument
322 VerifyOrExit(aChannelMask != 0, error = OT_ERROR_INVALID_ARGS); in Attach()
371 channelMask = otPlatRadioGetPreferredChannelMask(mInstance) & aChannelMask; in Attach()
375 channelMask = otLinkGetSupportedChannelMask(mInstance) & aChannelMask; in Attach()
Dthread_helper.hpp145 uint32_t aChannelMask,
274 uint8_t RandomChannelFromChannelMask(uint32_t aChannelMask);
/external/openthread/src/core/thread/
Dannounce_begin_server.cpp60 void AnnounceBeginServer::SendAnnounce(uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod) in SendAnnounce() argument
62 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.hpp68 …void SendAnnounce(uint32_t aChannelMask, uint8_t aCount = kDefaultCount, uint16_t aPeriod = kDefau…
Dannounce_sender.hpp159 void SetChannelMask(Mac::ChannelMask aChannelMask);
/external/ot-br-posix/src/dbus/client/
Dthread_api_dbus.hpp146 uint32_t aChannelMask,
489 ClientError GetSupportedChannelMask(uint32_t &aChannelMask);

12