A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-phy-state.h File Reference
#include "ns3/deprecated.h"
#include "ns3/fatal-error.h"
+ Include dependency graph for wifi-phy-state.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Enumerations

enum class  ns3::WifiPhyState {
  ns3::IDLE = 0 , ns3::CCA_BUSY , ns3::TX , ns3::RX ,
  ns3::SWITCHING , ns3::SLEEP , ns3::OFF
}
 The state of the PHY layer. More...
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, WifiPhyState state)
 Stream insertion operator.
 

Variables

static constexpr auto CCA_BUSY
 
static constexpr auto IDLE = ns3::WifiPhyState::IDLE
 
static constexpr auto OFF = ns3::WifiPhyState::OFF
 
static constexpr auto RX = ns3::WifiPhyState::RX
 
static constexpr auto SLEEP = ns3::WifiPhyState::SLEEP
 
static constexpr auto SWITCHING
 
static constexpr auto TX = ns3::WifiPhyState::TX
 

Variable Documentation

◆ CCA_BUSY

constexpr auto CCA_BUSY
staticconstexpr
Initial value:
=
@ CCA_BUSY
The PHY layer has sense the medium busy through the CCA mechanism.
Deprecated:
See WifiPhyState::CCA_BUSY

Definition at line 103 of file wifi-phy-state.h.

◆ IDLE

constexpr auto IDLE = ns3::WifiPhyState::IDLE
staticconstexpr
Deprecated:
See WifiPhyState::IDLE

Definition at line 101 of file wifi-phy-state.h.

◆ OFF

constexpr auto OFF = ns3::WifiPhyState::OFF
staticconstexpr
Deprecated:
See WifiPhyState::OFF

Definition at line 115 of file wifi-phy-state.h.

◆ RX

constexpr auto RX = ns3::WifiPhyState::RX
staticconstexpr
Deprecated:
See WifiPhyState::RX

Definition at line 108 of file wifi-phy-state.h.

◆ SLEEP

constexpr auto SLEEP = ns3::WifiPhyState::SLEEP
staticconstexpr
Deprecated:
See WifiPhyState::SLEEP

Definition at line 113 of file wifi-phy-state.h.

◆ SWITCHING

constexpr auto SWITCHING
staticconstexpr
Initial value:
=
@ SWITCHING
The PHY layer is switching to other channel.
Deprecated:
See WifiPhyState::SWITCHING

Definition at line 110 of file wifi-phy-state.h.

◆ TX

constexpr auto TX = ns3::WifiPhyState::TX
staticconstexpr
Deprecated:
See WifiPhyState::TX

Definition at line 106 of file wifi-phy-state.h.