21 #ifndef NIST_ERROR_RATE_MODEL_H
22 #define NIST_ERROR_RATE_MODEL_H
60 double CalculatePe (
double p, uint32_t bValue)
const;
117 uint32_t bValue)
const;
128 uint32_t bValue)
const;
139 uint32_t bValue)
const;
150 uint32_t bValue)
const;
160 uint32_t bValue)
const;
170 uint32_t bValue)
const;
double GetQpskBer(double snr) const
Return BER of QPSK at the given SNR.
static TypeId GetTypeId(void)
Get the type ID.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
double GetChunkSuccessRate(WifiMode mode, WifiTxVector txVector, double snr, uint64_t nbits) const
A pure virtual method that must be implemented in the subclass.
double GetFec16QamBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QAM16 at the given SNR after applying FEC.
double Get1024QamBer(double snr) const
Return BER of QAM1024 at the given SNR.
double GetFecQpskBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QPSK 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 CalculatePe(double p, uint32_t bValue) const
Return the coded BER for the given p and b.
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 GetFecBpskBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of BPSK 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 GetFec1024QamBer(double snr, uint64_t nbits, uint32_t bValue) const
Return BER of QAM1024 at the given SNR after applying FEC.
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.
a unique identifier for an interface.
double GetBpskBer(double snr) const
Return BER of BPSK at the given SNR.