Home
last modified time | relevance | path

Searched refs:mChannel (Results 1 – 25 of 38) sorted by relevance

12

/openthread-3.5.0/src/core/thread/
Dannounce_sender.cpp59 , mChannel(0) in AnnounceSenderBase()
78 mChannel = mStartingChannel; in SendAnnounce()
128 Get<Mle::MleRouter>().SendAnnounce(mChannel); in HandleTimer()
135 while (mChannelMask.GetNextChannel(mChannel) != kErrorNone) in HandleTimer()
137 mChannel = kChannelIteratorFirst; in HandleTimer()
140 if ((mChannel == mStartingChannel) && (mCount != 0)) in HandleTimer()
Dmle_tlvs.hpp1079 uint16_t GetChannel(void) const { return HostSwap16(mChannel); } in GetChannel()
1087 void SetChannel(uint16_t aChannel) { mChannel = HostSwap16(aChannel); } in SetChannel()
1091 uint16_t mChannel; member in ot::Mle::ChannelTlv
1217 uint16_t GetChannel(void) const { return HostSwap16(mChannel); } in GetChannel()
1225 void SetChannel(uint16_t aChannel) { mChannel = HostSwap16(aChannel); } in SetChannel()
1229 uint16_t mChannel; member in ot::Mle::CslChannelTlv
Dannounce_sender.hpp195 uint8_t mChannel; member in ot::AnnounceSenderBase
Dpanid_query_server.cpp97 mChannelMask |= 1 << aScanResult->mChannel; in HandleScanResult()
Ddiscover_scanner.cpp318 result.mChannel = linkInfo->mChannel; in HandleDiscoveryResponse()
/openthread-3.5.0/src/core/utils/
Dchannel_manager.cpp58 , mChannel(0) in ChannelManager()
79 VerifyOrExit(mChannel != aChannel); in RequestChannelChange()
83 mChannel = aChannel; in RequestChannelChange()
109 dataset.SetChannel(mChannel); in StartDatasetUpdate()
125 LogInfo("Request to change to channel %d failed. Device is disabled", mChannel); in StartDatasetUpdate()
145 LogInfo("Channel changed to %d", mChannel); in HandleDatasetUpdateDone()
149 LogInfo("Canceling channel change to %d%s", mChannel, in HandleDatasetUpdateDone()
Dchannel_manager.hpp102 uint8_t GetRequestedChannel(void) const { return mChannel; } in GetRequestedChannel()
292 uint8_t mChannel; member in ot::Utils::ChannelManager
Dchannel_monitor.cpp147 uint8_t channelIndex = (aResult->mChannel - Radio::kChannelMin); in HandleEnergyScanResult()
154 LogDebg("channel: %d, rssi:%d", aResult->mChannel, aResult->mMaxRssi); in HandleEnergyScanResult()
/openthread-3.5.0/tests/unit/
Dtest_power_calibration.cpp46 uint8_t mChannel; in TestPowerCalibration() member
63 …SuccessOrQuit(otPlatRadioAddCalibratedPower(instance, calibratedPower.mChannel, calibratedPower.mA… in TestPowerCalibration()
120 …SuccessOrQuit(otPlatRadioAddCalibratedPower(instance, calibratedPower.mChannel, calibratedPower.mA… in TestPowerCalibration()
132 otPlatRadioAddCalibratedPower(instance, kCalibratedPowerTable[0].mChannel, in TestPowerCalibration()
/openthread-3.5.0/src/core/radio/
Dtrel_packet.hpp141 uint8_t GetChannel(void) const { return mChannel; } in GetChannel()
149 void SetChannel(uint8_t aChannel) { mChannel = aChannel; } in SetChannel()
246 uint8_t mChannel; member in ot::Trel::Header
Dtrel_link.cpp232 mRxFrame.mChannel = mTxFrame.GetChannel(); in BeginTransmit()
369 mRxFrame.mChannel = aPacket.GetHeader().GetChannel(); in ProcessReceivedPacket()
/openthread-3.5.0/src/core/diags/
Dfactory_diags.cpp208 , mChannel(20)
225 snprintf(aOutput, aOutputMaxLen, "channel: %d\r\n", mChannel);
234 mChannel = static_cast<uint8_t>(value);
235 IgnoreError(Get<Radio>().Receive(mChannel));
236 otPlatDiagChannelSet(mChannel);
238 snprintf(aOutput, aOutputMaxLen, "set channel to %d\r\nstatus 0x%02x\r\n", mChannel, error);
349 otPlatDiagChannelSet(mChannel);
355 SuccessOrExit(error = Get<Radio>().Receive(mChannel));
424 mTxPacket->mChannel = mChannel;
449 SuccessOrExit(error = Get<Radio>().Receive(mChannel));
[all …]
Dfactory_diags.hpp218 uint8_t mChannel; member in ot::FactoryDiags::Diags
/openthread-3.5.0/include/openthread/
Dlink.h64 uint8_t mChannel; ///< 802.15.4 Channel member
388 uint8_t mChannel; ///< IEEE 802.15.4 Channel member
406 uint8_t mChannel; ///< IEEE 802.15.4 Channel member
Ddataset.h245 uint16_t mChannel; ///< Channel member
/openthread-3.5.0/examples/platforms/simulation/
Dradio.c98 uint8_t mChannel; member
578 sReceiveFrame.mChannel = aChannel; in otPlatRadioReceive()
599 sCurrentChannel = aFrame->mChannel; in otPlatRadioTransmit()
619 return GetRssi(sReceiveFrame.mChannel); in otPlatRadioGetRssi()
667 otEXPECT(sReceiveFrame.mChannel == sReceiveMessage.mChannel); in radioReceive()
812 sTransmitMessage.mChannel = sTransmitFrame.mChannel; in radioSendMessage()
1058 sAckMessage.mChannel = sReceiveFrame.mChannel; in radioSendAck()
/openthread-3.5.0/src/core/meshcop/
Djoiner.cpp292 aResult.mChannel, aResult.mRssi, ToYesNo(doesAllowAny)); in SaveDiscoveredJoinerRouter()
316 entry->mChannel = aResult.mChannel; in SaveDiscoveredJoinerRouter()
368 aRouter.mChannel); in Connect()
371 SuccessOrExit(error = Get<Mac::Mac>().SetPanChannel(aRouter.mChannel)); in Connect()
Ddataset.hpp469 uint16_t GetChannel(void) const { return mChannel; } in GetChannel()
479 mChannel = aChannel; in SetChannel()
Djoiner.hpp195 uint8_t mChannel; member
/openthread-3.5.0/tests/fuzz/
Dradio_receive_done.cpp83 frame.mChannel = 11; in LLVMFuzzerTestOneInput()
Dfuzzer_platform.cpp105 sRadioAckFrame.mChannel = sRadioTransmitFrame.mChannel; in FuzzerPlatformProcess()
/openthread-3.5.0/src/ncp/
Dncp_base_radio.cpp103 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mChannel : 0)); // 802.15.4 channel (Receive ch… in PackRadioFrame()
408 SuccessOrExit(error = mDecoder.ReadUint8(aFrame.mChannel)); in DecodeStreamRawTxRequest()
411 aFrame.mInfo.mTxInfo.mRxChannelAfterTxDone = aFrame.mChannel; in DecodeStreamRawTxRequest()
/openthread-3.5.0/src/lib/spinel/
Dradio_spinel.hpp319 uint8_t GetChannel(void) const { return mChannel; } in GetChannel()
1068 uint8_t mChannel; member in ot::Spinel::RadioSpinel
Dradio_spinel_impl.hpp183 , mChannel(0) in RadioSpinel()
818 &aFrame.mChannel, &aFrame.mInfo.mRxInfo.mLqi, in ParseRadioFrame()
1364 mChannel = aScanChannel; in EnergyScan()
1778 mTransmitFrame->mPsdu, mTransmitFrame->mLength, mTransmitFrame->mChannel, in Transmit()
1790 mChannel = mTransmitFrame->mChannel; in Transmit()
1803 if (mChannel != aChannel) in Receive()
1807 mChannel = aChannel; in Receive()
2137 SuccessOrDie(Set(SPINEL_PROP_PHY_CHAN, SPINEL_DATATYPE_UINT8_S, mChannel)); in RestoreProperties()
2692 &flags, &frame.mChannel, &frame.mInfo.mRxInfo.mLqi, in LogSpinelFrame()
2702 flags, frame.mChannel, frame.mInfo.mRxInfo.mLqi, in LogSpinelFrame()
[all …]
/openthread-3.5.0/src/core/common/
Dmessage.hpp201 uint8_t mChannel; // The message channel (used for MLE Announce). member
1031 uint8_t GetChannel(void) const { return GetMetadata().mChannel; } in GetChannel()
1041 void SetChannel(uint8_t aChannel) { GetMetadata().mChannel = aChannel; } in SetChannel()

12