| /openthread-latest/src/core/thread/ |
| D | announce_sender.cpp | 235 Mac::ChannelMask channelMask; in HandleActiveDatasetChanged() local 237 SuccessOrExit(Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask)); in HandleActiveDatasetChanged() 238 VerifyOrExit(!channelMask.IsEmpty()); in HandleActiveDatasetChanged() 240 VerifyOrExit(channelMask != GetChannelMask()); in HandleActiveDatasetChanged() 242 SetChannelMask(channelMask); in HandleActiveDatasetChanged() 243 SetPeriod(kTxInterval / channelMask.GetNumberOfChannels()); in HandleActiveDatasetChanged()
|
| D | energy_scan_server.cpp | 107 uint32_t channelMask = mChannelMaskCurrent & ~(mChannelMaskCurrent - 1); in HandleTimer() local 109 IgnoreError(Get<Mac::Mac>().EnergyScan(channelMask, mScanDuration, HandleScanResult, this)); in HandleTimer()
|
| D | mle.cpp | 1219 Mac::ChannelMask channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in HandleNotifierEvents() local 1221 … if (!channelMask.ContainsChannel(Get<Mac::Mac>().GetPanChannel()) && (mRole != kRoleDisabled)) in HandleNotifierEvents() 1224 Get<Mac::Mac>().GetPanChannel(), channelMask.ToString().AsCString()); in HandleNotifierEvents() 1561 Mac::ChannelMask channelMask; in PrepareAnnounceState() local 1566 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in PrepareAnnounceState() 1568 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in PrepareAnnounceState() 1571 mAnnounceDelay = kAnnounceTimeout / (channelMask.GetNumberOfChannels() + 1); in PrepareAnnounceState() 2189 Mac::ChannelMask channelMask; in GetNextAnnounceChannel() local 2191 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in GetNextAnnounceChannel() 2193 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in GetNextAnnounceChannel() [all …]
|
| /openthread-latest/src/core/radio/ |
| D | max_power_table.hpp | 65 uint32_t channelMask = 0; in GetSupportedChannelMask() local 71 channelMask |= (1 << i); in GetSupportedChannelMask() 75 return channelMask; in GetSupportedChannelMask()
|
| /openthread-latest/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 | 2536 uint32_t channelMask = otLinkGetSupportedChannelMask(mInstance); in HandlePropertyGet() local 2537 uint8_t channelNum = sizeof(channelMask) * kBitsPerByte; in HandlePropertyGet() 2541 if (!((1UL << channel) & channelMask)) in HandlePropertyGet()
|
| /openthread-latest/src/posix/platform/ |
| D | configuration.cpp | 130 uint32_t channelMask; in GetChannelMask() local 142 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(str, channelMask)); in GetChannelMask() 143 aChannelMask = channelMask; in GetChannelMask()
|
| D | radio.cpp | 863 uint32_t channelMask; in otPlatRadioGetSupportedChannelMask() local 868 channelMask = sConfig.GetSupportedChannelMask(); in otPlatRadioGetSupportedChannelMask() 873 channelMask = GetRadioSpinel().GetRadioChannelMask(false); in otPlatRadioGetSupportedChannelMask() 876 return channelMask; in otPlatRadioGetSupportedChannelMask() 883 uint32_t channelMask; in otPlatRadioGetPreferredChannelMask() local 888 channelMask = sConfig.GetPreferredChannelMask(); in otPlatRadioGetPreferredChannelMask() 893 channelMask = GetRadioSpinel().GetRadioChannelMask(true); in otPlatRadioGetPreferredChannelMask() 896 return channelMask; in otPlatRadioGetPreferredChannelMask()
|
| /openthread-latest/src/core/meshcop/ |
| D | meshcop_tlvs.cpp | 124 uint32_t channelMask; in IsValid() local 126 return (ReadChannelMask(channelMask) == kErrorNone); in IsValid()
|
| /openthread-latest/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 1443 self.channelMask = '0x7fff800' # (0xffff << 11) 1492 self.__setChannelMask(self.channelMask) 2392 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2394 channelMask, 2414 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2419 cmd = 'commissioner panid %s %s %s' % (panid, channelMask, sAddr) 2430 channelMask = '0x' + self.__convertLongToHex(self.__convertChannelMask(listChannelMask)) 2432 channelMask,
|
| /openthread-latest/src/lib/spinel/ |
| D | logger.cpp | 405 uint32_t channelMask = 0; in LogSpinelFrame() local 419 channelMask |= (1UL << channel); in LogSpinelFrame() 425 … start += Snprintf(start, static_cast<uint32_t>(end - start), ", channelMask:0x%08x", channelMask); in LogSpinelFrame()
|
| D | radio_spinel.cpp | 1889 uint32_t channelMask = 0; in GetRadioChannelMask() local 1904 channelMask |= (1UL << channel); in GetRadioChannelMask() 1910 channelMask &= mMaxPowerTable.GetSupportedChannelMask(); in GetRadioChannelMask() 1915 return channelMask; in GetRadioChannelMask()
|
| /openthread-latest/src/cli/ |
| D | cli.cpp | 1397 uint32_t channelMask = otLinkGetSupportedChannelMask(GetInstancePtr()); in Process() local 1398 uint8_t channelNum = BitSizeOf(channelMask); in Process() 1412 if (!((1UL << channel) & channelMask)) in Process()
|