A struct for both SNR and PER. More...
#include "phy-entity.h"
| Public Member Functions | |
| SnrPer () | |
| Default constructor.  More... | |
| SnrPer (double s, double p) | |
| Constructor for SnrPer.  More... | |
| Public Attributes | |
| double | per {1.0} | 
| PER.  More... | |
| double | snr {0.0} | 
| SNR in linear scale.  More... | |
A struct for both SNR and PER.
Definition at line 136 of file phy-entity.h.
| 
 | inline | 
Default constructor.
Definition at line 143 of file phy-entity.h.
| 
 | inline | 
Constructor for SnrPer.
| s | the SNR in linear scale | 
| p | the PER | 
Definition at line 150 of file phy-entity.h.
| double ns3::PhyEntity::SnrPer::per {1.0} | 
PER.
Definition at line 139 of file phy-entity.h.
Referenced by ns3::InterferenceHelper::CalculatePayloadSnrPer(), ns3::InterferenceHelper::CalculatePhyHeaderSnrPer(), ns3::DsssPhy::EndReceiveHeader(), ns3::OfdmPhy::EndReceiveHeader(), and ns3::HtPhy::EndReceiveHtSig().
| double ns3::PhyEntity::SnrPer::snr {0.0} | 
SNR in linear scale.
Definition at line 138 of file phy-entity.h.
Referenced by ns3::InterferenceHelper::CalculatePayloadSnrPer(), ns3::InterferenceHelper::CalculatePhyHeaderSnrPer(), ns3::DsssPhy::EndReceiveHeader(), ns3::OfdmPhy::EndReceiveHeader(), and ns3::HtPhy::EndReceiveHtSig().