|
OBECA Receive Process
|
Frame processor for CAS subframes. More...
#include <CasFrameProcessor.h>
Public Member Functions | |
| CasFrameProcessor (const libconfig::Config &cfg, Phy &phy, srslte::rlc &rlc, RestHandler &rest) | |
| Default constructor. More... | |
| virtual | ~CasFrameProcessor () |
| Default destructor. | |
| bool | init () |
| Initialize signal- and softbuffers, init all underlying components. More... | |
| bool | process (uint32_t tti) |
| Process the sample data in the signal buffer. More... | |
| void | set_cell (srslte_cell_t cell) |
| Set the parameters for the cell (Nof PRB, etc). More... | |
| cf_t ** | rx_buffer () |
| Get a handle of the signal buffer to store samples for processing in. | |
| uint32_t | rx_buffer_size () |
| Size of the signal buffer. | |
| std::vector< uint8_t > | ce_values () |
| Get the CE values (time domain) for displaying the spectrum of the received signal. | |
| std::vector< uint8_t > | pdsch_data () |
| Get the constellation diagram data (I/Q data of the subcarriers after CE) | |
| float | cinr_db () |
| Get the CINR estimate (in dB) | |
Frame processor for CAS subframes.
Handles the complete processing chain for a CAS subframe: calls FFT and channel estimation, decodes PCFICH and PDCCH and gets DCI(s), decodes PDSCH and passes received PDUs to RLC.
Definition at line 38 of file CasFrameProcessor.h.
|
inline |
Default constructor.
| cfg | Config singleton reference |
| phy | PHY reference |
| rlc | RLC reference |
| rest | RESTful API handler reference |
Definition at line 48 of file CasFrameProcessor.h.
| auto CasFrameProcessor::init | ( | ) |
Initialize signal- and softbuffers, init all underlying components.
Must be called once before the first call to process().
Definition at line 24 of file CasFrameProcessor.cpp.
| auto CasFrameProcessor::process | ( | uint32_t | tti | ) |
Process the sample data in the signal buffer.
Data must already be present in the buffer obtained through the handle returnd by rx_buffer()
| tti | TTI of the subframe the data belongs to |
Definition at line 87 of file CasFrameProcessor.cpp.
| void CasFrameProcessor::set_cell | ( | srslte_cell_t | cell | ) |
Set the parameters for the cell (Nof PRB, etc).
| cell | The cell we're camping on |
Definition at line 81 of file CasFrameProcessor.cpp.
1.8.17