#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 | Start (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) |
This method returns the TypeId associated to ns3::NistErrorRateModel. |
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 | DoStart (void) |
virtual void | NotifyNewAggregate (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.
Definition at line 38 of file nist-error-rate-model.h.
ns3::NistErrorRateModel::NistErrorRateModel | ( | ) |
Definition at line 40 of file nist-error-rate-model.cc.
|
private |
Definition at line 105 of file nist-error-rate-model.cc.
References NS_ASSERT.
Referenced by GetFec16QamBer(), GetFec64QamBer(), GetFecBpskBer(), and GetFecQpskBer().
|
private |
Definition at line 61 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFec16QamBer().
|
private |
Definition at line 69 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFec64QamBer().
|
private |
Definition at line 45 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFecBpskBer().
|
virtual |
Implements ns3::ErrorRateModel.
Definition at line 191 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, and ns3::WIFI_MOD_CLASS_OFDM.
|
private |
Definition at line 163 of file nist-error-rate-model.cc.
References CalculatePe(), and Get16QamBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 177 of file nist-error-rate-model.cc.
References CalculatePe(), and Get64QamBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 77 of file nist-error-rate-model.cc.
References CalculatePe(), and GetBpskBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 91 of file nist-error-rate-model.cc.
References CalculatePe(), and GetQpskBer().
Referenced by GetChunkSuccessRate().
|
private |
Definition at line 53 of file nist-error-rate-model.cc.
References NS_LOG_INFO.
Referenced by GetFecQpskBer().
|
static |
This method returns the TypeId associated to ns3::NistErrorRateModel.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::ErrorRateModel.
Definition at line 31 of file nist-error-rate-model.cc.
References ns3::TypeId::SetParent().