5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::TransportBlockInfo Struct Reference
+ Collaboration diagram for ns3::TransportBlockInfo:

Public Member Functions

 TransportBlockInfo (const ExpectedTb &expected)
 
void UpdatePerceivedSinr (const SpectrumValue &perceivedSinr)
 Update minimum and average SINR of the transport block based on perceived SINR.
 

Public Attributes

ExpectedTb m_expected
 Expected data from the PHY. Filled by AddExpectedTb.
 
bool m_harqFeedbackSent {false}
 Indicate if the feedback has been sent for an entire TB.
 
bool m_isCorrupted {false}
 True if the ErrorModel indicates that the TB is corrupted.
 
Ptr< NrErrorModelOutputm_outputOfEM
 Output of the Error Model (depends on the EM type)
 
double m_sinrAvg {0.0}
 AVG SINR (only for the RB used to transmit the TB)
 
double m_sinrMin {0.0}
 MIN SINR (only between the RB used to transmit the TB)
 

Detailed Description

Definition at line 544 of file nr-phy-mac-common.h.

Constructor & Destructor Documentation

◆ TransportBlockInfo()

ns3::TransportBlockInfo::TransportBlockInfo ( const ExpectedTb expected)
inline

Definition at line 546 of file nr-phy-mac-common.h.

Member Function Documentation

◆ UpdatePerceivedSinr()

void ns3::TransportBlockInfo::UpdatePerceivedSinr ( const SpectrumValue &  perceivedSinr)

Update minimum and average SINR of the transport block based on perceived SINR.

Parameters
perceivedSinrSpectrumValue with perceived SINR

Definition at line 1552 of file nr-spectrum-phy.cc.

References m_expected, ns3::ExpectedTb::m_rbBitmap, m_sinrAvg, and m_sinrMin.

Member Data Documentation

◆ m_expected

ExpectedTb ns3::TransportBlockInfo::m_expected

Expected data from the PHY. Filled by AddExpectedTb.

Definition at line 559 of file nr-phy-mac-common.h.

Referenced by UpdatePerceivedSinr().

◆ m_harqFeedbackSent

bool ns3::TransportBlockInfo::m_harqFeedbackSent {false}

Indicate if the feedback has been sent for an entire TB.

Definition at line 562 of file nr-phy-mac-common.h.

◆ m_isCorrupted

bool ns3::TransportBlockInfo::m_isCorrupted {false}

True if the ErrorModel indicates that the TB is corrupted.

Definition at line 560 of file nr-phy-mac-common.h.

◆ m_outputOfEM

Ptr<NrErrorModelOutput> ns3::TransportBlockInfo::m_outputOfEM

Output of the Error Model (depends on the EM type)

Definition at line 563 of file nr-phy-mac-common.h.

◆ m_sinrAvg

double ns3::TransportBlockInfo::m_sinrAvg {0.0}

AVG SINR (only for the RB used to transmit the TB)

Definition at line 564 of file nr-phy-mac-common.h.

Referenced by UpdatePerceivedSinr().

◆ m_sinrMin

double ns3::TransportBlockInfo::m_sinrMin {0.0}

MIN SINR (only between the RB used to transmit the TB)

Definition at line 565 of file nr-phy-mac-common.h.

Referenced by UpdatePerceivedSinr().


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