|
| Phy (const libconfig::Config &cfg, get_samples_t cb, uint8_t cs_nof_prb, int8_t override_nof_prb, uint8_t rx_channels) |
| Default constructor. More...
|
|
virtual | ~Phy () |
| Default destructor. More...
|
|
bool | init () |
| Initialize the underlying components. More...
|
|
bool | cell_search () |
| Search for a cell. More...
|
|
bool | synchronize_subframe () |
| Synchronizes PSS/SSS and tries to deocode the MIB. More...
|
|
bool | get_next_frame (cf_t **buffer, uint32_t size) |
| Get the sample data for the next subframe. More...
|
|
srsran_cell_t | cell () |
| Get the current cell (with params adjusted for MBSFN) More...
|
|
unsigned | nr_prb () |
| Get the current number of PRB. More...
|
|
uint32_t | tti () |
| Get the current subframe TTI. More...
|
|
float | cfo () |
| Get the current CFO value. More...
|
|
void | set_cfo_from_channel_estimation (float cfo) |
| Set the CFO value from channel estimation. More...
|
|
void | set_mch_scheduling_info (const srsran::sib13_t &sib13) |
| Set the values received in SIB13. More...
|
|
void | set_mbsfn_config (const srsran::mcch_msg_t &mcch) |
| Set MBSFN configuration values. More...
|
|
void | reset () |
| Clear configuration values. More...
|
|
bool | mcch_configured () |
| Return true if MCCH has been configured. More...
|
|
uint8_t | mbsfn_area_id () |
| Returns the current MBSFN area ID. More...
|
|
srsran_mbsfn_cfg_t | mbsfn_config_for_tti (uint32_t tti, unsigned &area) |
| Returns the MBSFN configuration (MCS, etc) for the subframe with the passed TTI. More...
|
|
void | set_decode_mcch (bool d) |
| Enable MCCH decoding. More...
|
|
uint8_t | nof_mbsfn_prb () |
| Get number of PRB in MBSFN/PMCH. More...
|
|
void | set_nof_mbsfn_prb (uint8_t prb) |
| Override number of PRB in MBSFN/PMCH. More...
|
|
void | set_cell () |
|
bool | is_cas_subframe (unsigned tti) |
|
bool | is_mbsfn_subframe (unsigned tti) |
|
void | set_ue_sync_cfo_loop_bw_pss (float bw) |
| Set the factor for the PSS loopback. More...
|
|
float | get_ue_sync_cfo_loop_bw_pss () |
|
void | set_ue_sync_find_cfo_pss_enable (bool enable) |
| Enables or disables the CFO estimation from the PSS in the finding stage. More...
|
|
bool | get_ue_sync_find_cfo_pss_enable () |
|
void | set_ue_sync_track_cfo_pss_enable (bool enable) |
| Enables or disables the CFO estimation from the PSS in the tracking stage. More...
|
|
bool | get_ue_sync_track_cfo_pss_enable () |
|
void | set_ue_sync_find_cfo_correct_enable (bool enable) |
| Enables the CFO correction while finding the synchronization from previous estimations. More...
|
|
bool | get_ue_sync_find_cfo_correct_enable () |
|
void | set_ue_sync_track_cfo_correct_enable (bool enable) |
| Enables the CFO correction while tracking the synchronization from previous estimations. More...
|
|
bool | get_ue_sync_track_cfo_correct_enable () |
|
void | set_ue_sync_track_cfo_ema (float ema) |
| Sets the ema alpha value used for the tracking of the CFO in the trackin sync object, both in CP and PSS CFO estimation. More...
|
|
float | get_ue_sync_track_cfo_ema () |
|
void | set_ue_sync_find_cfo_ema (float ema) |
| Sets the ema alpha value used for the tracking of the CFO in the trackin sync object, both in CP and PSS CFO estimation. More...
|
|
float | get_ue_sync_find_cfo_ema () |
|
void | set_ue_sync_track_sfo_ema (float ema) |
| Sets the ema alpha value used for the tracking of the SFO in ue_sync in the function track_peak_ok. More...
|
|
float | get_ue_sync_track_sfo_ema () |
|
void | set_ue_sync_pss_cfo_ema_find (float ema) |
| Sets the weight factor alpha for the exponential moving average of the PSS correlation output
More...
|
|
float | get_ue_sync_pss_cfo_ema_find () |
|
void | set_ue_sync_pss_cfo_ema_track (float ema) |
| Sets the weight factor alpha for the exponential moving average of the PSS correlation output
More...
|
|
float | get_ue_sync_pss_cfo_ema_track () |
|
void | set_ue_sync_threshold_track (float threshold) |
| Sets the threshold of the peak found while tracking for synchronization. More...
|
|
float | get_ue_sync_threshold_track () |
|
void | set_ue_sync_threshold_find (float threshold) |
| Sets the threshold of the peak found while searching for synchronization. More...
|
|
float | get_ue_sync_threshold_find () |
|
const std::vector< mch_info_t > & | mch_info () |
|
void | set_dest_for_lcid (uint32_t mch_idx, int lcid, std::string dest) |
|
SubcarrierSpacing | mbsfn_subcarrier_spacing () |
|
float | mbsfn_subcarrier_spacing_khz () |
|
srsran::mcch_msg_t & | mcch () |
|
The PHY component.
Handles synchronisation and is the central hub for lower level processing
Definition at line 42 of file Phy.h.