Searched refs:RadioType (Results 1 – 14 of 14) sorted by relevance
/openthread-3.6.0/src/core/thread/ |
D | radio_selector.hpp | 101 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];
|
D | radio_selector.cpp | 50 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 …]
|
D | mesh_forwarder_ftd.cpp | 714 messagePtr->SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in HandleMesh()
|
/openthread-3.6.0/src/core/mac/ |
D | mac_types.hpp | 649 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);
|
D | mac_links.cpp | 59 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()
|
D | data_poll_handler.hpp | 120 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.
|
D | mac_types.cpp | 133 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()
|
D | data_poll_sender.hpp | 281 Error GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) const;
|
D | data_poll_sender.cpp | 137 Error DataPollSender::GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) co… in GetPollDestinationAddress() 562 Mac::RadioType radio; in PrepareDataRequest()
|
D | mac_frame.hpp | 1029 RadioType GetRadioType(void) const { return static_cast<RadioType>(mRadioType); } in GetRadioType() 1037 void SetRadioType(RadioType aRadioType) { mRadioType = static_cast<uint8_t>(aRadioType); } in SetRadioType()
|
D | mac_links.hpp | 80 TxFrame &GetTxFrame(RadioType aRadioType);
|
D | mac.cpp | 1052 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/ |
D | message.hpp | 1388 …Mac::RadioType GetRadioType(void) const { return static_cast<Mac::RadioType>(GetMetadata().mRadioT… in GetRadioType() 1396 void SetRadioType(Mac::RadioType aRadioType) in SetRadioType()
|
D | message.cpp | 811 SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in SetLinkInfo()
|