Store information about a main PHY switch. More...
#include "emlsr-manager.h"
Public Attributes | |
bool | disconnected {false} |
true if the main PHY is not connected to any link, i.e., it is switching or waiting to be connected to a link | |
uint8_t | from {} |
ID of the link which the main PHY is/has been leaving. | |
std::string | reason |
the reason for switching the main PHY | |
Time | start |
start of channel switching | |
uint8_t | to {} |
ID of the link which the main PHY is moving to. | |
Store information about a main PHY switch.
Definition at line 506 of file emlsr-manager.h.
bool ns3::EmlsrManager::MainPhySwitchInfo::disconnected {false} |
true if the main PHY is not connected to any link, i.e., it is switching or waiting to be connected to a link
Definition at line 509 of file emlsr-manager.h.
Referenced by ns3::AdvancedEmlsrManager::DoNotifyTxopEnd(), ns3::EmlsrManager::EmlsrLinkSwitchCallback(), ns3::AdvancedEmlsrManager::InterruptSwitchMainPhyBackTimerIfNeeded(), ns3::AdvancedEmlsrManager::ReceivedMacHdr(), ns3::AdvancedEmlsrManager::RequestMainPhyToSwitch(), and ns3::EmlsrManager::SwitchMainPhy().
uint8_t ns3::EmlsrManager::MainPhySwitchInfo::from {} |
ID of the link which the main PHY is/has been leaving.
Definition at line 511 of file emlsr-manager.h.
Referenced by ns3::AdvancedEmlsrManager::DoNotifyTxopEnd(), ns3::DefaultEmlsrManager::NotifyMainPhySwitch(), and ns3::EmlsrManager::SwitchMainPhy().
std::string ns3::EmlsrManager::MainPhySwitchInfo::reason |
the reason for switching the main PHY
Definition at line 513 of file emlsr-manager.h.
Referenced by ns3::AdvancedEmlsrManager::RequestMainPhyToSwitch(), and ns3::EmlsrManager::SwitchMainPhy().
Time ns3::EmlsrManager::MainPhySwitchInfo::start |
start of channel switching
Definition at line 508 of file emlsr-manager.h.
Referenced by ns3::EmlsrManager::SwitchMainPhy(), and ns3::AdvancedEmlsrManager::SwitchMainPhyBackDelayExpired().
uint8_t ns3::EmlsrManager::MainPhySwitchInfo::to {} |
ID of the link which the main PHY is moving to.
Definition at line 512 of file emlsr-manager.h.
Referenced by ns3::EmlsrManager::CheckMainPhyTakesOverDlTxop(), ns3::AdvancedEmlsrManager::InterruptSwitchMainPhyBackTimerIfNeeded(), ns3::EmlsrManager::NotifyDlTxopStart(), ns3::AdvancedEmlsrManager::ReceivedMacHdr(), ns3::EmlsrManager::SwitchMainPhy(), and ns3::AdvancedEmlsrManager::SwitchMainPhyIfTxopGainedByAuxPhy().