Home
last modified time | relevance | path

Searched refs:RadioType (Results 1 – 14 of 14) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dradio_selector.hpp101 void AddSupportedRadioType(Mac::RadioType aType) { mSupportedRadioTypes.Add(aType); } in AddSupportedRadioType()
102 void RemoveSupportedRadioType(Mac::RadioType aType) { mSupportedRadioTypes.Remove(aType); } in RemoveSupportedRadioType()
105 uint8_t GetRadioPreference(Mac::RadioType aType) const { return mRadioPreference[aType]; } in GetRadioPreference()
106 …void SetRadioPreference(Mac::RadioType aType, uint8_t aValue) { mRadioPreference[aType] = aValu… in SetRadioPreference()
132 void UpdateOnReceive(Neighbor &aNeighbor, Mac::RadioType aRadioType, bool aIsDuplicate);
168 Mac::RadioType SelectPollFrameRadio(const Neighbor &aParent);
202 …LogLevel UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aDifferenc…
203 Mac::RadioType Select(Mac::RadioTypes aRadioOptions, const Neighbor &aNeighbor);
204 …void Log(LogLevel aLogLevel, const char *aActionText, Mac::RadioType aType, const Neighb…
206 static const Mac::RadioType sRadioSelectionOrder[Mac::kNumRadioTypes];
Dradio_selector.cpp50 const Mac::RadioType RadioSelector::sRadioSelectionOrder[Mac::kNumRadioTypes] = {
85 LogLevel RadioSelector::UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aD… in UpdatePreference()
112 void RadioSelector::UpdateOnReceive(Neighbor &aNeighbor, Mac::RadioType aRadioType, bool aIsDuplica… in UpdateOnReceive()
135 Mac::RadioType radioType = aFrame.GetRadioType(); in UpdateOnSendDone()
198 for (Mac::RadioType radio : sRadioSelectionOrder) in UpdateOnDeferredAck()
222 Mac::RadioType RadioSelector::Select(Mac::RadioTypes aRadioOptions, const Neighbor &aNeighbor) in Select()
224 Mac::RadioType selectedRadio = sRadioSelectionOrder[0]; in Select()
234 for (Mac::RadioType radio : sRadioSelectionOrder) in Select()
261 Mac::RadioType selectedRadio; in SelectRadio()
329 Mac::RadioType RadioSelector::SelectPollFrameRadio(const Neighbor &aParent) in SelectPollFrameRadio()
[all …]
Dmesh_forwarder_ftd.cpp714 messagePtr->SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in HandleMesh()
/openthread-3.6.0/src/core/mac/
Dmac_types.hpp649 enum RadioType : uint8_t enum
685 static const RadioType kAllRadioTypes[kNumRadioTypes];
737 bool Contains(RadioType aType) const { return ((mBitMask & BitFlag(aType)) != 0); } in Contains()
745 void Add(RadioType aType) { mBitMask |= BitFlag(aType); } in Add()
767 void Remove(RadioType aType) { mBitMask &= ~BitFlag(aType); } in Remove()
799 …static uint8_t BitFlag(RadioType aType) { return static_cast<uint8_t>(1U << static_cast<uint8_t>(a… in BitFlag()
812 const char *RadioTypeToString(RadioType aRadioType);
839 uint32_t Get(RadioType aRadioType) const;
848 void Set(RadioType aRadioType, uint32_t aCounter);
Dmac_links.cpp59 TxFrame &TxFrames::GetTxFrame(RadioType aRadioType) in GetTxFrame()
178 RadioType radioType = aFrame.GetRadioType(); in GetCurrentMacKey()
212 RadioType radioType = aFrame.GetRadioType(); in GetTemporaryMacKey()
254 RadioType radioType = aFrame.GetRadioType(); in SetMacFrameCounter()
Ddata_poll_handler.hpp120 Mac::RadioType GetLastPollRadioType(void) const { return mLastPollRadioType; } in GetLastPollRadioType()
121 …void SetLastPollRadioType(Mac::RadioType aRadioType) { mLastPollRadioType = aRadioType; } in SetLastPollRadioType()
132 Mac::RadioType mLastPollRadioType; // The radio link last data poll frame was received on.
Dmac_types.cpp133 const RadioType RadioTypes::kAllRadioTypes[kNumRadioTypes] = {
181 const char *RadioTypeToString(RadioType aRadioType) in RadioTypeToString()
203 uint32_t LinkFrameCounters::Get(RadioType aRadioType) const in Get()
225 void LinkFrameCounters::Set(RadioType aRadioType, uint32_t aCounter) in Set()
Ddata_poll_sender.hpp281 Error GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) const;
Ddata_poll_sender.cpp137 Error DataPollSender::GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) co… in GetPollDestinationAddress()
562 Mac::RadioType radio; in PrepareDataRequest()
Dmac_frame.hpp1029 RadioType GetRadioType(void) const { return static_cast<RadioType>(mRadioType); } in GetRadioType()
1037 void SetRadioType(RadioType aRadioType) { mRadioType = static_cast<uint8_t>(aRadioType); } in SetRadioType()
Dmac_links.hpp80 TxFrame &GetTxFrame(RadioType aRadioType);
Dmac.cpp1052 for (RadioType radio : RadioTypes::kAllRadioTypes) in BeginTransmit()
1069 for (RadioType radio : RadioTypes::kAllRadioTypes) in BeginTransmit()
1322 RadioType radio = aFrame.GetRadioType(); in HandleTransmitDone()
/openthread-3.6.0/src/core/common/
Dmessage.hpp1388 …Mac::RadioType GetRadioType(void) const { return static_cast<Mac::RadioType>(GetMetadata().mRadioT… in GetRadioType()
1396 void SetRadioType(Mac::RadioType aRadioType) in SetRadioType()
Dmessage.cpp811 SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in SetLinkInfo()