5#include "nr-mimo-chunk-processor.h"
12NS_LOG_COMPONENT_DEFINE(
"NrMimoChunkProcessor");
17 NS_LOG_FUNCTION(
this);
18 m_sinrChunksCbs.push_back(cb);
24 NS_LOG_FUNCTION(
this);
25 m_signalChunksCbs.push_back(cb);
31 NS_LOG_FUNCTION(
this);
32 m_mimoSinrChunks.clear();
33 m_mimoSignalChunks.clear();
39 NS_LOG_FUNCTION(
this);
40 m_mimoSinrChunks.push_back(mimoSinr);
46 NS_LOG_FUNCTION(
this);
47 m_mimoSignalChunks.push_back(mimoSignal);
53 NS_LOG_FUNCTION(
this);
56 for (
const auto& cb : m_sinrChunksCbs)
58 (cb)(m_mimoSinrChunks);
61 for (
const auto& cb : m_signalChunksCbs)
63 (cb)(m_mimoSignalChunks);
void AddCallback(MimoSinrChunksCb cb)
Add a callback for processing received SINR values.
void EvaluateChunk(const MimoSinrChunk &mimoSinr)
Store the current MIMO SINR and duration.
void Start()
Start processing a transmission, clear internal variables.
void End()
Finish calculation and inform interested objects about calculated values.
MIMO signal information used to compute CQI feedback including rank and precoding matrix.
MIMO SINR used to compute the TBLER of a data transmission.