A Discrete-Event Network Simulator
API
ns3::PhyEntity::PhyFieldRxStatus Struct Reference

Status of the reception of the PPDU field. More...

#include "phy-entity.h"

Public Member Functions

 PhyFieldRxStatus (bool s)
 Constructor setting outcome of reception. More...
 
 PhyFieldRxStatus (bool s, WifiPhyRxfailureReason r, PhyRxFailureAction a)
 Constructor. More...
 

Public Attributes

PhyRxFailureAction actionIfFailure {DROP}
 action to perform in case of failure More...
 
bool isSuccess {true}
 outcome (true if success) of the reception More...
 
WifiPhyRxfailureReason reason {UNKNOWN}
 failure reason More...
 

Detailed Description

Status of the reception of the PPDU field.

Definition at line 110 of file phy-entity.h.

Constructor & Destructor Documentation

◆ PhyFieldRxStatus() [1/2]

ns3::PhyEntity::PhyFieldRxStatus::PhyFieldRxStatus ( bool  s)
inline

Constructor setting outcome of reception.

Parameters
strue if success

Definition at line 121 of file phy-entity.h.

◆ PhyFieldRxStatus() [2/2]

ns3::PhyEntity::PhyFieldRxStatus::PhyFieldRxStatus ( bool  s,
WifiPhyRxfailureReason  r,
PhyRxFailureAction  a 
)
inline

Constructor.

Parameters
strue if success
rreason of failure
aaction to perform in case of failure

Definition at line 129 of file phy-entity.h.

Member Data Documentation

◆ actionIfFailure

PhyRxFailureAction ns3::PhyEntity::PhyFieldRxStatus::actionIfFailure {DROP}

◆ isSuccess

bool ns3::PhyEntity::PhyFieldRxStatus::isSuccess {true}

◆ reason


The documentation for this struct was generated from the following file: