Home
last modified time | relevance | path

Searched refs:aRadioType (Results 1 – 11 of 11) sorted by relevance

/openthread-3.7.0/src/core/thread/
Dradio_selector.cpp85 LogLevel RadioSelector::UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aD… in UpdatePreference() argument
87 uint8_t old = aNeighbor.GetRadioPreference(aRadioType); in UpdatePreference()
102 aNeighbor.SetRadioPreference(aRadioType, static_cast<uint8_t>(preference)); in UpdatePreference()
112 void RadioSelector::UpdateOnReceive(Neighbor &aNeighbor, Mac::RadioType aRadioType, bool aIsDuplica… in UpdateOnReceive() argument
116 if (aNeighbor.GetSupportedRadioTypes().Contains(aRadioType)) in UpdateOnReceive()
118 logLevel = UpdatePreference(aNeighbor, aRadioType, in UpdateOnReceive()
121 Log(logLevel, aIsDuplicate ? "UpdateOnDupRx" : "UpdateOnRx", aRadioType, aNeighbor); in UpdateOnReceive()
125 aNeighbor.AddSupportedRadioType(aRadioType); in UpdateOnReceive()
126 aNeighbor.SetRadioPreference(aRadioType, kInitPreference); in UpdateOnReceive()
128 Log(logLevel, "NewRadio(OnRx)", aRadioType, aNeighbor); in UpdateOnReceive()
[all …]
Dradio_selector.hpp132 void UpdateOnReceive(Neighbor &aNeighbor, Mac::RadioType aRadioType, bool aIsDuplicate);
202 …LogLevel UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aDifferenc…
/openthread-3.7.0/src/core/mac/
Dmac_types.cpp181 const char *RadioTypeToString(RadioType aRadioType) in RadioTypeToString() argument
185 switch (aRadioType) in RadioTypeToString()
203 uint32_t LinkFrameCounters::Get(RadioType aRadioType) const in Get()
207 switch (aRadioType) in Get()
225 void LinkFrameCounters::Set(RadioType aRadioType, uint32_t aCounter) in Set() argument
227 switch (aRadioType) in Set()
Dmac_links.cpp59 TxFrame &TxFrames::GetTxFrame(RadioType aRadioType) in GetTxFrame() argument
63 switch (aRadioType) in GetTxFrame()
77 mSelectedRadioTypes.Add(aRadioType); in GetTxFrame()
Ddata_poll_handler.hpp121 …void SetLastPollRadioType(Mac::RadioType aRadioType) { mLastPollRadioType = aRadioType; } in SetLastPollRadioType() argument
Dmac_types.hpp812 const char *RadioTypeToString(RadioType aRadioType);
839 uint32_t Get(RadioType aRadioType) const;
848 void Set(RadioType aRadioType, uint32_t aCounter);
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()
159 aRadioType = Get<RadioSelector>().SelectPollFrameRadio(parent); in GetPollDestinationAddress()
Dmac_links.hpp80 TxFrame &GetTxFrame(RadioType aRadioType);
Dmac_frame.hpp1037 void SetRadioType(RadioType aRadioType) { mRadioType = static_cast<uint8_t>(aRadioType); } in SetRadioType() argument
/openthread-3.7.0/src/core/common/
Dmessage.hpp1439 void SetRadioType(Mac::RadioType aRadioType) in SetRadioType() argument
1442 GetMetadata().mRadioType = aRadioType; in SetRadioType()