Rach Indication
[o-du/l2.git] / src / cm / mac_sch_interface.c
index a0a6147..1f6bfb4 100644 (file)
@@ -57,6 +57,18 @@ int packMacSchSlotInd(Pst *pst, SlotIndInfo *slotInd)
    RETVALUE(SPstTsk(pst,mBuf));
 }
 
+int packMacSchRachInd(Pst *pst, RachIndInfo *rachInd)
+{
+   if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC))
+   {
+      /* TODO */
+   }
+   else
+   {
+      return RFAILED;
+   }
+   return ROK;
+}
 /**
  * @brief function to pack DL Broadcast allocation message 
  *        from MAC to SCH
@@ -76,6 +88,25 @@ int packSchMacDlBrdcstAlloc(Pst *pst, DlBrdcstAlloc  *dlBrdcstAlloc)
        return ROK;
 }
 
+/**
+ * @brief function to pack UL Sch Info  message 
+ *        from SCH to MAC
+ *
+ * @details
+ *
+ *     Function : packSchMacUlSchInfo 
+ *     
+ *     
+ *  @param[in]  Pst *pst, the post structure     
+ *  @param[in]  *ulSchInfo, UlSchInfo
+ *  @return  S16
+ *      -# ROK
+ **/
+int packSchMacUlSchInfo(Pst *pst, UlSchInfo *ulSchInfo)
+{
+       return ROK;
+}
+
 /**
  * @brief function to pack cell cfg from MAC to SCH
  *