X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.c;h=430e23a8316197cc2e9202e8491d7cc2817ca181;hb=069f38324ca51afc183962404383802ae8a5553c;hp=7076c2cce12ec81188783a41d66523a5b721185f;hpb=05997c50c829f05baa575142f73500f1d7283233;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index 7076c2cce..430e23a83 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -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 **********************************************************************/