X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_mgr_main.c;h=76066dafe6bf2ef9ef2895f036018a112201c95f;hb=a31737d4988c5e02d4998c16973b1048fa2be9a4;hp=9846736ade189b8ca7a0527357fa3326d51a75c3;hpb=2324a199636bc2e127af6bb3beefef668b4f45d7;p=o-du%2Fl2.git diff --git a/src/du_app/du_mgr_main.c b/src/du_app/du_mgr_main.c index 9846736ad..76066dafe 100644 --- a/src/du_app/du_mgr_main.c +++ b/src/du_app/du_mgr_main.c @@ -30,6 +30,13 @@ #include "du_sctp.h" #include "du_egtp.h" +#ifdef O1_ENABLE + +#include "O1Interface.h" +#include "ConfigInterface.h" + +#endif + uint8_t rlcUlActvTsk (Pst *, Buffer *); uint8_t rlcUlActvInit (Ent, Inst, Region, Reason); uint8_t rlcDlActvTsk (Pst *, Buffer *); @@ -78,6 +85,52 @@ uint8_t duAppInit(SSTskId sysTskId) return ROK; } +#ifdef O1_ENABLE +/******************************************************************* + * + * @brief Bring the cell Up + * + * @details + * + * Function : bringCellUp + * + * Functionality: + * - Bring the cell Up when requested from OAM + * + * @params[in] Cell Id + * @return true - success + * false - failure + * + * ****************************************************************/ + +bool bringCellUp(uint16_t cellId) +{ + return true; +} + +/******************************************************************* + * + * @brief Bring the cell Down + * + * @details + * + * Function : bringCellDown + * + * Functionality: + * - Bring the cell Down when requested from OAM + * + * @params[in] Cell Id + * @return true - success + * false - failure + * + * ****************************************************************/ + +bool bringCellDown(uint16_t cellId) +{ + return true; +} +#endif + /******************************************************************* * * @brief Initializes EGTP @@ -434,6 +487,10 @@ uint8_t tst(void) { init_log(); +#ifdef O1_ENABLE + if(start_O1_module() != ROK) + return RFAILED; +#endif //Initialize TAPA layers if(duInit() != ROK) {