Struct to trace that main PHY switched to leave a link on which an aux PHY was expected to gain a TXOP but the main PHY did not manage to gain a TXOP in the pre-configured amount of time. More...
#include "advanced-emlsr-manager.h"
Public Member Functions | |
EmlsrSwitchMainPhyBackTrace (Time time, std::optional< WifiExpectedAccessReason > reason, bool switching) | |
Constructor provided because this struct is not an aggregate (it has a base struct), hence we cannot use designated initializers. | |
![]() | |
std::shared_ptr< EmlsrMainPhySwitchTrace > | Clone () const override |
std::string_view | GetName () const override |
![]() | |
virtual | ~EmlsrMainPhySwitchTrace ()=default |
Public Attributes | |
std::optional< WifiExpectedAccessReason > | earlySwitchReason |
the reason why the main PHY switches back before the expiration of the switch main PHY back timer | |
Time | elapsed |
the time elapsed since the switch main PHY back timer started | |
bool | isSwitching |
whether the main PHY is switching while it is requested to switch back | |
![]() | |
std::optional< uint8_t > | fromLinkId |
ID of the link the main PHY is moving from (if any) | |
uint8_t | toLinkId {WIFI_LINKID_UNDEFINED} |
ID of the link the main PHY is moving to. | |
Static Public Attributes | |
static constexpr std::string_view | m_name = "TxopNotGainedOnAuxPhyLink" |
trace name | |
Struct to trace that main PHY switched to leave a link on which an aux PHY was expected to gain a TXOP but the main PHY did not manage to gain a TXOP in the pre-configured amount of time.
Definition at line 188 of file advanced-emlsr-manager.h.
|
inline |
Constructor provided because this struct is not an aggregate (it has a base struct), hence we cannot use designated initializers.
time | the value for the elapsed field |
reason | the value for the earlySwitchReason field |
switching | the value for the isSwitching field |
Definition at line 206 of file advanced-emlsr-manager.h.
std::optional<WifiExpectedAccessReason> ns3::EmlsrSwitchMainPhyBackTrace::earlySwitchReason |
the reason why the main PHY switches back before the expiration of the switch main PHY back timer
Definition at line 194 of file advanced-emlsr-manager.h.
Time ns3::EmlsrSwitchMainPhyBackTrace::elapsed |
the time elapsed since the switch main PHY back timer started
Definition at line 192 of file advanced-emlsr-manager.h.
bool ns3::EmlsrSwitchMainPhyBackTrace::isSwitching |
whether the main PHY is switching while it is requested to switch back
Definition at line 196 of file advanced-emlsr-manager.h.
|
staticconstexpr |
trace name
Definition at line 190 of file advanced-emlsr-manager.h.