5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr module tests

Files

file  nr-test-csi.h
 This test creates a scenario with up to two gnb/ues, to test if the CSI and sub-band aware scheduler works correctly, avoiding strong narrowband interference.
 

Classes

class  ns3::NrEpcTestRrc
 RRC stub providing a testing S1 SAP user to be used with the NrEpcGnbApplication. More...
 
class  NrEpsGtpuTestSuite
 Test suite for testing GPRS tunnelling protocol header coding and decoding. More...
 
class  NrRlcAmE2eTestCase
 
class  NrRlcAmE2eTestSuite
 Test suite for RlcAmE2e test case. More...
 
class  NrRlcAmTransmitterBufferStatusReportTestCase
 Test 4.1.1.4 Test checks functionality of Buffer Status Report by testing primitive parameters. More...
 
class  NrRlcAmTransmitterConcatenationTestCase
 Test 4.1.1.3 Test that concatenation functionality works properly. Test check if n SDUs are correctly contactenate to single PDU. More...
 
class  NrRlcAmTransmitterOneSduTestCase
 Test 4.1.1.1 Test that SDU transmitted at PDCP corresponds to PDU received by MAC. More...
 
class  NrRlcAmTransmitterSegmentationTestCase
 Test 4.1.1.2 Test the correct functionality of the Segmentation. Test check that single SDU is properly segmented to n PDUs. More...
 
class  NrRlcAmTransmitterTestCase
 Test case used by NrRlcAmTransmitterOneSduTestCase to create topology and to implement functionalities and check if data received corresponds to data sent. More...
 
class  NrRlcAmTransmitterTestSuite
 TestSuite 4.1.1 RLC AM: Only transmitter functionality. More...
 
class  NrRlcUmE2eTestCase
 Test end-to-end flow when RLC UM is being used. More...
 
class  NrRlcUmE2eTestSuite
 Test suite for RlcUmE2eTestCase. More...
 
class  NrRlcUmTransmitterBufferStatusReportTestCase
 Test 4.1.1.4 Buffer Status Report (test primitive parameters) More...
 
class  NrRlcUmTransmitterConcatenationTestCase
 Test 4.1.1.3 Concatenation (n SDUs => One PDU) More...
 
class  NrRlcUmTransmitterOneSduTestCase
 Test 4.1.1.1 One SDU, One PDU. More...
 
class  NrRlcUmTransmitterSegmentationTestCase
 Test 4.1.1.2 Segmentation (One SDU => n PDUs) More...
 
class  NrRlcUmTransmitterTestCase
 Test case used by NrRlcUmTransmitterOneSduTestCase to create topology and to implement functionalities and check if data received corresponds to data sent. More...
 
class  NrRlcUmTransmitterTestSuite
 TestSuite 4.1.1 for RLC UM: Only transmitter part. More...
 
class  ns3::NrSimpleHelper
 A simplified version of NrHelper, that is used for creation and configuration of NR entities for testing purposes when just a limited NrHelper functionality is wanted. More...
 
class  ns3::NrTestMac
 This class implements a testing loopback MAC layer. More...
 
class  ns3::NrTestPdcp
 This class implements a testing PDCP entity. More...
 
class  ns3::NrTestRrc
 This class implements a testing RRC entity. More...
 
class  NrUeMeasurementsHandoverTestCase
 Testing UE measurements in NR with simulation of 2 eNodeB and 1 UE in a handover configuration. More...
 
class  NrUeMeasurementsHandoverTestSuite
 Test suite for generating calls to UE measurements test case ns3::NrUeMeasurementsHandoverTestCase. More...
 
class  NrUeMeasurementsPiecewiseTestCase1
 Testing UE measurements in NR with simulation of 1 eNodeB and 1 UE in piecewise configuration and 120 ms report interval. During the simulation the placement of UE is being changed several times. Four different cases are considered: UE is very near to eNodeB, UE is near to eNodeB, UE is far from eNodeB and UE is very far from eNodeB. Test checks if the measurements correspond to the real conditions of the UE, i.e. when the signal from serving cell becomes weak, the measurements should also start to correspond to the new channel conditions. Additionally, it is checked if UE detects some neighboring signal, if it does the test fails because there is no neighbor in this configuration. Also, test checks if the reporting occurs at intervals that it should according to the measurements configuration. If it occurs in some different time stamp the test will fail. More...
 
class  NrUeMeasurementsPiecewiseTestCase2
 Testing UE measurements in NR with simulation of 2 eNodeB and 1 UE in piecewise configuration and 240 ms report interval. Here is intenisvely test events A1 and A2. A1 event should be triggered when the serving cell becomes better than a given threshold. A2 shall be triggered when the serving cell becomes worse than threshold. A3 event is triggered when the neighbour becomes offset better than the PCell. In this test UE is being transported several times during the simulation duration. Then the test checks if measurement report contains correct RSRP and RSRQ result, than if CQI info is correctly generated, if the reporting occurs at the correct time stamp in the simulation and according to the measurements configuration. It also checks if the reported values of RSRP and RSRQ are equal to expected reference values. More...
 
class  NrUeMeasurementsPiecewiseTestCase3
 Testing UE measurements in NR with simulation of 3 eNodeB and 1 UE in piecewise configuration and 240 ms report interval. This test is to cover a corner case using event A4, which is not covered by NrUeMeasurementsPiecewiseTestCase1 and NrUeMeasurementsPiecewiseTestCase2. In this case, we test that the UE measurements at gNB are arriving 240 ms apart. Please note, the scenario simulated is engineered to specifically test the corner case in which whenever a new neighbour fulfils the entry condition for event A4, the UE RRC calls VarMeasReportListAdd method to include the new cell id in cellsTriggeredList, and then it schedules the SendMeasurementReport for periodic reporting. However, if the UE has already started the periodic reporting, scheduling the SendMeasurementReport method again causes following buggy behaviors: More...
 
class  NrUeMeasurementsPiecewiseTestSuite1
 Test suite for generating calls to UE measurements test case ns3::NrUeMeasurementsPiecewiseTestCase1. More...
 
class  NrUeMeasurementsPiecewiseTestSuite2
 Test suite for generating calls to UE measurements test case ns3::NrUeMeasurementsPiecewiseTestCase2. More...
 
class  NrUeMeasurementsPiecewiseTestSuite3
 Test suite for generating calls to UE measurements test case ns3::NrUeMeasurementsPiecewiseTestCase3. More...
 
class  NrUeMeasurementsTestCase
 Test that UE measurements calculation works properly in a scenario with 2 eNodeBs and 2UEs. Test that RSRP and RSRQ of the serving cell and of the neighbor cell correspond to the reference values. More...
 
class  NrUeMeasurementsTestSuite
 Test that UE Measurements (see 36.214) calculation works fine in a multi-cell interference scenario. More...
 

Variables

NrAsn1EncodingSuite g_nrAsn1EncodingSuite
 
NrEpcE2eDataTestSuite g_nrEpcE2eDataTestSuite
 the test suite
 
static NrIpv6RoutingTestSuite g_nripv6testsuite
 
static NrRadioLinkFailureTestSuite g_nrRadioLinkFailureTestSuite
 
static NrRrcTestSuite g_nrRrcTestSuiteInstance
 
static NrEpcTftClassifierTestSuite g_nrTftClassifierTestSuite
 
static NrX2HandoverTestSuite g_nrX2HandoverTestSuiteInstance
 
static NrTestBearerDeactivateSuite ns3::lenaTestBearerDeactivateSuite
 
static UlSchedulingTestSuite ns3::m_UlSchedulingTestSuite
 Nr test suite.
 
static NrRlcAmE2eTestSuite nrRlcAmE2eTestSuite
 
static NrRlcAmTransmitterTestSuite nrRlcAmTransmitterTestSuite
 
static NrRlcUmE2eTestSuite nrRlcUmE2eTestSuite
 
static NrRlcUmTransmitterTestSuite nrRlcUmTransmitterTestSuite
 
static NrUeMeasurementsHandoverTestSuite nrUeMeasurementsHandoverTestSuite
 
static NrUeMeasurementsPiecewiseTestSuite1 nrUeMeasurementsPiecewiseTestSuite1
 
static NrUeMeasurementsPiecewiseTestSuite2 nrUeMeasurementsPiecewiseTestSuite2
 
static NrUeMeasurementsPiecewiseTestSuite3 nrUeMeasurementsPiecewiseTestSuite3
 
static NrUeMeasurementsTestSuite nrUeMeasurementsTestSuite
 
ns3::NrRlcHeaderTestSuite ns3::staticNrRlcHeaderTestSuiteInstance
 the test suite
 

Detailed Description

Variable Documentation

◆ g_nrAsn1EncodingSuite

NrAsn1EncodingSuite g_nrAsn1EncodingSuite

Static variable for test initialization

Definition at line 1272 of file nr-test-asn1-encoding.cc.

◆ g_nripv6testsuite

NrIpv6RoutingTestSuite g_nripv6testsuite
static

Static variable for test initialization

Definition at line 355 of file nr-test-ipv6-routing.cc.

◆ g_nrRadioLinkFailureTestSuite

NrRadioLinkFailureTestSuite g_nrRadioLinkFailureTestSuite
static

Static variable for test initialization

Definition at line 109 of file nr-test-radio-link-failure.cc.

◆ g_nrRrcTestSuiteInstance

NrRrcTestSuite g_nrRrcTestSuiteInstance
static

Static variable for test initialization

Definition at line 1094 of file nr-test-rrc.cc.

◆ g_nrTftClassifierTestSuite

NrEpcTftClassifierTestSuite g_nrTftClassifierTestSuite
static

Static variable for test initialization

Definition at line 211 of file nr-test-epc-tft-classifier.cc.

◆ g_nrX2HandoverTestSuiteInstance

NrX2HandoverTestSuite g_nrX2HandoverTestSuiteInstance
static

Static variable for test initialization

Definition at line 1099 of file nr-test-x2-handover.cc.

◆ lenaTestBearerDeactivateSuite

NrTestBearerDeactivateSuite ns3::lenaTestBearerDeactivateSuite
static

Static variable for test initialization

Definition at line 80 of file nr-test-deactivate-bearer.cc.

◆ m_UlSchedulingTestSuite

UlSchedulingTestSuite ns3::m_UlSchedulingTestSuite
static

Nr test suite.

Static variable for test initialization

Definition at line 45 of file ul-scheduling-test.cc.

◆ nrRlcAmE2eTestSuite

NrRlcAmE2eTestSuite nrRlcAmE2eTestSuite
static

Static variable for test initialization

Definition at line 93 of file nr-test-rlc-am-e2e.cc.

◆ nrRlcAmTransmitterTestSuite

NrRlcAmTransmitterTestSuite nrRlcAmTransmitterTestSuite
static

Static variable for test initialization

Definition at line 46 of file nr-test-rlc-am-transmitter.cc.

◆ nrRlcUmE2eTestSuite

NrRlcUmE2eTestSuite nrRlcUmE2eTestSuite
static

Static variable for test initialization

Definition at line 71 of file nr-test-rlc-um-e2e.cc.

◆ nrRlcUmTransmitterTestSuite

NrRlcUmTransmitterTestSuite nrRlcUmTransmitterTestSuite
static

Static variable for test initialization

Definition at line 48 of file nr-test-rlc-um-transmitter.cc.

◆ nrUeMeasurementsHandoverTestSuite

NrUeMeasurementsHandoverTestSuite nrUeMeasurementsHandoverTestSuite
static

Static variable for test initialization

Definition at line 2284 of file nr-test-ue-measurements.cc.

◆ nrUeMeasurementsPiecewiseTestSuite1

NrUeMeasurementsPiecewiseTestSuite1 nrUeMeasurementsPiecewiseTestSuite1
static

Static variable for test initialization

Definition at line 706 of file nr-test-ue-measurements.cc.

◆ nrUeMeasurementsPiecewiseTestSuite2

NrUeMeasurementsPiecewiseTestSuite2 nrUeMeasurementsPiecewiseTestSuite2
static

Static variable for test initialization

Definition at line 1407 of file nr-test-ue-measurements.cc.

◆ nrUeMeasurementsPiecewiseTestSuite3

NrUeMeasurementsPiecewiseTestSuite3 nrUeMeasurementsPiecewiseTestSuite3
static

Static variable for test initialization

Definition at line 1732 of file nr-test-ue-measurements.cc.

◆ nrUeMeasurementsTestSuite

NrUeMeasurementsTestSuite nrUeMeasurementsTestSuite
static

Static variable for test initialization

Definition at line 229 of file nr-test-ue-measurements.cc.