X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_crc.c;h=fe17fdd62837f079a8e6dbd975166ff2e6b89f67;hb=6636207100c598cd70537d177670ef131e263931;hp=4aa9f81c1c0fcf92108af8b099bcf130fab1de99;hpb=df93fa14853abfc47879088f095dbba96bac3569;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_crc.c b/src/5gnrsch/sch_crc.c index 4aa9f81c1..fe17fdd62 100644 --- a/src/5gnrsch/sch_crc.c +++ b/src/5gnrsch/sch_crc.c @@ -31,7 +31,7 @@ * * @details * - * Function : schProcessCrcInd + * Function : SchProcCrcInd * * This function process CRC indication * @@ -41,13 +41,14 @@ * -# ROK * -# RFAILED **/ -uint8_t schProcessCrcInd(CrcIndInfo *crcInd, Inst schInst) +uint8_t SchProcCrcInd(Pst *pst, CrcIndInfo *crcInd) { - SchCellCb *cell = schCb[schInst].cells[schInst]; uint16_t count=0; uint8_t ueId=0; SchUlHqProcCb *hqP = NULLP; - + Inst schInst = pst->dstInst - SCH_INST_START; + SchCellCb *cell = schCb[schInst].cells[schInst]; + while(count numCrcInd) { GET_UE_ID(crcInd->crnti, ueId); @@ -58,7 +59,7 @@ uint8_t schProcessCrcInd(CrcIndInfo *crcInd, Inst schInst) /* failure case*/ if (cell->raCb[ueId-1].msg3HqProc.tbInfo.txCntr < cell->cellCfg.schRachCfg.maxMsg3Tx) { - addUeToBeScheduled(cell, ueId); + cell->api->SchCrcInd(cell, ueId); cell->raCb[ueId - 1].retxMsg3HqProc = &cell->raCb[ueId - 1].msg3HqProc; } else @@ -112,4 +113,4 @@ uint8_t schProcessCrcInd(CrcIndInfo *crcInd, Inst schInst) } /********************************************************************** End of file - **********************************************************************/ \ No newline at end of file + **********************************************************************/