));
extern U16 cmPackLcMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm);
-extern U16 cmPackTcMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm);
extern U16 cmPackLwlcMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm);
packMacCellCfgCfm packMacCellCfmMt[] =
{
cmPackLcMacCellCfgCfm, /* packing for loosely coupled */
- cmPackTcMacCellCfgCfm, /* packing for tightly coupled */
+ duHandleMacCellCfgCfm, /* packing for tightly coupled */
cmPackLwlcMacCellCfgCfm, /* packing for light weight loosly coupled */
};
\f
*
* @details
*
- * Function : unpackMacCellCfgReq
+ * Function : handleMacCellCfgReq
*
* This function handles the gNB and cell configuration
* request received from DU APP.
* @return S16
* -# ROK
**/
-S16 unpackMacCellCfgReq
+S16 handleMacCellCfgReq
(
Pst *pst,
MacCellCfg *macCellCfg
{
U16 ret = ROK;
MacCellCfgCfm macCellCfgCfm;
+ RgCellCb *cellCb;
Pst cnfPst;
Inst inst = pst->dstInst;
- memcpy(&rgCb[inst].macCellCfg,macCellCfg,sizeof(MacCellCfg));
+ cellCb = rgCb[inst].cell;
+ memcpy(&cellCb->macCellCfg,macCellCfg,sizeof(MacCellCfg));
macCellCfgFillCfmPst(pst,&cnfPst);
//ret = cmPackLcMacCellCfgCfm(&cnfPst,&macCellCfgCfm);
ret = (*packMacCellCfmMt[cnfPst.selector])(&cnfPst,&macCellCfgCfm);
return ret;
-} /* end of unpackMacCellCfgReq */
+} /* end of handleMacCellCfgReq */
\f
/**********************************************************************