5G-LENA nr-v3.0-32-g83aee33
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrPhyRxTrace Class Reference
+ Inheritance diagram for ns3::NrPhyRxTrace:
+ Collaboration diagram for ns3::NrPhyRxTrace:

Public Member Functions

void SetResultsFolder (const std::string &resultsFolder)
 Set results folder.
 
void SetSimTag (const std::string &simTag)
 Set simTag that will be concatenated to output file names.
 

Static Public Member Functions

static void DlCtrlSinrCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, uint16_t cellId, uint16_t rnti, double avgSinr, uint16_t bwpId)
 Trace sink for DL Average SINR of CTRL (in dB).
 
static void DlDataSinrCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, uint16_t cellId, uint16_t rnti, double avgSinr, uint16_t bwpId)
 Trace sink for DL Average SINR of DATA (in dB).
 
static TypeId GetTypeId ()
 
static void PathlossTraceCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, Ptr< const SpectrumPhy > txPhy, Ptr< const SpectrumPhy > rxPhy, double lossDb)
 Trace sink for spectrum channel pathloss trace.
 
static void ReportDlCtrlPathloss (Ptr< NrPhyRxTrace > phyStats, std::string path, uint16_t cellId, uint8_t bwpId, uint32_t ueNodeId, double lossDb)
 Write DL CTRL pathloss values in a file.
 
static void ReportDlDataPathloss (Ptr< NrPhyRxTrace > phyStats, std::string path, uint16_t cellId, uint8_t bwpId, uint32_t ueNodeId, double lossDb, uint8_t cqi)
 Write DL DATA pathloss values in a file.
 
static void ReportDownLinkTBSize (Ptr< NrPhyRxTrace > phyStats, std::string path, uint64_t imsi, uint64_t tbSize)
 
static void ReportPacketCountEnbCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, GnbPhyPacketCountParameter param)
 
static void ReportPacketCountUeCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, UePhyPacketCountParameter param)
 
static void RxedGnbPhyCtrlMsgsCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, Ptr< const NrControlMessage > msg)
 
static void RxedUePhyCtrlMsgsCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, Ptr< const NrControlMessage > msg)
 
static void RxedUePhyDlDciCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, uint8_t harqId, uint32_t k1Delay)
 
static void RxPacketTraceEnbCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, RxPacketTraceParams param)
 
static void RxPacketTraceUeCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, RxPacketTraceParams param)
 
static void TxedGnbPhyCtrlMsgsCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, Ptr< const NrControlMessage > msg)
 
static void TxedUePhyCtrlMsgsCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, Ptr< const NrControlMessage > msg)
 
static void TxedUePhyHarqFeedbackCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, SfnSf sfn, uint16_t nodeId, uint16_t rnti, uint8_t bwpId, uint8_t harqId, uint32_t k1Delay)
 
static void UlSinrTraceCallback (Ptr< NrPhyRxTrace > phyStats, std::string path, uint64_t imsi, SpectrumValue &sinr, SpectrumValue &power)
 

Detailed Description

Definition at line 24 of file nr-phy-rx-trace.h.

Constructor & Destructor Documentation

◆ NrPhyRxTrace()

ns3::NrPhyRxTrace::NrPhyRxTrace ( )

Definition at line 59 of file nr-phy-rx-trace.cc.

◆ ~NrPhyRxTrace()

ns3::NrPhyRxTrace::~NrPhyRxTrace ( )
override

Definition at line 63 of file nr-phy-rx-trace.cc.

Member Function Documentation

◆ DlCtrlSinrCallback()

void ns3::NrPhyRxTrace::DlCtrlSinrCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint16_t  cellId,
uint16_t  rnti,
double  avgSinr,
uint16_t  bwpId 
)
static

Trace sink for DL Average SINR of CTRL (in dB).

Parameters
[in]phyStatsNrPhyRxTrace object
[in]pathcontext path
[in]cellIdthe cell ID
[in]rntithe RNTI
[in]avgSinrthe average SINR
[in]bwpIdthe BWP ID

Definition at line 193 of file nr-phy-rx-trace.cc.

Referenced by ns3::NrHelper::EnableDlCtrlPhyTraces().

+ Here is the caller graph for this function:

◆ DlDataSinrCallback()

void ns3::NrPhyRxTrace::DlDataSinrCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint16_t  cellId,
uint16_t  rnti,
double  avgSinr,
uint16_t  bwpId 
)
static

Trace sink for DL Average SINR of DATA (in dB).

Parameters
[in]phyStatsNrPhyRxTrace object
[in]pathcontext path
[in]cellIdthe cell ID
[in]rntithe RNTI
[in]avgSinrthe average SINR
[in]bwpIdthe BWP ID

Definition at line 156 of file nr-phy-rx-trace.cc.

Referenced by ns3::NrHelper::EnableDlDataPhyTraces().

+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::NrPhyRxTrace::GetTypeId ( )
static

Definition at line 127 of file nr-phy-rx-trace.cc.

◆ PathlossTraceCallback()

void ns3::NrPhyRxTrace::PathlossTraceCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
Ptr< const SpectrumPhy >  txPhy,
Ptr< const SpectrumPhy >  rxPhy,
double  lossDb 
)
static

Trace sink for spectrum channel pathloss trace.

Parameters
[in]phyStatsPointer to NrPhyRxTrace API
[in]pathThe context of the trace path
[in]txPhyThe TX SpectrumPhy instance
[in]rxPhyThe RX SpectrumPhy instance
[in]lossDbThe loss value in dB

Definition at line 954 of file nr-phy-rx-trace.cc.

Referenced by ns3::NrHelper::EnablePathlossTraces().

+ Here is the caller graph for this function:

◆ ReportDlCtrlPathloss()

void ns3::NrPhyRxTrace::ReportDlCtrlPathloss ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint16_t  cellId,
uint8_t  bwpId,
uint32_t  ueNodeId,
double  lossDb 
)
static

Write DL CTRL pathloss values in a file.

Parameters
[in]phyStatsNrPhyRxTrace object
[in]pathcontext path
cellIdcell ID
bwpIdBWP ID
ueNodeIdUE node ID
lossdBloss in dB

Definition at line 1077 of file nr-phy-rx-trace.cc.

◆ ReportDlDataPathloss()

void ns3::NrPhyRxTrace::ReportDlDataPathloss ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint16_t  cellId,
uint8_t  bwpId,
uint32_t  ueNodeId,
double  lossDb,
uint8_t  cqi 
)
static

Write DL DATA pathloss values in a file.

Parameters
[in]phyStatsNrPhyRxTrace object
[in]pathcontext path
cellIdcell ID
bwpIdBWP ID
ueNodeIdUE node ID
lossdBloss in dB
cqithe CQI that corresponds to the received signal (calculated based on the received SINR)

Definition at line 1115 of file nr-phy-rx-trace.cc.

◆ ReportDownLinkTBSize()

void ns3::NrPhyRxTrace::ReportDownLinkTBSize ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint64_t  imsi,
uint64_t  tbSize 
)
static

Definition at line 736 of file nr-phy-rx-trace.cc.

◆ ReportPacketCountEnbCallback()

void ns3::NrPhyRxTrace::ReportPacketCountEnbCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
GnbPhyPacketCountParameter  param 
)
static

Definition at line 728 of file nr-phy-rx-trace.cc.

◆ ReportPacketCountUeCallback()

void ns3::NrPhyRxTrace::ReportPacketCountUeCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
UePhyPacketCountParameter  param 
)
static

Definition at line 720 of file nr-phy-rx-trace.cc.

◆ RxedGnbPhyCtrlMsgsCallback()

void ns3::NrPhyRxTrace::RxedGnbPhyCtrlMsgsCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
Ptr< const NrControlMessage msg 
)
static

Trace sink for Enb Phy Received Control Messages.

Parameters
[in]phyStatsPhysical layer statistics.
[in]pathPath of the file where the traces will be written
[in]sfnframe, subframe and slot number
[in]nodeId
[in]rnti
[in]bwpId
[in]pointerto msg to get the msg type

Definition at line 263 of file nr-phy-rx-trace.cc.

References ns3::NrControlMessage::BSR, ns3::NrControlMessage::DL_CQI, ns3::NrControlMessage::DL_HARQ, ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), ns3::SfnSf::GetSubframe(), ns3::NrControlMessage::RACH_PREAMBLE, ns3::NrControlMessage::SR, and ns3::NrControlMessage::SRS.

Referenced by ns3::NrHelper::EnableGnbPhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RxedUePhyCtrlMsgsCallback()

void ns3::NrPhyRxTrace::RxedUePhyCtrlMsgsCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
Ptr< const NrControlMessage msg 
)
static

Trace sink for Ue Phy Received Control Messages.

Parameters
[in]frameFrame number
[in]subframeSubframe number
[in]slotnumber
[in]nodeId
[in]rnti
[in]bwpId
[in]pointerto msg to get the msg type

Definition at line 415 of file nr-phy-rx-trace.cc.

References ns3::NrControlMessage::DL_DCI, ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), ns3::SfnSf::GetSubframe(), ns3::NrControlMessage::MIB, ns3::NrControlMessage::RAR, ns3::NrControlMessage::SIB1, and ns3::NrControlMessage::UL_DCI.

Referenced by ns3::NrHelper::EnableUePhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RxedUePhyDlDciCallback()

void ns3::NrPhyRxTrace::RxedUePhyDlDciCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
uint8_t  harqId,
uint32_t  k1Delay 
)
static

Trace sink for Ue Phy Received Control Messages.

Parameters
[in]frameFrame number
[in]subframeSubframe number
[in]slotnumber
[in]nodeId
[in]rnti
[in]bwpId
[in]harqId
[in]k1delay

Definition at line 567 of file nr-phy-rx-trace.cc.

References ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), and ns3::SfnSf::GetSubframe().

Referenced by ns3::NrHelper::EnableUePhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RxPacketTraceEnbCallback()

void ns3::NrPhyRxTrace::RxPacketTraceEnbCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
RxPacketTraceParams  param 
)
static

Definition at line 880 of file nr-phy-rx-trace.cc.

◆ RxPacketTraceUeCallback()

void ns3::NrPhyRxTrace::RxPacketTraceUeCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
RxPacketTraceParams  param 
)
static

Definition at line 802 of file nr-phy-rx-trace.cc.

◆ SetResultsFolder()

void ns3::NrPhyRxTrace::SetResultsFolder ( const std::string &  resultsFolder)

Set results folder.

Parameters
resultsFolderstring to be used as a path to results folder

Definition at line 150 of file nr-phy-rx-trace.cc.

◆ SetSimTag()

void ns3::NrPhyRxTrace::SetSimTag ( const std::string &  simTag)

Set simTag that will be concatenated to output file names.

Parameters
simTagstring to be used as simulation tag

Definition at line 144 of file nr-phy-rx-trace.cc.

◆ TxedGnbPhyCtrlMsgsCallback()

void ns3::NrPhyRxTrace::TxedGnbPhyCtrlMsgsCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
Ptr< const NrControlMessage msg 
)
static

Trace sink for Enb Phy Transmitted Control Messages.

Parameters
[in]frameFrame number
[in]subframeSubframe number
[in]slotnumber
[in]nodeId
[in]rnti
[in]bwpId
[in]pointerto msg to get the msg type

Definition at line 341 of file nr-phy-rx-trace.cc.

References ns3::NrControlMessage::DL_DCI, ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), ns3::SfnSf::GetSubframe(), ns3::NrControlMessage::MIB, ns3::NrControlMessage::RAR, ns3::NrControlMessage::SIB1, and ns3::NrControlMessage::UL_DCI.

Referenced by ns3::NrHelper::EnableGnbPhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TxedUePhyCtrlMsgsCallback()

void ns3::NrPhyRxTrace::TxedUePhyCtrlMsgsCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
Ptr< const NrControlMessage msg 
)
static

Trace sink for Ue Phy Transmitted Control Messages.

Parameters
[in]frameFrame number
[in]subframeSubframe number
[in]slotnumber
[in]nodeId
[in]rnti
[in]bwpId
[in]pointerto msg to get the msg type

Definition at line 489 of file nr-phy-rx-trace.cc.

References ns3::NrControlMessage::BSR, ns3::NrControlMessage::DL_CQI, ns3::NrControlMessage::DL_HARQ, ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), ns3::SfnSf::GetSubframe(), ns3::NrControlMessage::RACH_PREAMBLE, ns3::NrControlMessage::SR, and ns3::NrControlMessage::SRS.

Referenced by ns3::NrHelper::EnableUePhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TxedUePhyHarqFeedbackCallback()

void ns3::NrPhyRxTrace::TxedUePhyHarqFeedbackCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
SfnSf  sfn,
uint16_t  nodeId,
uint16_t  rnti,
uint8_t  bwpId,
uint8_t  harqId,
uint32_t  k1Delay 
)
static

Trace sink for Ue Phy Received Control Messages.

Parameters
[in]phyStatsPhysical layer statistics
[in]pathWhere to write PHY layer statistics
[in]sfnFrame, subframe, slot number.
[in]nodeId
[in]rnti
[in]bwpId
[in]harqId
[in]k1delay

Definition at line 619 of file nr-phy-rx-trace.cc.

References ns3::SfnSf::GetFrame(), ns3::SfnSf::GetSlot(), and ns3::SfnSf::GetSubframe().

Referenced by ns3::NrHelper::EnableUePhyCtrlMsgsTraces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UlSinrTraceCallback()

void ns3::NrPhyRxTrace::UlSinrTraceCallback ( Ptr< NrPhyRxTrace phyStats,
std::string  path,
uint64_t  imsi,
SpectrumValue &  sinr,
SpectrumValue &  power 
)
static

Definition at line 231 of file nr-phy-rx-trace.cc.


The documentation for this class was generated from the following files: