X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_rach.c;h=69d2a62dfb8ef68e73297f0af977979d30f00ceb;hb=134974ec70ab6e0501889e5d162a3b0c806c3bdc;hp=651808b39fcaa273e0849b7499bb8f6effe9f8c4;hpb=e006592159c0a16a4c2f24cc50f712ff9461a000;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_rach.c b/src/5gnrsch/sch_rach.c index 651808b39..69d2a62df 100644 --- a/src/5gnrsch/sch_rach.c +++ b/src/5gnrsch/sch_rach.c @@ -64,8 +64,6 @@ #include "sch_utils.h" extern SchCb schCb[SCH_MAX_INST]; -extern int8_t coresetIdxTable[MAX_CORESET_INDEX][4]; -extern int8_t searchSpaceIdxTable[MAX_SEARCH_SPACE_INDEX][4]; extern uint8_t puschDeltaTable[MAX_MU_PUSCH]; /** @@ -292,7 +290,7 @@ uint8_t schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t of } /* calculate the PRBs */ - freqDomResourceAlloc( ((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); + calculatePRB( ((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); /* fill the PDCCH PDU */ pdcch->pdcchBwpCfg.BWPSize = initialBwp->bwp.numPrb;