X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_common.c;h=1ecd83233b91058983d38d6f68b893f655dea07e;hb=8bd856d0debe02bb5cc741a00c51cefcec982a15;hp=d1e5bdb90a62f4df2b3477eb71a1a8d963c7e05d;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_common.c b/src/5gnrsch/sch_common.c index d1e5bdb90..1ecd83233 100644 --- a/src/5gnrsch/sch_common.c +++ b/src/5gnrsch/sch_common.c @@ -43,10 +43,10 @@ File: sch_common.c #include "sch.h" #include "sch_utils.h" -extern SchCb schCb[SCH_MAX_INST]; -extern uint16_t prachCfgIdxTable[MAX_PRACH_CONFIG_IDX][8]; -extern uint16_t numRbForPrachTable[MAX_RACH_NUM_RB_IDX][5]; -extern uint8_t pucchResourceSet[MAX_PUCCH_RES_SET_IDX][4]; +SchCb schCb[SCH_MAX_INST]; +uint16_t prachCfgIdxTable[MAX_PRACH_CONFIG_IDX][8]; +uint16_t numRbForPrachTable[MAX_RACH_NUM_RB_IDX][5]; +uint8_t pucchResourceSet[MAX_PUCCH_RES_SET_IDX][4]; SchMacUlSchInfoFunc schMacUlSchInfoOpts[] = { @@ -375,7 +375,7 @@ uint8_t schDlRsrcAllocMsg4(DlMsgAlloc *msg4Alloc, SchCellCb *cell, uint16_t slot } /* calculate the PRBs */ - schAllocFreqDomRscType0(((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); + freqDomRscAllocType0(((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); /* fill BWP */ bwp->freqAlloc.numPrb = initialBwp->bwp.freqAlloc.numPrb;