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

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

#include "phy-entity.h"

+ Collaboration diagram for ns3::PhyEntity::PhyFieldRxStatus:

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
 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 111 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 123 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 135 of file phy-entity.h.

Member Data Documentation

◆ actionIfFailure

PhyRxFailureAction ns3::PhyEntity::PhyFieldRxStatus::actionIfFailure
Initial value:
{
@ DROP
drop PPDU and set CCA_BUSY
Definition: phy-entity.h:103

action to perform in case of failure

See also
PhyRxFailureAction

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

Referenced by ns3::PhyEntity::EndReceiveField(), ns3::DsssPhy::EndReceiveHeader(), ns3::OfdmPhy::EndReceiveHeader(), ns3::HtPhy::EndReceiveHtSig(), ns3::VhtPhy::EndReceiveSig(), and ns3::operator<<().

◆ isSuccess

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

◆ reason


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