#include <nist-error-rate-model.h>
Public Member Functions | |
NistErrorRateModel () | |
virtual double | GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const |
![]() | |
double | CalculateSnr (WifiMode txMode, double ber) const |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static void | Cleanup (void) |
![]() | |
static TypeId | GetTypeId (void) |
Private Member Functions | |
double | CalculatePe (double p, uint32_t bValue) const |
double | Get16QamBer (double snr) const |
double | Get64QamBer (double snr) const |
double | GetBpskBer (double snr) const |
double | GetFec16QamBer (double snr, uint32_t nbits, uint32_t bValue) const |
double | GetFec64QamBer (double snr, uint32_t nbits, uint32_t bValue) const |
double | GetFecBpskBer (double snr, double nbits, uint32_t bValue) const |
double | GetFecQpskBer (double snr, double nbits, uint32_t bValue) const |
double | GetQpskBer (double snr) const |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoInitialize (void) |
virtual void | NotifyNewAggregate (void) |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
A model for the error rate for different modulations. For OFDM modulation, the model description and validation can be found in http://www.nsnam.org/~pei/80211ofdm.pdf. For DSSS modulations (802.11b), the model uses the DsssErrorRateModel.
Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 38 of file nist-error-rate-model.h.
ns3::NistErrorRateModel::NistErrorRateModel | ( | ) |
Definition at line 42 of file nist-error-rate-model.cc.
|
private |
Definition at line 107 of file nist-error-rate-model.cc.
References NS_ASSERT.
Referenced by GetFec16QamBer(), GetFec64QamBer(), GetFecBpskBer(), and GetFecQpskBer().
|
private |
Definition at line 63 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFec16QamBer().
|
private |
Definition at line 71 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFec64QamBer().
|
private |
Definition at line 47 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFecBpskBer().
|
virtual |
Implements ns3::ErrorRateModel.
Definition at line 193 of file nist-error-rate-model.cc.
References ns3::WifiMode::GetCodeRate(), ns3::WifiMode::GetConstellationSize(), ns3::WifiMode::GetDataRate(), ns3::DsssErrorRateModel::GetDsssDbpskSuccessRate(), ns3::DsssErrorRateModel::GetDsssDqpskCck11SuccessRate(), ns3::DsssErrorRateModel::GetDsssDqpskCck5_5SuccessRate(), ns3::DsssErrorRateModel::GetDsssDqpskSuccessRate(), GetFec16QamBer(), GetFec64QamBer(), GetFecBpskBer(), GetFecQpskBer(), ns3::WifiMode::GetModulationClass(), ns3::WIFI_CODE_RATE_1_2, ns3::WIFI_CODE_RATE_2_3, ns3::WIFI_MOD_CLASS_DSSS, ns3::WIFI_MOD_CLASS_ERP_OFDM, ns3::WIFI_MOD_CLASS_HT, and ns3::WIFI_MOD_CLASS_OFDM.
|
private |
Definition at line 165 of file nist-error-rate-model.cc.
References CalculatePe(), and Get16QamBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 179 of file nist-error-rate-model.cc.
References CalculatePe(), and Get64QamBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 79 of file nist-error-rate-model.cc.
References CalculatePe(), and GetBpskBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 93 of file nist-error-rate-model.cc.
References CalculatePe(), and GetQpskBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 55 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFecQpskBer().
|
static |
Definition at line 33 of file nist-error-rate-model.cc.
References ns3::TypeId::SetParent().