32 #ifndef LTE_MI_ERROR_MODEL_H
33 #define LTE_MI_ERROR_MODEL_H
40 #include <ns3/spectrum-value.h>
41 #include <ns3/lte-harq-phy.h>
93 static double Mib (
const SpectrumValue& sinr,
const std::vector<int>& map, uint8_t mcs);
101 static double MappingMiBler (
double mib, uint8_t ecrId, uint16_t cbSize);
This class provides the BLER estimation based on mutual information metrics.
static double MappingMiBler(double mib, uint8_t ecrId, uint16_t cbSize)
map the mmib (mean mutual information per bit) for different MCS
static TbStats_t GetTbDecodificationStats(const SpectrumValue &sinr, const std::vector< int > &map, uint16_t size, uint8_t mcs, HarqProcessInfoList_t miHistory)
run the error-model algorithm for the specified TB
static double GetPcfichPdcchError(const SpectrumValue &sinr)
run the error-model algorithm for the specified PCFICH+PDCCH channels
static double Mib(const SpectrumValue &sinr, const std::vector< int > &map, uint8_t mcs)
find the mmib (mean mutual information per bit) for different modulations of the specified TB
Set of values corresponding to a given SpectrumModel.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
const uint16_t MI_QPSK_MAX_ID
MI QPSK maximum ID.
const uint16_t PDCCH_PCFICH_CURVE_SIZE
PDCCH PCFICH curve size.
const uint16_t MI_MAP_64QAM_SIZE
MI map 64QAM size.
const uint16_t MI_64QAM_BLER_MAX_ID
MI 64QAM BLER maximum ID.
const uint16_t MI_QPSK_BLER_MAX_ID
MI QPSK BLER maximum ID.
std::vector< HarqProcessInfoElement_t > HarqProcessInfoList_t
HarqProcessInfoList_t typedef.
const uint16_t MI_MAP_16QAM_SIZE
MI map 16QAM size.
const uint16_t MI_MAP_QPSK_SIZE
MI map QPSK size.
const uint16_t MI_16QAM_BLER_MAX_ID
MI 16QAM BLER maximum ID.
const uint16_t MI_64QAM_MAX_ID
MI 64QAM maximum ID.
const uint16_t MI_16QAM_MAX_ID
MI 16QAM maximum ID.
double mi
Mutual information.
double tbler
Transport block BLER.