21 #ifndef NIST_ERROR_RATE_MODEL_H 22 #define NIST_ERROR_RATE_MODEL_H 59 double CalculatePe (
double p, uint32_t bValue)
const;
116 uint32_t bValue)
const;
127 uint32_t bValue)
const;
138 uint32_t bValue)
const;
149 uint32_t bValue)
const;
159 uint32_t bValue)
const;
169 uint32_t bValue)
const;
double Get64QamBer(double snr) const
Return BER of QAM64 at the given SNR.
static TypeId GetTypeId(void)
Get the type ID.
double GetFecQpskBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QPSK at the given SNR after applying FEC.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
double GetFec16QamBer(double snr, uint64_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...
the interface for Wifi's error models
double GetFec1024QamBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QAM1024 at the given SNR after applying FEC.
double GetFecBpskBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of BPSK at the given SNR after applying FEC.
double Get256QamBer(double snr) const
Return BER of QAM256 at the given SNR.
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 GetFec64QamBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QAM64 at the given SNR after applying FEC.
double GetFec256QamBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QAM256 at the given SNR after applying FEC.
double GetQpskBer(double snr) const
Return BER of QPSK at the given SNR.
double CalculatePe(double p, uint32_t bValue) const
Return the coded BER for the given p and b.
double Get1024QamBer(double snr) const
Return BER of QAM1024 at the given SNR.
double GetChunkSuccessRate(WifiMode mode, WifiTxVector txVector, double snr, uint64_t nbits) const
A pure virtual method that must be implemented in the subclass.
double GetBpskBer(double snr) const
Return BER of BPSK at the given SNR.
a unique identifier for an interface.