Home
last modified time | relevance | path

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

/external/openthread/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.cpp767 message->SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in HandleMesh()
/external/openthread/src/core/mac/
Dmac_types.hpp561 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);
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.cpp115 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()
Ddata_poll_sender.hpp281 Error GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) const;
Dmac_frame.hpp1011 RadioType GetRadioType(void) const { return static_cast<RadioType>(mRadioType); } in GetRadioType()
1019 void SetRadioType(RadioType aRadioType) { mRadioType = static_cast<uint8_t>(aRadioType); } in SetRadioType()
Ddata_poll_sender.cpp136 Error DataPollSender::GetPollDestinationAddress(Mac::Address &aDest, Mac::RadioType &aRadioType) co… in GetPollDestinationAddress()
569 Mac::RadioType radio; in PrepareDataRequest()
Dmac_links.hpp79 TxFrame &GetTxFrame(RadioType aRadioType);
Dmac.cpp1038 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/
Dmessage.hpp1269 …Mac::RadioType GetRadioType(void) const { return static_cast<Mac::RadioType>(GetMetadata().mRadioT… in GetRadioType()
1277 void SetRadioType(Mac::RadioType aRadioType) in SetRadioType()
Dmessage.cpp739 SetRadioType(static_cast<Mac::RadioType>(aLinkInfo.mRadioType)); in SetLinkInfo()