rrc: set default number of HARQ processes if option not present in serving_cell_cfg

master
Ismael 2 years ago committed by Ismael Gomez
parent e7272fd2ae
commit 53eb21d745

@ -74,8 +74,7 @@ bool make_mac_dl_harq_cfg_nr_t(const pdsch_serving_cell_cfg_s& asn1_type, dl_har
if (asn1_type.nrof_harq_processes_for_pdsch_present) { if (asn1_type.nrof_harq_processes_for_pdsch_present) {
dl_harq_cfg_nr.nof_procs = asn1_type.nrof_harq_processes_for_pdsch.to_number(); dl_harq_cfg_nr.nof_procs = asn1_type.nrof_harq_processes_for_pdsch.to_number();
} else { } else {
asn1::log_warning("Option nrof_harq_processes_for_pdsch not present"); dl_harq_cfg_nr.nof_procs = 8;
return false;
} }
*out_dl_harq_cfg_nr = dl_harq_cfg_nr; *out_dl_harq_cfg_nr = dl_harq_cfg_nr;
return true; return true;

Loading…
Cancel
Save