ns-3
|
Default Packet Error Rate calculator for UanPhyGen Considers no error if SINR is > user defined threshold (configured by an attribute). More...
#include <uan-phy-gen.h>
Public Member Functions | |
virtual double | CalcPer (Ptr< Packet > pkt, double sinrDb, UanTxMode mode) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::UanPhyPerGenDefault. |
Default Packet Error Rate calculator for UanPhyGen Considers no error if SINR is > user defined threshold (configured by an attribute).
double ns3::UanPhyPerGenDefault::CalcPer | ( | Ptr< Packet > | pkt, |
double | sinrDb, | ||
UanTxMode | mode | ||
) | [virtual] |
Calculates the prob. of packet error based on SINR at the receiver and a tx mode.
pkt | Packet which is under consideration |
sinrDb | SINR at receiver |
mode | TX mode used to transmit packet |
Implements ns3::UanPhyPer.
TypeId ns3::UanPhyPerGenDefault::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::UanPhyPerGenDefault.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::UanPhyPer.
References ns3::TypeId::SetParent().