/openthread-3.4.0/src/core/meshcop/ |
D | announce_begin_client.cpp | 64 MeshCoP::ChannelMaskTlv channelMask; in SendRequest() local 77 channelMask.Init(); in SendRequest() 78 channelMask.SetChannelMask(aChannelMask); in SendRequest() 79 SuccessOrExit(error = channelMask.AppendTo(*message)); in SendRequest()
|
D | panid_query_client.cpp | 66 MeshCoP::ChannelMaskTlv channelMask; in SendQuery() local 79 channelMask.Init(); in SendQuery() 80 channelMask.SetChannelMask(aChannelMask); in SendQuery() 81 SuccessOrExit(error = channelMask.AppendTo(*message)); in SendQuery()
|
D | energy_scan_client.cpp | 70 MeshCoP::ChannelMaskTlv channelMask; in SendQuery() local 83 channelMask.Init(); in SendQuery() 84 channelMask.SetChannelMask(aChannelMask); in SendQuery() 85 SuccessOrExit(error = channelMask.AppendTo(*message)); in SendQuery()
|
D | joiner_router.cpp | 329 ChannelMaskBaseTlv channelMask; in PrepareJoinerEntrustMessage() local 330 channelMask.Init(); in PrepareJoinerEntrustMessage() 331 SuccessOrExit(error = channelMask.AppendTo(*message)); in PrepareJoinerEntrustMessage()
|
/openthread-3.4.0/src/core/thread/ |
D | announce_sender.cpp | 244 Mac::ChannelMask channelMask; in HandleActiveDatasetChanged() local 246 SuccessOrExit(Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask)); in HandleActiveDatasetChanged() 247 VerifyOrExit(!channelMask.IsEmpty()); in HandleActiveDatasetChanged() 249 VerifyOrExit(channelMask != GetChannelMask()); in HandleActiveDatasetChanged() 251 SetChannelMask(channelMask); in HandleActiveDatasetChanged() 252 SetPeriod(kTxInterval / channelMask.GetNumberOfChannels()); in HandleActiveDatasetChanged()
|
D | panid_query_server.cpp | 109 MeshCoP::ChannelMaskTlv channelMask; in SendConflict() local 116 channelMask.Init(); in SendConflict() 117 channelMask.SetChannelMask(mChannelMask); in SendConflict() 118 SuccessOrExit(error = channelMask.AppendTo(*message)); in SendConflict()
|
D | energy_scan_server.cpp | 119 uint32_t channelMask = mChannelMaskCurrent & ~(mChannelMaskCurrent - 1); in HandleTimer() local 121 IgnoreError(Get<Mac::Mac>().EnergyScan(channelMask, mScanDuration, HandleScanResult, this)); in HandleTimer()
|
D | mle.cpp | 1534 Mac::ChannelMask channelMask; in PrepareAnnounceState() local 1539 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in PrepareAnnounceState() 1541 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in PrepareAnnounceState() 1544 mAnnounceDelay = kAnnounceTimeout / (channelMask.GetNumberOfChannels() + 1); in PrepareAnnounceState() 2277 Mac::ChannelMask channelMask; in GetNextAnnounceChannel() local 2279 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in GetNextAnnounceChannel() 2281 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in GetNextAnnounceChannel() 2284 return channelMask.GetNextChannel(aChannel); in GetNextAnnounceChannel()
|
/openthread-3.4.0/src/core/radio/ |
D | max_power_table.hpp | 69 uint32_t channelMask = 0; in GetSupportedChannelMask() local 75 channelMask |= (1 << i); in GetSupportedChannelMask() 79 return channelMask; in GetSupportedChannelMask()
|
/openthread-3.4.0/src/ncp/ |
D | ncp_base_ftd.cpp | 874 uint32_t channelMask; in HandlePropertySet() local 879 SuccessOrExit(error = mDecoder.ReadUint32(channelMask)); in HandlePropertySet() 884 error = otCommissionerAnnounceBegin(mInstance, channelMask, count, period, address); in HandlePropertySet() 893 uint32_t channelMask; in HandlePropertySet() local 899 SuccessOrExit(error = mDecoder.ReadUint32(channelMask)); in HandlePropertySet() 905 error = otCommissionerEnergyScan(mInstance, channelMask, count, period, scanDuration, address, in HandlePropertySet() 943 uint32_t channelMask; in HandlePropertySet() local 947 SuccessOrExit(error = mDecoder.ReadUint32(channelMask)); in HandlePropertySet() 950 error = otCommissionerPanIdQuery(mInstance, panId, channelMask, address, in HandlePropertySet() 1288 uint32_t channelMask = 0; in HandlePropertySet() local [all …]
|
D | ncp_base_mtd.cpp | 2434 uint32_t channelMask = otLinkGetSupportedChannelMask(mInstance); in HandlePropertyGet() local 2435 uint8_t channelNum = sizeof(channelMask) * CHAR_BIT; in HandlePropertyGet() 2439 if (!((1UL << channel) & channelMask)) in HandlePropertyGet()
|
/openthread-3.4.0/tools/harness-thci/ |
D | OpenThread_WpanCtl.py | 637 def __setChannelMask(self, channelMask): argument 640 cmd = self.wpan_cmd_prefix + 'setprop NCP:ChannelMask %s' % channelMask 641 datasetCmd = self.wpan_cmd_prefix + 'setprop Dataset:ChannelMaskPage0 %s' % channelMask 1438 self.channelMask = '0x7fff800' # (0xffff << 11) 1468 self.__setChannelMask(self.channelMask) 2193 channelMask = '' 2194 channelMask = self.__ChannelMaskListToStr(listChannelMask) 2197 channelMask, 2220 channelMask = '' 2221 channelMask = self.__ChannelMaskListToStr(listChannelMask) [all …]
|
D | OpenThread.py | 790 def __setChannelMask(self, channelMask): argument 791 cmd = 'dataset channelmask %s' % channelMask 1436 self.channelMask = '0x7fff800' # (0xffff << 11) 1485 self.__setChannelMask(self.channelMask) 2381 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2383 channelMask, 2403 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2408 cmd = 'commissioner panid %s %s %s' % (panid, channelMask, sAddr) 2419 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2421 channelMask,
|
/openthread-3.4.0/src/lib/spinel/ |
D | radio_spinel_impl.hpp | 2162 uint32_t channelMask = 0; in GetRadioChannelMask() local 2177 channelMask |= (1UL << channel); in GetRadioChannelMask() 2183 channelMask &= mMaxPowerTable.GetSupportedChannelMask(); in GetRadioChannelMask() 2188 return channelMask; in GetRadioChannelMask() 2893 uint32_t channelMask = 0; in LogSpinelFrame() local 2907 channelMask |= (1UL << channel); in LogSpinelFrame() 2913 … start += Snprintf(start, static_cast<uint32_t>(end - start), ", channelMask:0x%08x", channelMask); in LogSpinelFrame()
|
/openthread-3.4.0/src/cli/ |
D | cli.cpp | 1597 uint32_t channelMask = otLinkGetSupportedChannelMask(GetInstancePtr()); in Process() local 1598 uint8_t channelNum = sizeof(channelMask) * CHAR_BIT; in Process() 1612 if (!((1UL << channel) & channelMask)) in Process()
|