[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-448]RACH resource release at target DU and...
[o-du/l2.git] / src / cm / mac_sch_interface.c
index b6dc192..ec64f29 100644 (file)
@@ -415,6 +415,36 @@ uint8_t packSchRachRsrcRsp(Pst *pst, SchRachRsrcRsp *schRachRsrcRsp)
    return ROK;
 }
 
+/*******************************************************************
+ *
+ * @brief Pack and Send RACH resource Release from MAC to SCH
+ *
+ * @details
+ *
+ *    Function : packMacSchRachRsrcRel
+ *
+ *    Functionality:
+ *       Pack and Send RACH resouece Release from MAC to SCH
+ *
+ * @params[in] Post structure
+ *             RACH resource release
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t packMacSchRachRsrcRel(Pst *pst, SchRachRsrcRel *schRachRsrcRel)
+{
+   if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC))
+   {   
+      /* TODO */
+   }   
+   else
+   {   
+      return RFAILED; 
+   }   
+   return ROK;
+}
+
 /*******************************************************************
 *
 * @brief Pack and Send UE Delete Request from MAC to SCH
@@ -637,6 +667,24 @@ uint8_t packMacSchPagingInd(Pst *pst,  SchPageInd *pageInd)
    return ROK;
 }
 
+/**
+ * @brief function to pack DL Paging allocation message 
+ *        from MAC to SCH
+ *
+ * @details
+ *
+ *     Function : packSchMacDlPageAlloc 
+ *     
+ *     
+ *  @param[in]  Pst *pst, the post structure     
+ *  @param[in]  DlPageAlloc *dlPageAlloc
+ *  @return  S16
+ *      -# ROK
+ **/
+uint8_t packSchMacDlPageAlloc(Pst *pst, DlPageAlloc *dlPageAlloc)
+{
+   return ROK;
+}
 /**********************************************************************
   End of file
  **********************************************************************/