21 #ifndef NIST_ERROR_RATE_MODEL_H 
   22 #define NIST_ERROR_RATE_MODEL_H 
   58   double CalculatePe (
double p, uint32_t bValue) 
const;
 
  108                         uint32_t bValue) 
const;
 
  119                         uint32_t bValue) 
const;
 
  130                          uint32_t bValue) 
const;
 
  141                          uint32_t bValue) 
const;
 
  151                           uint32_t bValue) 
const;
 
double GetQpskBer(double snr) const 
Return BER of QPSK at the given SNR. 
 
static TypeId GetTypeId(void)
 
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
 
double GetFec64QamBer(double snr, uint32_t nbits, uint32_t bValue) const 
Return BER of QAM64 at the given SNR after applying FEC. 
 
double GetFec16QamBer(double snr, uint32_t nbits, uint32_t bValue) const 
Return BER of QAM16 at the given SNR after applying FEC. 
 
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
 
double GetFec256QamBer(double snr, uint32_t nbits, uint32_t bValue) const 
Return BER of QAM256 at the given SNR after applying FEC. 
 
the interface for Wifi's error models 
 
double CalculatePe(double p, uint32_t bValue) const 
Return the coded BER for the given p and b. 
 
virtual double GetChunkSuccessRate(WifiMode mode, WifiTxVector txVector, double snr, uint32_t nbits) const 
A pure virtual method that must be implemented in the subclass. 
 
double Get16QamBer(double snr) const 
Return BER of QAM16 at the given SNR. 
 
A model for the error rate for different modulations. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
double GetFecQpskBer(double snr, uint32_t nbits, uint32_t bValue) const 
Return BER of QPSK at the given SNR after applying FEC. 
 
double Get64QamBer(double snr) const 
Return BER of QAM64 at the given SNR. 
 
double Get256QamBer(double snr) const 
Return BER of QAM256 at the given SNR. 
 
double GetFecBpskBer(double snr, uint32_t nbits, uint32_t bValue) const 
Return BER of BPSK at the given SNR after applying FEC. 
 
a unique identifier for an interface. 
 
double GetBpskBer(double snr) const 
Return BER of BPSK at the given SNR.