SRSUE: fix NR carrier PCI in metrics

master
Xavier Arteaga 4 years ago committed by Andre Puschmann
parent c8b03a20fb
commit 95dafcb413

@ -130,6 +130,12 @@ bool worker_pool::set_config(const srsran::phy_cfg_nr_t& cfg)
logger.info(
"Setting new PHY configuration ARFCN=%d, PCI=%d", cfg.carrier.absolute_frequency_point_a, cfg.carrier.pci);
// Set carrier information
info_metrics_t info = {};
info.pci = cfg.carrier.pci;
info.dl_earfcn = cfg.carrier.absolute_frequency_ssb;
phy_state.set_info_metrics(info);
// Best effort to convert NR carrier into LTE cell
srsran_cell_t cell = {};
int ret = srsran_carrier_to_cell(&phy_state.cfg.carrier, &cell);

Loading…
Cancel
Save