Merge "DL throughput calculation for UM [Issue-ID: ODUHIGH-319]"
[o-du/l2.git] / src / cm / mac_sch_interface.c
index 7076c2c..430e23a 100644 (file)
@@ -354,6 +354,7 @@ uint8_t packMacSchModUeConfigReq(Pst *pst, SchUeCfg  *ueCfg)
    }
    return ROK;
 }
+
 /*******************************************************************
 *
 * @brief Pack and Send UE Delete Request from MAC to SCH
@@ -382,6 +383,7 @@ uint8_t packMacSchUeDeleteReq(Pst *pst,  SchUeDelete *schUeDel)
     }
     return ROK;
 }
+
 /*******************************************************************
 *
 * @brief Packs and send UE delete response
@@ -405,6 +407,57 @@ uint8_t packSchUeDeleteRsp(Pst *pst, SchUeDeleteRsp  *delRsp)
    return ROK;
 }
 
+/*******************************************************************
+ *
+ * @brief Pack and Send Cell Delete Request from MAC to SCH
+ *
+ * @details
+ *
+ *    Function : packMacSchCellDeleteReq
+ *
+ *    Functionality:
+ *       Pack and Send  Cell Delete Request from MAC to SCH
+ *
+ * @params[in] Pst *pst,  SchCellDelete *schCellDelete
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t packMacSchCellDeleteReq(Pst *pst,  SchCellDelete *schCellDelete)
+{
+   if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC))
+   {
+      /* TODO */
+   }
+   else
+   {
+      return RFAILED;
+   }
+   return ROK;
+}
+
+/*******************************************************************
+ *
+ * @brief Packs and send CELL delete response
+ *
+ * @details
+ *
+ *    Function : packSchCellDeleteRsp
+ *
+ *    Functionality:
+ * * @params[in] Post structure, SchCellDeleteRsp schCellDeleteRsp
+ *
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ *
+ * ****************************************************************/
+
+uint8_t packSchCellDeleteRsp(Pst *pst, SchCellDeleteRsp  *schCellDeleteRsp)
+{
+   return ROK;
+}
+
 /**********************************************************************
   End of file
  **********************************************************************/