5G-LENA nr-v3.3-49-g235218b1
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-test-l2sm-eesm.cc File Reference

This test validates specific functions of the NR PHY abstraction model. The test checks two issues: 1) LDPC base graph (BG) selection works properly, and 2) BLER values are properly obtained from the BLER-SINR look up tables for different block sizes, MCS Tables, BG types, and SINR values. More...

#include <ns3/enum.h>
#include <ns3/nr-eesm-cc-t1.h>
#include <ns3/nr-eesm-cc-t2.h>
#include <ns3/nr-eesm-error-model.h>
#include <ns3/nr-eesm-ir-t1.h>
#include <ns3/nr-eesm-ir-t2.h>
#include <ns3/test.h>
+ Include dependency graph for nr-test-l2sm-eesm.cc:

Go to the source code of this file.

Typedefs

typedef std::tuple< double, uint8_t, uint32_t, double > ns3::MappingTable
 

Variables

static NrTestL2smEesm ns3::NrTestL2smEesmTestSuite
 Nr test suite.
 
static std::vector< MappingTable > ns3::resultTable1
 
static std::vector< MappingTable > ns3::resultTable2
 

Detailed Description

This test validates specific functions of the NR PHY abstraction model. The test checks two issues: 1) LDPC base graph (BG) selection works properly, and 2) BLER values are properly obtained from the BLER-SINR look up tables for different block sizes, MCS Tables, BG types, and SINR values.

Definition in file nr-test-l2sm-eesm.cc.

Typedef Documentation

◆ MappingTable

typedef std::tuple<double, uint8_t, uint32_t, double> ns3::MappingTable

Definition at line 132 of file nr-test-l2sm-eesm.cc.

Variable Documentation

◆ NrTestL2smEesmTestSuite

NrTestL2smEesm ns3::NrTestL2smEesmTestSuite
static

Nr test suite.

Definition at line 292 of file nr-test-l2sm-eesm.cc.

◆ resultTable1

std::vector<MappingTable> ns3::resultTable1
static
Initial value:
= {
MappingTable{19.95, 18, 3200, 0.023},
MappingTable{15.849, 18, 3200, 0.7567365},
MappingTable{10, 18, 3200, 1.00},
MappingTable{19.95, 18, 3500, 0.0735},
MappingTable{15.849, 18, 3500, 0.7908951},
MappingTable{10, 18, 3500, 1.00},
MappingTable{8.9125, 14, 3900, 0.3225703},
MappingTable{7.9433, 14, 3900, 0.8827055},
MappingTable{6.3095, 14, 3900, 1.00},
MappingTable{8.9125, 14, 6300, 0.0237},
MappingTable{7.9433, 14, 6300, 0.9990385},
MappingTable{6.3095, 14, 6300, 1.00}
}

Definition at line 134 of file nr-test-l2sm-eesm.cc.

◆ resultTable2

std::vector<MappingTable> ns3::resultTable2
static
Initial value:
= {
MappingTable{19.95, 11, 3200, 0.023},
MappingTable{15.849, 11, 3200, 0.7567365},
MappingTable{10, 11, 3200, 1.00},
MappingTable{19.95, 11, 3500, 0.0735},
MappingTable{15.849, 11, 3500, 0.7908951},
MappingTable{10, 11, 3500, 1.00},
MappingTable{8.9125, 8, 3900, 0.3225703},
MappingTable{7.9433, 8, 3900, 0.8827055},
MappingTable{6.3095, 8, 3900, 1.00},
MappingTable{8.9125, 8, 6300, 0.0237},
MappingTable{7.9433, 8, 6300, 0.9990385},
MappingTable{6.3095, 8, 6300, 1.00}
}

Definition at line 158 of file nr-test-l2sm-eesm.cc.