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

In this test case we want to observe delays of a single UDP packet, and to track its gNB processing time, air time, UE time depending on the numerology. More...

#include "ns3/antenna-module.h"
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/nr-eps-bearer-tag.h"
#include "ns3/nr-module.h"
#include "ns3/point-to-point-helper.h"
+ Include dependency graph for nr-test-numerology-delay.cc:

Go to the source code of this file.

Functions

void ConnectRlcPdcpTraces (NrTestNumerologyDelayCase1 *testcase)
 
void NrTestDlSchedCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, NrSchedulingCallbackInfo info)
 
void NrTestRxPacketUeCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, RxPacketTraceParams rxParams)
 
void NrTestRxPdcpPDUCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, uint16_t rnti, uint8_t lcid, uint32_t bytes, uint64_t delay)
 
void NrTestRxRlcPDUCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, uint16_t rnti, uint8_t lcid, uint32_t bytes, uint64_t delay)
 
void NrTestTxPacketGnbCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, GnbPhyPacketCountParameter params)
 
void NrTestTxPdcpPDUCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, uint16_t rnti, uint8_t lcid, uint32_t bytes)
 
void NrTestTxRlcPDUCallback (NrTestNumerologyDelayCase1 *testcase, std::string path, uint16_t rnti, uint8_t lcid, uint32_t bytes)
 
static void SendPacket (Ptr< NetDevice > device, Address &addr)
 

Variables

static NrTestNumerologyDelayTestSuite nrTestSuite
 
static uint32_t packetSize = 1000
 

Detailed Description

In this test case we want to observe delays of a single UDP packet, and to track its gNB processing time, air time, UE time depending on the numerology.

Definition in file nr-test-numerology-delay.cc.

Function Documentation

◆ ConnectRlcPdcpTraces()

void ConnectRlcPdcpTraces ( NrTestNumerologyDelayCase1 *  testcase)

Definition at line 156 of file nr-test-numerology-delay.cc.

◆ NrTestDlSchedCallback()

void NrTestDlSchedCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
NrSchedulingCallbackInfo  info 
)

Definition at line 84 of file nr-test-numerology-delay.cc.

◆ NrTestRxPacketUeCallback()

void NrTestRxPacketUeCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
RxPacketTraceParams  rxParams 
)

Definition at line 98 of file nr-test-numerology-delay.cc.

◆ NrTestRxPdcpPDUCallback()

void NrTestRxPdcpPDUCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
uint16_t  rnti,
uint8_t  lcid,
uint32_t  bytes,
uint64_t  delay 
)

Definition at line 145 of file nr-test-numerology-delay.cc.

◆ NrTestRxRlcPDUCallback()

void NrTestRxRlcPDUCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
uint16_t  rnti,
uint8_t  lcid,
uint32_t  bytes,
uint64_t  delay 
)

Definition at line 134 of file nr-test-numerology-delay.cc.

◆ NrTestTxPacketGnbCallback()

void NrTestTxPacketGnbCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
GnbPhyPacketCountParameter  params 
)

Definition at line 106 of file nr-test-numerology-delay.cc.

◆ NrTestTxPdcpPDUCallback()

void NrTestTxPdcpPDUCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
uint16_t  rnti,
uint8_t  lcid,
uint32_t  bytes 
)

Definition at line 124 of file nr-test-numerology-delay.cc.

◆ NrTestTxRlcPDUCallback()

void NrTestTxRlcPDUCallback ( NrTestNumerologyDelayCase1 *  testcase,
std::string  path,
uint16_t  rnti,
uint8_t  lcid,
uint32_t  bytes 
)

Definition at line 114 of file nr-test-numerology-delay.cc.

◆ SendPacket()

static void SendPacket ( Ptr< NetDevice >  device,
Address &  addr 
)
static

Definition at line 172 of file nr-test-numerology-delay.cc.

Variable Documentation

◆ nrTestSuite

NrTestNumerologyDelayTestSuite nrTestSuite
static

Definition at line 507 of file nr-test-numerology-delay.cc.

◆ packetSize

uint32_t packetSize = 1000
static

Definition at line 27 of file nr-test-numerology-delay.cc.