26 #include "srsran/srsran.h"
27 #include "srsran/rlc/rlc.h"
30 #include <libconfig.h++>
184 uint8_t*
_data[SRSRAN_MAX_CODEWORDS];
Frame processor for CAS subframes.
srsran_softbuffer_rx_t _softbuffer
cf_t ** get_rx_buffer_and_lock()
Get a handle of the signal buffer to store samples for processing in.
srsran_ue_dl_cfg_t _ue_dl_cfg
std::vector< uint8_t > ce_values()
Get the CE values (time domain) for displaying the spectrum of the received signal.
uint8_t get_filter_order()
uint8_t * _data[SRSRAN_MAX_CODEWORDS]
void set_noise_alg(srsran_chest_dl_noise_alg_t noise_alg)
Set the noise estimation algorithm used in the channel estimation stage.
void set_sync_error(bool enable)
Enables the estimation os synchronization error.
void set_cfo_estimate(bool enable)
Enables the estimation of the carrier frequency offset.
bool is_started()
Returns if the CasFrameProcessor is started or not.
virtual ~CasFrameProcessor()
Default destructor.
uint8_t get_estimator_alg()
uint32_t _signal_buffer_max_samples
bool init()
Initialize signal- and softbuffers, init all underlying components.
void set_estimator_alg(srsran_chest_dl_estimator_alg_t estimator_alg)
Set the method to estimate the channel estimates of the complete resource grid from the reference sym...
srsran_dl_sf_cfg_t _sf_cfg
void set_filter_coef(float filter_coef)
Set the coef for gauss filtering.
void set_cell(srsran_cell_t cell)
Set the parameters for the cell (Nof PRB, etc).
std::vector< uint8_t > pdsch_data()
Get the constellation diagram data (I/Q data of the subcarriers after CE)
uint32_t rx_buffer_size()
Size of the signal buffer.
void unlock()
Unlock the processor.
void set_filter_order(uint8_t filter_order)
Set the filter order used to filter the channel estimates.
void set_filter_type(srsran_chest_filter_t filter_type)
Set the filter type for chest.
cf_t * _signal_buffer_rx[SRSRAN_MAX_PORTS]
const libconfig::Config & _cfg
void set_evm_meas(bool enable)
Enables the computation of the error vector magnitude on the PDSCH.
float cinr_db()
Get the CINR estimate (in dB)
uint8_t get_filter_type()
bool process(uint32_t tti)
Process the sample data in the signal buffer.
CasFrameProcessor(const libconfig::Config &cfg, Phy &phy, srsran::rlc &rlc, RestHandler &rest, unsigned rx_channels)
Default constructor.
static Config cfg
Global configuration object.