Commit b2e9a394 authored by francescomani's avatar francescomani

bugfix in ue sib1 scheduling

parent cb97ebcf
...@@ -152,21 +152,21 @@ int8_t nr_ue_decode_mib(module_id_t module_id, ...@@ -152,21 +152,21 @@ int8_t nr_ue_decode_mib(module_id_t module_id,
uint32_t band; uint32_t band;
uint16_t ssb_start_symbol; uint16_t ssb_start_symbol;
if ((get_softmodem_params()->sa == 1) && (mac->common_configuration_complete == 0)) { if (get_softmodem_params()->sa == 1) {
scs_ssb = get_softmodem_params()->numerology; scs_ssb = get_softmodem_params()->numerology;
band = mac->nr_band; band = mac->nr_band;
ssb_start_symbol = get_ssb_start_symbol(band,scs_ssb,ssb_index); ssb_start_symbol = get_ssb_start_symbol(band,scs_ssb,ssb_index);
nr_ue_sib1_scheduler(module_id, if (mac->common_configuration_complete == 0)
cc_id, nr_ue_sib1_scheduler(module_id,
ssb_start_symbol, cc_id,
frame, ssb_start_symbol,
ssb_subcarrier_offset, frame,
ssb_index, ssb_subcarrier_offset,
ssb_start_subcarrier, ssb_index,
mac->frequency_range); ssb_start_subcarrier,
mac->frequency_range);
} }
else { else {
NR_ServingCellConfigCommon_t *scc = mac->scc; NR_ServingCellConfigCommon_t *scc = mac->scc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment