A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::NistErrorRateModel Class Reference

#include <nist-error-rate-model.h>

+ Inheritance diagram for ns3::NistErrorRateModel:
+ Collaboration diagram for ns3::NistErrorRateModel:

Public Member Functions

 NistErrorRateModel ()
virtual double GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const
- Public Member Functions inherited from ns3::ErrorRateModel
double CalculateSnr (WifiMode txMode, double ber) const
- Public Member Functions inherited from ns3::Object
 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)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
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

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoDispose (void)
virtual void DoStart (void)
virtual void NotifyNewAggregate (void)

Detailed Description

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.

Constructor & Destructor Documentation

ns3::NistErrorRateModel::NistErrorRateModel ( )

Definition at line 40 of file nist-error-rate-model.cc.

Member Function Documentation

double ns3::NistErrorRateModel::CalculatePe ( double  p,
uint32_t  bValue 
) const
private

Definition at line 105 of file nist-error-rate-model.cc.

References NS_ASSERT.

Referenced by GetFec16QamBer(), GetFec64QamBer(), GetFecBpskBer(), and GetFecQpskBer().

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::Get16QamBer ( double  snr) const
private

Definition at line 61 of file nist-error-rate-model.cc.

References NS_LOG_INFO.

Referenced by GetFec16QamBer().

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::Get64QamBer ( double  snr) const
private

Definition at line 69 of file nist-error-rate-model.cc.

References NS_LOG_INFO.

Referenced by GetFec64QamBer().

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetBpskBer ( double  snr) const
private

Definition at line 45 of file nist-error-rate-model.cc.

References NS_LOG_INFO.

Referenced by GetFecBpskBer().

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetFec16QamBer ( double  snr,
uint32_t  nbits,
uint32_t  bValue 
) const
private

Definition at line 163 of file nist-error-rate-model.cc.

References CalculatePe(), and Get16QamBer().

Referenced by GetChunkSuccessRate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetFec64QamBer ( double  snr,
uint32_t  nbits,
uint32_t  bValue 
) const
private

Definition at line 177 of file nist-error-rate-model.cc.

References CalculatePe(), and Get64QamBer().

Referenced by GetChunkSuccessRate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetFecBpskBer ( double  snr,
double  nbits,
uint32_t  bValue 
) const
private

Definition at line 77 of file nist-error-rate-model.cc.

References CalculatePe(), and GetBpskBer().

Referenced by GetChunkSuccessRate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetFecQpskBer ( double  snr,
double  nbits,
uint32_t  bValue 
) const
private

Definition at line 91 of file nist-error-rate-model.cc.

References CalculatePe(), and GetQpskBer().

Referenced by GetChunkSuccessRate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ns3::NistErrorRateModel::GetQpskBer ( double  snr) const
private

Definition at line 53 of file nist-error-rate-model.cc.

References NS_LOG_INFO.

Referenced by GetFecQpskBer().

+ Here is the caller graph for this function:

TypeId ns3::NistErrorRateModel::GetTypeId ( void  )
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().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: