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.
master
Andre Puschmann 5 years ago
parent 4f8f6bf90c
commit d69aa55a42

@ -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 // 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; 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; phy_cfg_->prach_cnfg.prach_cfg_info.prach_freq_offset = 0;
return SRSLTE_ERROR;
} }
if (nrb_pucch > 1) { if (nrb_pucch > 1) {
fprintf(stderr, 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_->sr_cfg.nof_prb);
rrc_cfg_->cqi_cfg.nof_prb = 1; rrc_cfg_->cqi_cfg.nof_prb = 1;
rrc_cfg_->sr_cfg.nof_prb = 1; rrc_cfg_->sr_cfg.nof_prb = 1;
return SRSLTE_ERROR;
} }
} }

Loading…
Cancel
Save