#include "rgr.h" /* LRG Interface defines */
#include "rg.h" /* MAC defines */
#include "rg_err.h" /* MAC error defines */
+#include "du_log.h"
/* header/extern include files (.x) */
#include "gen.x" /* general */
Pst *cfmPst
));
-extern U16 cmPackMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm);
+extern U16 packMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm);
-packMacCellCfgCfm packMacCellCfmOpts[] =
+packMacCellCfgConfirm packMacCellCfmOpts[] =
{
- cmPackMacCellCfgCfm, /* packing for loosely coupled */
+ packMacCellCfgCfm, /* packing for loosely coupled */
duHandleMacCellCfgCfm, /* packing for tightly coupled */
- cmPackMacCellCfgCfm, /* packing for light weight loosly coupled */
+ packMacCellCfgCfm, /* packing for light weight loosly coupled */
};
\f
/**
Inst inst = pst->dstInst;
cellCb = rgCb[inst].cell;
+ MAC_ALLOC(cellCb,sizeof(RgCellCb));
+
+ if(cellCb == NULLP)
+ {
+ DU_LOG("\nMAC : cellCb is NULL at handling of macCellCfg\n");
+ return RFAILED;
+ }
+
memcpy(&cellCb->macCellCfg,macCellCfg,sizeof(MacCellCfg));
macCellCfgFillCfmPst(pst,&cnfPst);