From d69aa55a424d7f0059a13c38e13da90fa52daf1a Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 3 Apr 2020 21:18:53 +0200 Subject: [PATCH] enb: don't exit enb if rr.cfg for 6 PRBs isn't correct we agreed to print the error message but still patch the values to work for 6 PRBs. Since there is only one option there is not configuration ambiguity. --- srsenb/src/enb_cfg_parser.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/srsenb/src/enb_cfg_parser.cc b/srsenb/src/enb_cfg_parser.cc index cd6147af1..0eccac1f2 100644 --- a/srsenb/src/enb_cfg_parser.cc +++ b/srsenb/src/enb_cfg_parser.cc @@ -1020,7 +1020,6 @@ int set_derived_args(all_args_t* args_, rrc_cfg_t* rrc_cfg_, phy_cfg_t* phy_cfg_ // patch PRACH config for PHY and in RRC for SIB2 rrc_cfg_->sibs[1].sib2().rr_cfg_common.prach_cfg.prach_cfg_info.prach_freq_offset = 0; phy_cfg_->prach_cnfg.prach_cfg_info.prach_freq_offset = 0; - return SRSLTE_ERROR; } if (nrb_pucch > 1) { fprintf(stderr, @@ -1031,7 +1030,6 @@ int set_derived_args(all_args_t* args_, rrc_cfg_t* rrc_cfg_, phy_cfg_t* phy_cfg_ rrc_cfg_->sr_cfg.nof_prb); rrc_cfg_->cqi_cfg.nof_prb = 1; rrc_cfg_->sr_cfg.nof_prb = 1; - return SRSLTE_ERROR; } }