use NR type1 RIV function helper

This commit is contained in:
sauka 2021-11-19 14:54:58 +02:00 committed by Andre Puschmann
parent 9b24867bc4
commit d5040540fb
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ int main(int argc, char** argv)
ERROR("incorrect PDSCH start symbol or length provided");
return clean_exit(ret);
}
uint32_t sliv = srsran_sliv_from_s_and_l(SRSRAN_NSYMB_PER_SLOT_NR, pdsch_time_ra_start, pdsch_time_ra_length);
uint32_t sliv = srsran_ra_nr_type1_riv(SRSRAN_NSYMB_PER_SLOT_NR, pdsch_time_ra_start, pdsch_time_ra_length);
pdsch_hl_cfg.nof_dedicated_time_ra = 1;
pdsch_hl_cfg.dedicated_time_ra[0].mapping_type = srsran_sch_mapping_type_A;