X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fdu_app_mac_inf.c;h=6a45251d6173ae582d730bef7ed8b8e03392ac08;hb=43f9a063a851c5318a609e9966cdc0b30f0abaf5;hp=bb148931477a9467860d4d1b37c1453305cb891e;hpb=ef711b0830aedde36f4a1beceed146d08e77ce58;p=o-du%2Fl2.git diff --git a/src/cm/du_app_mac_inf.c b/src/cm/du_app_mac_inf.c index bb1489314..6a45251d6 100644 --- a/src/cm/du_app_mac_inf.c +++ b/src/cm/du_app_mac_inf.c @@ -53,7 +53,7 @@ * RFAILED - failure * ***************************************************************************/ -S16 packMacCellCfg(Pst *pst, MacCellCfg *macCellCfg) +U16 packMacCellCfg(Pst *pst, MacCellCfg *macCellCfg) { if(pst->selector == DU_SELECTOR_LC) { @@ -72,6 +72,7 @@ S16 packMacCellCfg(Pst *pst, MacCellCfg *macCellCfg) /* pack the address of the structure */ CMCHKPK(cmPkPtr,(PTR)macCellCfg, mBuf); + DU_LOG("\nDU-APP : MAC CELL config sent"); RETVALUE(SPstTsk(pst,mBuf)); } } @@ -123,7 +124,7 @@ void unpackDuMacCellCfg( * * @details * - * Function : cmPackMacCellCfgCfm + * Function : packMacCellCfgCfm * * Functionality: * packs the transaction ID @@ -134,7 +135,7 @@ void unpackDuMacCellCfg( * RFAILED - failure * ***************************************************************************/ -U16 cmPackMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm) +U16 packMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm) { if(pst->selector == DU_SELECTOR_LC) { @@ -154,6 +155,7 @@ U16 cmPackMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm) /* only LC is supported */ return RFAILED; } + return ROK; } /************************************************************************** @@ -173,7 +175,7 @@ U16 cmPackMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm) * RFAILED - failure * ***************************************************************************/ -S16 unpackMacCellCfgCfm( +U16 unpackMacCellCfgCfm( DuMacCellCfgCfm func, Pst *pst, Buffer *mBuf) @@ -191,6 +193,7 @@ S16 unpackMacCellCfgCfm( { /* only loose coupling is suported */ } + return ROK; } /**********************************************************************