Cleanup of dutocurrc container
[o-du/l2.git] / src / cm / mac_sch_interface.c
index 2b24499..d870a00 100644 (file)
@@ -1,4 +1,5 @@
 /* header include files (.h) */
+#include "stdbool.h"
 #include "envopt.h"        /* environment options */
 #include "envdep.h"        /* environment dependent */
 #include "envind.h"        /* environment independent */
@@ -115,6 +116,35 @@ int packMacSchCrcInd(Pst *pst, CrcIndInfo *crcInd)
    return ROK;
 }
 
+/*******************************************************************
+ *
+ * @brief Pack and Send DL RLC BO Info from MAC to SCH
+ *
+ * @details
+ *
+ *    Function : packMacSchDlRlcBoInfo
+ *
+ *    Functionality:
+ *       Pack and Send L RLC BO Info from MAC to SCH
+ *
+ * @params[in] 
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBOInfo *dlBoInfo)
+{
+   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
@@ -125,11 +155,11 @@ int packMacSchCrcInd(Pst *pst, CrcIndInfo *crcInd)
  *     
  *     
  *  @param[in]  Pst *pst, the post structure     
- *  @param[in]  DlAlloc  *dlAlloc
+ *  @param[in]  DlSchedInfo  *dlSchedInfo
  *  @return  S16
  *      -# ROK
  **/
-int packSchMacDlAlloc(Pst *pst, DlAlloc  *dlAlloc)
+int packSchMacDlAlloc(Pst *pst, DlSchedInfo  *dlSchedInfo)
 {
        return ROK;
 }
@@ -144,11 +174,11 @@ int packSchMacDlAlloc(Pst *pst, DlAlloc  *dlAlloc)
  *     
  *     
  *  @param[in]  Pst *pst, the post structure     
- *  @param[in]  *ulSchInfo, UlSchInfo
+ *  @param[in]  UlSchedInfo *ulSchedInfo
  *  @return  S16
  *      -# ROK
  **/
-int packSchMacUlSchInfo(Pst *pst, UlSchInfo *ulSchInfo)
+int packSchMacUlSchInfo(Pst *pst, UlSchedInfo *ulSchedInfo)
 {
        return ROK;
 }