nr: fix failing unit tests

master
Francisco 3 years ago committed by Francisco Paisana
parent d5c235635f
commit 7e7f7b4c01

@ -365,7 +365,7 @@ int srsran_symbol_sz(uint32_t nof_prb)
return 768; return 768;
} else if (nof_prb <= 79) { } else if (nof_prb <= 79) {
return 1024; return 1024;
} else if (nof_prb <= 106) { } else if (nof_prb <= 110) {
return 1536; return 1536;
} else { } else {
return SRSRAN_ERROR; return SRSRAN_ERROR;

@ -1208,7 +1208,7 @@ int set_derived_args(all_args_t* args_, rrc_cfg_t* rrc_cfg_, phy_cfg_t* phy_cfg_
SRSENB_MAX_UES); SRSENB_MAX_UES);
// Check for a forced DL EARFCN or frequency (only valid for a single cell config (Xico's favorite feature)) // Check for a forced DL EARFCN or frequency (only valid for a single cell config (Xico's favorite feature))
if (rrc_cfg_->cell_list.size() > 1) { if (rrc_cfg_->cell_list.size() > 0) {
if (rrc_cfg_->cell_list.size() == 1) { if (rrc_cfg_->cell_list.size() == 1) {
auto& cfg = rrc_cfg_->cell_list.at(0); auto& cfg = rrc_cfg_->cell_list.at(0);
if (args_->enb.dl_earfcn > 0 and args_->enb.dl_earfcn != cfg.dl_earfcn) { if (args_->enb.dl_earfcn > 0 and args_->enb.dl_earfcn != cfg.dl_earfcn) {

Loading…
Cancel
Save