![]() |
5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
|
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< NrErrorModelOutput > | m_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) | |
Definition at line 544 of file nr-phy-mac-common.h.
|
inline |
Definition at line 546 of file nr-phy-mac-common.h.
void ns3::TransportBlockInfo::UpdatePerceivedSinr | ( | const SpectrumValue & | perceivedSinr | ) |
Update minimum and average SINR of the transport block based on perceived SINR.
perceivedSinr | SpectrumValue 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.
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().
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.
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.
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.
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().
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().