X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_tom.c;h=fae39dd43e280719ec4a4d743d79d4ed0a50170e;hb=1931d49496d91723b7c54c63db50ff4ee8ff03b6;hp=f18947bef65d5463149cf753403bd7e03dd17f33;hpb=18376996c17ece8306c1fe9539a00010bea607d5;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_tom.c b/src/5gnrmac/rg_tom.c index f18947bef..fae39dd43 100755 --- a/src/5gnrmac/rg_tom.c +++ b/src/5gnrmac/rg_tom.c @@ -36,6 +36,7 @@ static int RLOG_MODULE_ID=4096; invoked by PHY towards MAC */ /* header include files -- defines (.h) */ +#include #include "envopt.h" /* environment options */ #include "envdep.h" /* environment dependent */ #include "envind.h" /* environment independent */ @@ -84,6 +85,9 @@ invoked by PHY towards MAC #include "ss_rbuf.x" #endif +uint16_t handleDlTtiReq(SlotIndInfo currTimingInfo); +uint16_t handleUlTtiReq(SlotIndInfo currTimingInfo); + /* ADD Changes for Downlink UE Timing Optimization */ #ifndef LTEMAC_DLUE_TMGOPTMZ PRIVATE S16 rgTOMUtlProcDlSf ARGS(( RgDlSf *dlSf, RgCellCb *cellCb, @@ -613,14 +617,12 @@ SlotIndInfo slotInd } #endif - CmLteTimingInfo timingInfo; - RGADDTOCRNTTIME(cellCb->crntTime, timingInfo, TFU_DELTA); /* Trigger for DL TTI REQ */ - handleDlTtiReq(&timingInfo); + handleDlTtiReq(slotInd); /* Trigger for UL TTI REQ */ - handleUlTtiReq(&timingInfo); + handleUlTtiReq(slotInd); dlSf = &cellCb->subFrms[(slotInd.slot % RG_NUM_SUB_FRAMES)];