#include "common_def.h"
#include "lrg.h"
#include "lrg.x"
+#include "rgu.h"
+#include "rgu.x"
#include "du_app_mac_inf.h"
#include "mac_sch_interface.h"
#include "lwr_mac_upr_inf.h"
/* Function declarations */
extern uint16_t fillUlTtiReq(SlotIndInfo currTimingInfo);
extern uint16_t fillDlTtiReq(SlotIndInfo currTimingInfo);
+extern uint16_t fillUlDciReq(SlotIndInfo currTimingInfo);
/* function pointers for packing slot ind from mac to sch */
MacSchSlotIndFunc macSchSlotIndOpts[] =
{
packMacSchSlotInd,
- macSchSlotInd,
+ MacSchSlotInd,
packMacSchSlotInd
};
msg4Alloc = dlSchedInfo->msg4Alloc;
macCb.macCell[cellIdx]->macRaCb[0].msg4TbSize = msg4Alloc->msg4PdschCfg.codeword[0].tbSize;
}
+ if(dlSchedInfo->ulGrant != NULLP)
+ {
+ currDlSlot = &macCb.macCell[cellIdx]->\
+ dlSlot[dlSchedInfo->schSlotValue.ulDciTime.slot];
+ currDlSlot->dlInfo.ulGrant = dlSchedInfo->ulGrant;
+ }
}
return ROK;
}
/* Trigger for UL TTI REQ */
fillUlTtiReq(slotInd);
+
+ /* Trigger for UL DCI REQ */
+ fillUlDciReq(slotInd);
return ROK;
} /* macProcSlotInd */
DU_LOG("\nMAC : Slot Indication received");
/*starting Task*/
- SStartTask(&startTime, PID_MAC_TTI_IND);
+ ODU_START_TASK(&startTime, PID_MAC_TTI_IND);
/* send slot indication to scheduler */
ret = sendSlotIndMacToSch(slotInd);
}
/*stoping Task*/
- SStopTask(startTime, PID_MAC_TTI_IND);
+ ODU_STOP_TASK(startTime, PID_MAC_TTI_IND);
return ret;
} /* fapiMacSlotInd */