Searched refs:RadioType (Results 1 – 14 of 14) sorted by relevance
/external/openthread/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 | 767 message->SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in HandleMesh()
|
/external/openthread/src/core/mac/ |
D | mac_types.hpp | 561 enum RadioType : uint8_t enum 597 static const RadioType kAllRadioTypes[kNumRadioTypes]; 649 bool Contains(RadioType aType) const { return ((mBitMask & BitFlag(aType)) != 0); } in Contains() 657 void Add(RadioType aType) { mBitMask |= BitFlag(aType); } in Add() 679 void Remove(RadioType aType) { mBitMask &= ~BitFlag(aType); } in Remove() 711 …static uint8_t BitFlag(RadioType aType) { return static_cast<uint8_t>(1U << static_cast<uint8_t>(a… in BitFlag() 724 const char *RadioTypeToString(RadioType aRadioType); 751 uint32_t Get(RadioType aRadioType) const; 760 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 | 115 const RadioType RadioTypes::kAllRadioTypes[kNumRadioTypes] = { 163 const char *RadioTypeToString(RadioType aRadioType) in RadioTypeToString() 185 uint32_t LinkFrameCounters::Get(RadioType aRadioType) const in Get() 207 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 | mac_frame.hpp | 1011 RadioType GetRadioType(void) const { return static_cast<RadioType>(mRadioType); } in GetRadioType() 1019 void SetRadioType(RadioType aRadioType) { mRadioType = static_cast<uint8_t>(aRadioType); } in SetRadioType()
|
D | data_poll_sender.cpp | 136 Error DataPollSender::GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) co… in GetPollDestinationAddress() 569 Mac::RadioType radio; in PrepareDataRequest()
|
D | mac_links.hpp | 79 TxFrame &GetTxFrame(RadioType aRadioType);
|
D | mac.cpp | 1038 RadioType radio = RadioTypes::kAllRadioTypes[index]; in BeginTransmit() 1057 RadioType radio = RadioTypes::kAllRadioTypes[index]; in BeginTransmit() 1309 RadioType radio = aFrame.GetRadioType(); in HandleTransmitDone()
|
/external/openthread/src/core/common/ |
D | message.hpp | 1269 …Mac::RadioType GetRadioType(void) const { return static_cast<Mac::RadioType>(GetMetadata().mRadioT… in GetRadioType() 1277 void SetRadioType(Mac::RadioType aRadioType) in SetRadioType()
|
D | message.cpp | 739 SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in SetLinkInfo()
|