+
+
+/*******************************************************************
+ *
+ * @brief Handles slot indication at SCH
+ *
+ * @details
+ *
+ * Function : schCalcSlotValues
+ *
+ * Functionality:
+ * Handles TTI indication received from PHY
+ *
+ * @params[in]
+ * @return ROK - success
+ * RFAILED - failure
+ *
+ * ****************************************************************/
+void schCalcSlotValues(SlotIndInfo slotInd, SchSlotValue *schSlotValue)
+{
+ /****************************************************************
+ * PHY_DELTA - the physical layer delta *
+ * SCHED_DELTA - scheduler schedules one slot ahead *
+ * BO_DELTA - this delay is considered for BO response and *
+ * RLC buffer packet to received at MAC *
+ * lower-mac (FAPI filling) will be working on PHY_DELTA *
+ * brdcast scheduler will working on PHY_DELTA + SCHED_DELTA *
+ * RAR scheduler will working on PHY_DELTA + SCHED_DELTA *
+ * msg4 scheduler will working on PHY_DELTA + SCHED_DELTA *
+ * dedicated DL msg scheduler will working *
+ * on PHY_DELTA + SCHED_DELTA + BO_DELTA *
+ ****************************************************************/
+
+ ADD_DELTA_TO_TIME(slotInd,schSlotValue->currentTime,PHY_DELTA);
+ ADD_DELTA_TO_TIME(slotInd,schSlotValue->broadcastTime,PHY_DELTA+SCHED_DELTA);
+ ADD_DELTA_TO_TIME(slotInd,schSlotValue->rarTime,PHY_DELTA+SCHED_DELTA);
+ ADD_DELTA_TO_TIME(slotInd,schSlotValue->msg4Time,PHY_DELTA+SCHED_DELTA);
+ ADD_DELTA_TO_TIME(slotInd,schSlotValue->dlMsgTime,PHY_DELTA+SCHED_DELTA+BO_DELTA);
+}
+