#include <lte-sinr-chunk-processor.h>
Public Member Functions | |
LteDataSinrChunkProcessor (Ptr< LteSpectrumPhy > p) | |
LteDataSinrChunkProcessor (Ptr< LteSpectrumPhy > s, Ptr< LtePhy > p) | |
virtual | ~LteDataSinrChunkProcessor () |
virtual void | End () |
virtual void | EvaluateSinrChunk (const SpectrumValue &sinr, Time duration) |
virtual void | Start () |
![]() | |
virtual | ~LteSinrChunkProcessor () |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Private Attributes | |
Ptr< LtePhy > | m_phy |
Ptr< LteSpectrumPhy > | m_spectrumPhy |
Ptr< SpectrumValue > | m_sumSinr |
Time | m_totDuration |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
The LteDataSinrChunkProcessor averages the calculated SINR over time for data frame and therefore in charge of generating the sinr values for evaluating the errors of data packets. Might be used also for generating CQI based on data in case any LtePhy is attached.
Definition at line 89 of file lte-sinr-chunk-processor.h.
|
virtual |
Definition at line 124 of file lte-sinr-chunk-processor.cc.
References NS_LOG_FUNCTION.
ns3::LteDataSinrChunkProcessor::LteDataSinrChunkProcessor | ( | Ptr< LteSpectrumPhy > | p | ) |
Definition at line 113 of file lte-sinr-chunk-processor.cc.
References m_spectrumPhy, NS_ASSERT, and NS_LOG_FUNCTION.
ns3::LteDataSinrChunkProcessor::LteDataSinrChunkProcessor | ( | Ptr< LteSpectrumPhy > | s, |
Ptr< LtePhy > | p | ||
) |
Definition at line 104 of file lte-sinr-chunk-processor.cc.
References m_phy, m_spectrumPhy, NS_ASSERT, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 152 of file lte-sinr-chunk-processor.cc.
References ns3::LtePhy::GenerateDataCqiReport(), ns3::Time::GetSeconds(), m_phy, m_spectrumPhy, m_sumSinr, m_totDuration, NS_LOG_FUNCTION, NS_LOG_WARN, and ns3::LteSpectrumPhy::UpdateSinrPerceived().
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 140 of file lte-sinr-chunk-processor.cc.
References ns3::Time::GetSeconds(), ns3::SpectrumValue::GetSpectrumModel(), m_sumSinr, m_totDuration, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 131 of file lte-sinr-chunk-processor.cc.
References m_sumSinr, m_totDuration, ns3::MicroSeconds(), and NS_LOG_FUNCTION.
Definition at line 102 of file lte-sinr-chunk-processor.h.
Referenced by End(), and LteDataSinrChunkProcessor().
|
private |
Definition at line 101 of file lte-sinr-chunk-processor.h.
Referenced by End(), and LteDataSinrChunkProcessor().
|
private |
Definition at line 99 of file lte-sinr-chunk-processor.h.
Referenced by End(), EvaluateSinrChunk(), and Start().
|
private |
Definition at line 100 of file lte-sinr-chunk-processor.h.
Referenced by End(), EvaluateSinrChunk(), and Start().