X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_utils.h;h=09ac4c9382b23f78308df124c3980e6b7835e291;hb=d75d1b078091768f45b83f2a745a25917e03b39d;hp=6ac5c9ff5faa1d39090f31dc7963754c8a5b208d;hpb=ed6746a6081339633c3baa314251fcc11b98ce10;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_utils.h b/src/5gnrsch/sch_utils.h index 6ac5c9ff5..09ac4c938 100644 --- a/src/5gnrsch/sch_utils.h +++ b/src/5gnrsch/sch_utils.h @@ -88,13 +88,15 @@ int8_t searchSpaceIdxTable[MAX_SEARCH_SPACE_INDEX][4]; /* functions declarations */ void freqDomRscAllocType0(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDomain); -uint16_t schCalcTbSize(uint16_t payLoadSize); +uint16_t schCalcTbSize(uint32_t payLoadSize); uint16_t schCalcNumPrb(uint16_t tbSize, uint16_t mcs, uint8_t numSymbols); uint16_t schCalcTbSizeFromNPrb(uint16_t numPrb, uint16_t mcs, uint8_t numSymbols); SchUeCb* schGetUeCb(SchCellCb *cellCb, uint16_t crnti); void schInitUlSlot(SchUlSlotInfo *schUlSlotInfo); void schInitDlSlot(SchDlSlotInfo *schDlSlotInfo); - +#ifdef NR_TDD +SlotConfig schGetSlotFrmt(uint16_t slot, uint32_t slotBitMap); +#endif /********************************************************************** End of file