1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /********************************************************************20**
21 Name: LTE RLC - Configuration Manager file
25 Desc: It contains the following configuraiton primtives
38 *********************************************************************21*/
39 static const char* RLOG_MODULE_NAME="CFG";
40 static int RLOG_MODULE_ID=2048;
41 static int RLOG_FILE_ID=191;
44 @brief RLC Downlink Configuration Module
48 /* header (.h) include files */
49 #include "common_def.h"
51 #include "lkw.h" /* LKW defines */
52 #include "ckw.h" /* CKW defines */
53 #include "kwu.h" /* KWU defines */
54 #include "rgu.h" /* RGU defines */
55 #include "kw_err.h" /* RLC error options */
56 #include "kw_env.h" /* RLC environment options */
57 #include "kw.h" /* RLC defines */
61 /* extern (.x) include files */
62 #include "lkw.x" /* LKW */
63 #include "ckw.x" /* CKW */
64 #include "kwu.x" /* KWU */
65 #include "rgu.x" /* RGU */
70 #include "du_app_rlc_inf.h"
72 #define RLC_MODULE RLC_DBGMASK_CFG
73 /*Added for adding new Ue in onging L2 Meas*/
77 * @brief Handle modification of UE ID for L2 Meas data structs
80 * @param[in] ueId ue ID
87 static S16 rlcHdlMeasDlUeIdChg(RlcCb *gCb, uint8_t cellId,uint8_t oldUeId, uint8_t newUeId)
89 RlcL2MeasEvtCb *measEvtCb = NULLP;
90 RlcL2MeasCb *measCb = NULLP;
94 for(cntr = 0; cntr < LKW_MAX_L2MEAS; cntr++)
96 measEvtCb = &(gCb->u.dlCb->rlcL2Cb.rlcL2EvtCb[cntr]);
97 measCb = &(measEvtCb->measCb);
100 if(measCb->measType & LKW_L2MEAS_DL_IP )
103 for(ueIdx = 0; ueIdx < measCb->val.ipThMeas.numUes; ueIdx++)
105 if((measCb->val.ipThMeas.ueInfoLst[ueIdx].ueId) == oldUeId)
107 measCb->val.ipThMeas.ueInfoLst[ueIdx].ueId = newUeId;
118 * @brief Handler to delete an UE's L2 Meas ctxt
121 * @param[in] ueId ue ID
128 static S16 rlcDelFrmDlL2Meas(RlcCb *gCb, uint8_t cellId,uint8_t ueId)
130 RlcL2MeasEvtCb *measEvtCb = NULLP;
131 RlcL2MeasCb *measCb = NULLP;
136 for(cntr = 0; cntr < LKW_MAX_L2MEAS; cntr++)
138 measEvtCb = &gCb->u.dlCb->rlcL2Cb.rlcL2EvtCb[cntr];
139 measCb = &(measEvtCb->measCb);
142 if(measCb->measType & LKW_L2MEAS_DL_IP )
145 for(ueIdx = 0; ((ueIdx < measCb->val.ipThMeas.numUes) &&
146 (ueIdx < gCb->genCfg.maxUe)); ueIdx++)
148 if((measCb->val.ipThMeas.ueInfoLst[ueIdx].ueId) == ueId)
150 measCb->val.ipThMeas.ueInfoLst[ueIdx].isValid = FALSE;
151 if (measCb->val.ipThMeas.numUes-1 == ueIdx)
153 measCb->val.ipThMeas.numUes--;
165 static S16 rlcAddToDlL2Meas(RlcCb *gCb, RlcDlRbCb *rlcRbCb,uint8_t cellId,uint8_t ueId)
167 RlcL2MeasEvtCb *measEvtCb = NULLP;
168 RlcL2MeasCb *measCb = NULLP;
174 #ifndef XEON_SPECIFIC_CHANGES
175 uint8_t freeIdx = gCb->genCfg.maxUe;
177 uint16_t freeIdx = LKW_MAX_UE;
181 for(cntr = 0; cntr < LKW_MAX_L2MEAS; cntr++)
183 measEvtCb = &gCb->u.dlCb->rlcL2Cb.rlcL2EvtCb[cntr];
184 measCb = &(measEvtCb->measCb);
186 freeIdx = gCb->genCfg.maxUe;
188 if(measCb->measType &
189 (LKW_L2MEAS_ACT_UE | LKW_L2MEAS_UU_LOSS | LKW_L2MEAS_DL_DELAY))
191 for(cntr1 =0;((cntr1 < measCb->val.nonIpThMeas.numQci) &&
192 (cntr1 < LKW_MAX_QCI));cntr1++)
194 if(measCb->val.nonIpThMeas.qci[cntr1] != rlcRbCb->qci)
196 measCb->val.nonIpThMeas.qci[cntr1] = rlcRbCb->qci;
197 gCb->u.dlCb->rlcL2Cb.measOn[rlcRbCb->qci] |=measCb->measType;
203 if(((rlcRbCb->rbL2Cb.measOn & measCb->measType) == LKW_L2MEAS_NONE))
205 if (measCb->measType & LKW_L2MEAS_ACT_UE)
207 if((rlcRbCb->mode == RLC_MODE_UM) &&
208 (rlcRbCb->dir & RLC_DIR_DL ))
210 if (rlcRbCb->m.umDl.sduQ.count)
212 if (rlcRbCb->ueCb->numActRb[rlcRbCb->qci] == 0)
214 rlcRbCb->ueCb->numActRb[rlcRbCb->qci]++;
215 gCb->u.dlCb->rlcL2Cb.numActUe[rlcRbCb->qci]++;
219 else if (rlcRbCb->mode == RLC_MODE_AM)
221 if ((rlcRbCb->m.amDl.cntrlBo) ||
222 (rlcRbCb->m.amDl.retxBo) ||
223 (rlcRbCb->m.amDl.bo))
225 if (rlcRbCb->ueCb->numActRb[rlcRbCb->qci] == 0)
227 rlcRbCb->ueCb->numActRb[rlcRbCb->qci]++;
228 gCb->u.dlCb->rlcL2Cb.numActUe[rlcRbCb->qci]++;
234 if((measCb->measType & LKW_L2MEAS_DL_IP))
237 for(ueIdx = 0; ((ueIdx < measCb->val.ipThMeas.numUes) &&
238 (ueIdx < gCb->genCfg.maxUe)); ueIdx++)
240 if ((freeIdx == gCb->genCfg.maxUe) &&
241 (measCb->val.ipThMeas.ueInfoLst[ueIdx].isValid == FALSE))
246 if((measCb->val.ipThMeas.ueInfoLst[ueIdx].ueId) == ueId)
252 if (ueIdx == measCb->val.ipThMeas.numUes)
254 if (gCb->genCfg.maxUe == measCb->val.ipThMeas.numUes)
258 if (gCb->genCfg.maxUe == freeIdx)
260 measCb->val.ipThMeas.numUes++;
266 measCb->val.ipThMeas.ueInfoLst[ueIdx].isValid = TRUE;
267 memset(&measCb->val.ipThMeas.ueInfoLst[ueIdx].measData[0],0x00,(sizeof(RlcL2Cntr) *LKW_MAX_QCI));
268 measCb->val.ipThMeas.ueInfoLst[ueIdx].numQci = 0;
270 measCb->val.ipThMeas.ueInfoLst[ueIdx].ueId = ueId;
271 measCb->val.ipThMeas.ueInfoLst[ueIdx].cellId = cellId;
272 numQci = &(measCb->val.ipThMeas.ueInfoLst[ueIdx].numQci);
274 for (qciIdx =0; ((qciIdx < *numQci) &&
275 (qciIdx < LKW_MAX_QCI)) ; qciIdx++)
277 if (measCb->val.ipThMeas.ueInfoLst[ueIdx].qci[qciIdx] == rlcRbCb->qci)
283 /* Fix Klock Warning */
284 if ((qciIdx == *numQci) && (qciIdx < LKW_MAX_QCI))
286 measCb->val.ipThMeas.ueInfoLst[ueIdx].qci[qciIdx] = rlcRbCb->qci;
290 rlcUtlPlcMeasDatInL2Sts(&measCb->val.ipThMeas.ueInfoLst[ueIdx].measData[rlcRbCb->qci],
291 &rlcRbCb->rbL2Cb, measCb->measType);
293 else if (measCb->measType &
294 (LKW_L2MEAS_DL_DISC | LKW_L2MEAS_DL_DELAY | LKW_L2MEAS_UU_LOSS))
296 rlcUtlPlcMeasDatInL2Sts(&measCb->val.nonIpThMeas.measData[rlcRbCb->qci],
297 &rlcRbCb->rbL2Cb, measCb->measType);
298 measCb->val.nonIpThMeas.qci[rlcRbCb->qci] = rlcRbCb->qci;
299 measCb->val.nonIpThMeas.measData[rlcRbCb->qci].totDrbsPerQci++;
301 rlcRbCb->rbL2Cb.measOn |= measCb->measType;
304 }/*rlcAddToDlL2Meas*/
305 #endif /*LTE_L2_MEAS*/
310 * This primitive fills the RbCb
312 * @param [in] gCb - RLC Instance Control Block
313 * @param [out] rbCb - RB Control Block
314 * @param [out] ueCb - UE Control Block
315 * @param [in] entCfg - RLC Entity configuration
321 static S16 rlcCfgFillDlRbCb(RlcCb *gCb,RlcDlRbCb *rbCb,RlcDlUeCb *ueCb,RlcEntCfgInfo *entCfg)
324 RLOG_ARG3(L_DEBUG,DBG_RBID,entCfg->rbId,
325 "rlcCfgFillRbCb(ueId(%d),cellId(%d) rbType(%d))",
330 /* Initialize according to entMode */
331 switch (entCfg->entMode)
335 rbCb->lch.lChId = entCfg->lCh[0].lChId;
336 rbCb->lch.lChType = entCfg->lCh[0].type;
337 rbCb->dir = entCfg->dir;
343 rbCb->lch.lChId = entCfg->lCh[0].lChId;
344 rbCb->lch.lChType = entCfg->lCh[0].type;
345 rbCb->dir = entCfg->dir;
347 /* Spec 38.322 Section 7.1
348 * All UM state variables can take values from 0 to 63 for 6 bit SN or
349 * from 0 to 4095 for 12 bit SN. All arithmetic operations on UM state
350 * variables are affected by the UM modulus
351 * (i.e. final value = [value from arithmetic operation] modulo 64
352 * for 6 bit SN and 4096 for 12 bit SN)
354 rbCb->m.umDl.snLen = entCfg->m.umInfo.dl.snLen;
355 if (entCfg->m.umInfo.dl.snLen == RLC_UM_CFG_6BIT_SN_LEN)
356 rbCb->m.umDl.modBitMask = 0x3f;
358 rbCb->m.umDl.modBitMask = 0xfff;
360 ueCb->lCh[rbCb->lch.lChId - 1].dlRbCb = rbCb;
366 /* Down Link Information
367 * indx = 0 as Down Link */
368 rbCb->lch.lChId = entCfg->lCh[0].lChId;
369 rbCb->lch.lChType = entCfg->lCh[0].type;
370 rbCb->dir = RLC_DIR_BOTH;
372 rbCb->m.amDl.pollPdu = entCfg->m.amInfo.dl.pollPdu;
373 rbCb->m.amDl.pollByte = entCfg->m.amInfo.dl.pollByte;
374 rbCb->m.amDl.maxRetx = entCfg->m.amInfo.dl.maxRetx;
375 rbCb->m.amDl.pollRetxTmrInt = entCfg->m.amInfo.dl.pollRetxTmr;
376 rbCb->m.amDl.snLen = entCfg->m.amInfo.dl.snLen;
378 if(RLC_AM_CFG_12BIT_SN_LEN == rbCb->m.amDl.snLen)
380 rbCb->m.amDl.snModMask = (1 << RLC_SN_LEN_12BITS) - 1; /* 5GNR */
384 rbCb->m.amDl.snModMask = (1 << RLC_SN_LEN_18BITS) - 1; /* 5GNR */
387 cmInitTimers(&(rbCb->m.amDl.pollRetxTmr), 1);
388 ueCb->lCh[rbCb->lch.lChId - 1].dlRbCb = rbCb;
393 rbCb->m.amDl.txBufLst,
394 (RLC_TX_BUF_BIN_SIZE * sizeof(CmLListCp)));
395 for(hashIndex = 0; hashIndex < RLC_TX_BUF_BIN_SIZE; hashIndex++)
397 cmLListInit(&(rbCb->m.amDl.txBufLst[hashIndex]));
404 RLOG_ARG2(L_ERROR,DBG_RBID,entCfg->rbId,
405 "Invalid RB Mode ueId(%d),cellId(%d)",
411 rbCb->mode = entCfg->entMode;
412 rbCb->discTmrInt = entCfg->discardTmr;
419 * @brief This primitive Initializes the RB Cb
421 * @param [in] gCb - RLC Instance Control Block
422 * @param [out] rbCb - RB Control Block
423 * @param [in] ptr - Void pointer
424 * @param [in] entCfg - Entity Configuration
430 static S16 rlcCfgUpdateDlRb
435 RlcEntCfgInfo *entCfg
439 if (rbCb->mode != entCfg->entMode)
441 RLOG_ARG4(L_ERROR,DBG_RBID,rbCb->rlcId.rbId,
442 "RB Mode Mismatch : exp [%d] rcv [%d] UEID:%d CELLID:%d",
447 return (CKW_CFG_REAS_RB_MODE_MIS);
454 RlcDlCellCb *cellCb = (RlcDlCellCb *)ptr;
456 rbCb->dir = entCfg->dir;
457 rbCb->lch.lChId = entCfg->lCh[0].lChId;
458 rbCb->lch.lChType = entCfg->lCh[0].type;
460 cellCb->lCh[rbCb->lch.lChId - 1].dlRbCb = rbCb;
466 RlcDlUeCb *ueCb = (RlcDlUeCb *)ptr;
468 if (entCfg->lCh[0].type == CM_LTE_LCH_DCCH)
470 return (CKW_CFG_REAS_LCHTYPE_MIS);
472 ueCb->lCh[rbCb->lch.lChId - 1].dlRbCb = NULLP;
473 ueCb->lCh[entCfg->lCh[0].lChId - 1].dlRbCb = rbCb;
475 rbCb->lch.lChId = entCfg->lCh[0].lChId;
476 rbCb->lch.lChType = entCfg->lCh[0].type;
477 rbCb->dir = entCfg->dir;
483 RlcDlUeCb *ueCb = (RlcDlUeCb *)ptr;
485 ueCb->lCh[rbCb->lch.lChId - 1].dlRbCb = NULLP;
486 ueCb->lCh[entCfg->lCh[1].lChId - 1].dlRbCb = rbCb;
489 rbCb->lch.lChId = entCfg->lCh[1].lChId;
490 rbCb->lch.lChType = entCfg->lCh[1].type;
491 rbCb->m.amDl.pollRetxTmrInt = entCfg->m.amInfo.dl.pollRetxTmr;
492 rbCb->m.amDl.pollPdu = entCfg->m.amInfo.dl.pollPdu;
493 rbCb->m.amDl.pollByte = entCfg->m.amInfo.dl.pollByte;
494 rbCb->m.amDl.maxRetx = entCfg->m.amInfo.dl.maxRetx;
501 rbCb->discTmrInt = entCfg->discardTmr;
503 return (CKW_CFG_REAS_NONE);
509 * This primitive adds new RB in Ue/Cell Cb.
512 * This function does following steps -
513 * - If UE ID is 0 then
514 * - Check for CELL CB is present
515 * - If yes, Check for RB ID
516 * - If RB ID is present Status Indication with reason
517 * - Else, Create New RB CB in CELL CB
518 * - If no Create New CELL CB and RB CB
520 * - Check for UE CB is present
521 * - If yes Check for RB ID
522 * - If RB ID is present Status Indication with reason
523 * - Else, Create New RB CB in UE CB
524 * - If no Create New UE CB and RB CB
525 * - Fill entity confirmation
527 * @param [in] gCb - RLC Instance Control Block
528 * @param [in] ueId - UE Identifier
529 * @param [in] cellId - CELL Identifier
530 * @param [in] entCfg - Entity Configuration to be done.
531 * @param [out] entCfm - Entity Confirmation.
542 RlcEntCfgInfo *entCfg,
543 RlcEntCfgCfmInfo *entCfm
546 RlcDlUeCb *ueCb = NULLP; /* UE Control Block */
547 RlcDlCellCb *cellCb; /* Cell Control Block */
548 RlcDlRbCb *rlcRbCb; /* KW RB Control Block */
549 uint8_t reason; /* Rb Identifier */
551 RLOG_ARG3(L_DEBUG,DBG_RBID,entCfg->rbId,
552 "rlcCfgAddRb(cellId(%d),UEID:%d cfgType(%d))",
559 /* Fill entCfm structure */
560 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
561 CKW_CFG_REAS_CELL_UNKWN);
562 RLOG_ARG1(L_ERROR,DBG_RBID,entCfg->rbId,
563 "Add DLRb,CellId is 0 for UEID:%d",
567 if ((entCfg->rguSapId >= gCb->genCfg.maxRguSaps) || (entCfg->rguSapId < 0))
569 RLCDBGP_ERROR(gCb, "rlcCfgAddDlRb(ueId(%u), cellId(%u), Invalid rguSapId (%d)\n",
570 ueId, cellId, entCfg->rguSapId);
575 /* Process Adding new RB */
578 if(entCfg->rbId >= RLC_MAX_RB_PER_CELL)
580 /* Fill entCfm structure */
581 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
583 CKW_CFG_REAS_RB_UNKWN);
584 RLOG_ARG3(L_ERROR,DBG_RBID,entCfg->rbId,
585 "Invalid RbId ,Max is [%d] CELLID:%d UEID:%d",
592 if (((entCfg->lCh[0].type == CM_LTE_LCH_BCCH) ||
593 (entCfg->lCh[0].type == CM_LTE_LCH_PCCH) ||
594 (entCfg->lCh[0].type == CM_LTE_LCH_CCCH)) &&
595 (entCfg->entMode == RLC_MODE_TM))
597 /* Cell CB present */
598 rlcDbmFetchDlCellCb(gCb, cellId, &cellCb);
601 /* Get rbCb from cellCb->rbCb List */
602 if (( cellCb->rbCb[entCfg->rbId] != NULLP))
604 /* Fill entCfm structure */
605 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
607 CKW_CFG_REAS_RB_PRSNT);
608 RLOG_ARG2(L_WARNING, DBG_CELLID,cellId,
609 "RbId [%d] already exists UEID:%d",
615 else /* Cell CB UNKNOWN */
618 if ( ROK != rlcDbmCreateDlCellCb(gCb,cellId, &cellCb))
620 /* Fill entCfm structure */
621 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
623 CKW_CFG_REAS_CELL_CREAT_FAIL);
624 RLOG_ARG2(L_ERROR,DBG_CELLID,cellId,
625 "cellCb Creation failed RBID:%d UEID:%d",
633 if(entCfg->lCh[0].lChId <= 0)
635 RLOG_ARG3(L_ERROR,DBG_LCID,entCfg->lCh[0].lChId ,
636 "Invalid LcId CELLID:%d UEID:%d RBID:%d",
640 /* Fill entCfm structure */
641 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
642 CKW_CFG_CFM_NOK, CKW_CFG_REAS_INVALID_LCHID);
647 RLC_ALLOC(gCb,rlcRbCb, sizeof (RlcDlRbCb));
650 RLOG_ARG2(L_FATAL,DBG_UEID,ueId,
651 "Memory allocation failed for rbId:%d CELLID:%d",
654 /* Fill entCfm structure */
655 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
656 CKW_CFG_CFM_NOK, CKW_CFG_REAS_RB_CREAT_FAIL);
659 rlcRbCb->rlcId.rbId = entCfg->rbId;
660 cellCb->rbCb[entCfg->rbId] = rlcRbCb;
661 RLC_LMM_RB_STS_INC(gCb);
662 cellCb->lCh[entCfg->lCh[0].lChId - 1].dlRbCb = rlcRbCb;
666 reason= (entCfg->entMode != RLC_MODE_TM)? CKW_CFG_REAS_RB_MODE_MIS:
667 CKW_CFG_REAS_LCHTYPE_MIS;
668 /* Fill entCfm structure */
669 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
670 CKW_CFG_CFM_NOK, reason);
676 if (!(RLC_VALIDATE_UE_RBID(entCfg->rbType, entCfg->rbId)))
678 /* Fill entCfm structure */
679 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
680 CKW_CFG_REAS_RB_UNKWN);
681 RLOG_ARG2(L_ERROR,DBG_RBID, entCfg->rbId,
682 "Invalid RbId for RbType[%d] UEID:%d",
687 if ((((entCfg->lCh[0].type == CM_LTE_LCH_DCCH) &&
688 (entCfg->entMode != RLC_MODE_UM) &&
689 (CM_LTE_SRB == entCfg->rbType)) ||
690 ((entCfg->lCh[0].type == CM_LTE_LCH_DTCH) &&
691 (CM_LTE_DRB == entCfg->rbType))) &&
692 (entCfg->entMode != RLC_MODE_TM))
695 if ( rlcDbmFetchDlUeCb(gCb,ueId, cellId, &ueCb) == ROK)
697 /* Get rbCb from ueCb->rbCb list */
698 RLC_DBM_GET_RBCB_FROM_UECB(entCfg->rbId, entCfg->rbType, ueCb, rlcRbCb);
700 if(( rlcRbCb != NULLP))
702 /* Fill entCfm structure */
703 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
704 CKW_CFG_REAS_RB_PRSNT);
705 RLOG_ARG2(L_WARNING, DBG_UEID, ueId,
706 "CellId[%u]:rbId [%d] already exists",
712 else /* UE CB UNKNOWN */
715 if ( rlcDbmCreateDlUeCb(gCb,ueId, cellId, &ueCb) != ROK)
717 /* Fill entCfm structure */
718 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
719 CKW_CFG_REAS_UE_CREAT_FAIL);
720 RLOG_ARG2(L_WARNING, DBG_CELLID,cellId,
721 "UeId [%u]:ueCb Creation Failed RBID:%d",
728 /* Validate LChId for UM and AM modes */
729 if ((entCfg->lCh[0].lChId <= 0) ||
730 ((entCfg->entMode == RLC_MODE_AM)&&
731 (entCfg->lCh[1].lChId <= 0)))
733 /* Fill entCfm structure */
734 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
735 CKW_CFG_CFM_NOK, CKW_CFG_REAS_INVALID_LCHID);
740 RLC_ALLOC(gCb,rlcRbCb, sizeof (RlcDlRbCb));
743 /* Fill entCfm structure */
744 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,CKW_CFG_CFM_NOK,
745 CKW_CFG_REAS_RB_CREAT_FAIL);
746 RLOG_ARG2(L_FATAL,DBG_UEID,ueId,
747 "Memory allocation failed RBID:%d CELLID:%d",
753 /* copy the RB Cb into UECb */
754 rlcRbCb->rlcId.rbId = entCfg->rbId;
755 if(entCfg->rbType == CM_LTE_SRB)
756 ueCb->srbCb[entCfg->rbId] = rlcRbCb;
758 ueCb->drbCb[entCfg->rbId] = rlcRbCb;
760 RLC_LMM_RB_STS_INC(gCb);
765 if (entCfg->entMode == RLC_MODE_TM)
767 reason = CKW_CFG_REAS_RB_MODE_MIS;
771 reason = CKW_CFG_REAS_LCHTYPE_MIS;
774 /* Fill entCfm structure */
775 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK, reason);
781 rlcRbCb->rlcId.cellId = cellId;
782 rlcRbCb->rlcId.ueId = ueId;
783 rlcRbCb->rlcId.rbType = entCfg->rbType;
784 rlcRbCb->inst = gCb->init.inst;
785 #ifdef TENB_MULT_CELL_SUPPRT
786 rlcRbCb->rguSapId = entCfg->rguSapId;
791 if (rlcCfgFillDlRbCb(gCb,rlcRbCb, ueCb, entCfg) != ROK)
793 /* Fill entCfm structure */
794 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
795 CKW_CFG_REAS_RB_CREAT_FAIL);
797 /* Delete RB CB created */
798 RLC_FREE(gCb,rlcRbCb, sizeof(RlcDlRbCb));
799 RLOG_ARG2(L_ERROR,DBG_RBID, entCfg->rbId,
800 "Filling of RbCb failed UEID:%d CELLID:%d",
805 rlcRbCb->qci = entCfg->qci;
807 rlcRbCb->ueCb = ueCb;
808 if (entCfg->lCh[0].type == CM_LTE_LCH_DTCH)
811 rlcAddToDlL2Meas(gCb, rlcRbCb,cellId,ueId);
813 #endif /* LTE_L2_MEAS */
815 /* Fill entCfm structure */
816 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_OK, CKW_CFG_REAS_NONE);
824 * This primitive reconfigures the existing RB in Ue/Cell Cb.
827 * This primitive executes following steps in reconfiguration of existing
829 * - If UE ID is 0 then
830 * - Check for CELL CB is present
831 * - If yes, Check for RB ID
832 * - If RB ID is present Reconfigure the RB CB
833 * - Else, Status Indication with Reason
834 * - Else, Status Indication with Reason
836 * - Check for UE CB is present
837 * - If yes, Check for RB ID
838 * - If RB ID is prenset Reconfigure the CELL CB
839 * - Else, Status Indication with Reason
840 * - Else, Status Indication with Reason
841 * - Fill entity confirmation
843 * @param [in] gCb - RLC Instance Control Block
844 * @param [in] ueId - UE Identifier
845 * @param [in] cellId - CELL Identifier
846 * @param [in] entCfg - Entity Configuration to be done.
847 * @param [out] entCfm - Entity Confirmation
858 RlcEntCfgInfo *entCfg,
859 RlcEntCfgCfmInfo *entCfm
862 RlcDlRbCb *rbCb; /* RB Control Block */
863 RlcDlRbCb tRbCb; /* KW RB Control Block */
864 RlcDlCellCb *cellCb; /* Cell Control Block */
865 RlcDlUeCb *ueCb; /* Ue Control Block */
868 RLOG_ARG3(L_DEBUG,DBG_UEID,ueId,
869 "rlcCfgReCfgRb(cellId(%d), cfgType(%d)) RBID:%d",
870 cellId, entCfg->cfgType,entCfg->rbId);
873 /* Check for UeCb or CellCb */
876 if(entCfg->rbId >= RLC_MAX_RB_PER_CELL)
878 /* Fill entCfm structure */
879 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
880 CKW_CFG_REAS_RB_UNKWN);
881 RLOG_ARG3(L_ERROR,DBG_RBID,entCfg->rbId,
882 "Invalid RbId , Max is [%d] UEID:%d CELLID:%d",
889 rlcDbmFetchDlCellCb(gCb,cellId, &cellCb);
892 /* Fill entCfm structure */
893 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
894 CKW_CFG_REAS_CELL_UNKWN);
895 RLOG_ARG3(L_ERROR,DBG_CELLID,cellId,
896 "CellCb not found ueId:%d RBID:%d CELLID:%d",
904 RLC_DBM_GET_CELL_RBCB(entCfg->rbId, cellCb->rbCb, rbCb);
908 /* Fill entCfm structure */
909 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
910 CKW_CFG_REAS_RB_UNKWN);
911 RLOG_ARG2(L_ERROR,DBG_UEID,ueId,
912 "CELLID:%d RBID:%d not found",
918 /* Take backup of rbCb before updating.
919 * Because in failure case restore original rbCb
921 memcpy(&tRbCb, rbCb, sizeof(RlcDlRbCb));
924 ret = rlcCfgUpdateDlRb(gCb,rbCb, cellCb,entCfg);
927 /* Fill entCfm structure */
928 RLC_CFG_FILL_CFG_CFM(entCfm,
934 RLOG_ARG2(L_ERROR,DBG_UEID,ueId,
935 "CELLID:%u RBID:%d updation failed",
938 memcpy(rbCb, &tRbCb, sizeof(RlcDlRbCb));
945 if (!(RLC_VALIDATE_UE_RBID(entCfg->rbType, entCfg->rbId)))
947 /* Fill entCfm structure */
948 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
949 CKW_CFG_REAS_RB_UNKWN);
950 RLOG_ARG3(L_ERROR,DBG_UEID,ueId,
951 "CELLID:%d Invalid RBID:%d for RbType[%d]",
958 ret = rlcDbmFetchDlUeCb(gCb,ueId, cellId, &ueCb);
961 /* Fill entCfm structure */
962 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
963 CKW_CFG_CFM_NOK, CKW_CFG_REAS_UE_UNKWN);
964 RLOG_ARG2(L_ERROR,DBG_CELLID, cellId,
965 "UEID:%d UeCb not found RBID:%d",
972 RLC_DBM_GET_RBCB_FROM_UECB(entCfg->rbId, entCfg->rbType, ueCb, rbCb);
976 /* Fill entCfm structure */
977 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
978 CKW_CFG_REAS_RB_UNKWN);
979 RLOG_ARG2(L_ERROR, DBG_UEID,ueId,
980 "CELLID:%d RBID:%d not found",
986 /* Take backup of rbCb before updating.
987 * Because in failure case restore original rbCb
989 memcpy(&tRbCb, rbCb, sizeof(RlcDlRbCb));
992 ret = rlcCfgUpdateDlRb(gCb,rbCb,ueCb, entCfg);
993 if (ret != CKW_CFG_REAS_NONE)
995 /* Fill entCfm structure */
996 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
998 RLOG_ARG2(L_ERROR,DBG_UEID,ueId,
999 "CELLID:%d RBID:%d updation failed",
1002 memcpy(rbCb, &tRbCb, sizeof(RlcDlRbCb));
1008 /* Fill entCfm structure */
1009 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_OK, CKW_CFG_REAS_NONE);
1016 * @brief This primitive deletes the existing RB in Ue/Cell Cb.
1019 * - If UE ID is 0 then
1020 * - Check for CELL CB is present
1021 * - If yes, Check for RB ID
1022 * - If RB ID is prenset Delete the RB CB
1023 * - If there is no RB CB exist in CELL CB then Delete CELL CB.
1024 * - Else, Status Indication with Reason
1025 * - Else, Status Indication with Reason
1027 * - Check for UE CB is present
1028 * - If yes, Check for RB ID
1029 * - If RB ID is prenset Delete the RB CB
1030 * - If there is no RB CB exist in UE CB then Delete UE CB.
1031 * - Else, Status Indication with Reason
1032 * - Else, Status Indication with Reason
1033 * - Fill entity confirmation
1035 * @param [in] gCb - RLC Instance Control Block
1036 * @param [in] ueId - UE Identifier
1037 * @param [in] cellId - CELL Identifier
1038 * @param [in] entCfg - Entity Configuration to be done.
1039 * @param [out] entCfm - Entity Confirmation
1050 RlcEntCfgInfo *entCfg,
1051 RlcEntCfgCfmInfo *entCfm
1054 S16 ret; /* Return Value */
1055 RlcDlUeCb *ueCb; /* UE Control Block */
1056 RlcDlCellCb *cellCb; /* UE Control Block */
1057 RlcDlRbCb *rlcRbCb; /* KW RB Control Block */
1059 RLOG_ARG3(L_DEBUG,DBG_UEID,ueId,
1060 "rlcCfgDelRb(RBID(%d), cellId(%d), cfgType(%d))",
1067 /* Get cellCb and delete rbCb from it */
1070 if(entCfg->rbId >= RLC_MAX_RB_PER_CELL)
1072 /* Fill entCfm structure */
1073 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1074 CKW_CFG_CFM_NOK, CKW_CFG_REAS_RB_UNKWN);
1075 RLOG_ARG3(L_ERROR,DBG_RBID,entCfg->rbId ,
1076 "Invalid RbId, Max is [%d] UEID:%d CELLID:%d",
1077 RLC_MAX_RB_PER_CELL,
1083 rlcDbmFetchDlCellCb(gCb,cellId, &cellCb);
1086 /* Fill entCfm structure */
1087 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1088 CKW_CFG_CFM_NOK, CKW_CFG_REAS_RB_UNKWN);
1089 RLOG_ARG2(L_ERROR,DBG_CELLID,cellId,
1090 "CellCb not found UEID:%d RBID:%d",
1097 RLC_DBM_GET_CELL_RBCB(entCfg->rbId, cellCb->rbCb, rlcRbCb);
1099 if ( rlcRbCb == NULLP)
1101 /* Fill entCfm structure */
1102 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1103 CKW_CFG_CFM_NOK, CKW_CFG_REAS_RB_UNKWN);
1104 RLOG_ARG2(L_ERROR, DBG_UEID,ueId,
1105 "CellId[%u]:RbId[%d] not found",
1111 /* Assign NULLP to rbCb in rbCbLst */
1112 cellCb->rbCb[entCfg->rbId] = NULLP;
1114 /* Assign NULLP to dlRbCb/ulRbCb.
1115 * Delete Hashlist allocated for it if any */
1116 cellCb->lCh[rlcRbCb->lch.lChId - 1].dlRbCb = NULLP;
1117 RLC_FREE(gCb,rlcRbCb, sizeof(RlcDlRbCb)); /*Vartika: Mem leak fix */
1119 /* Get ueCb and delete rbCb from it */
1122 if (!(RLC_VALIDATE_UE_RBID(entCfg->rbType, entCfg->rbId)))
1124 /* Fill entCfm structure */
1125 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1126 CKW_CFG_CFM_NOK, CKW_CFG_REAS_RB_UNKWN);
1127 RLOG_ARG3(L_ERROR,DBG_RBID, entCfg->rbId,
1128 "Invalid RbId for RbType[%d] UEID:%d CELLID:%d",
1136 ret = rlcDbmFetchDlUeCb(gCb,ueId, cellId, &ueCb);
1139 /* Fill entCfm structure */
1140 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1141 CKW_CFG_CFM_NOK, CKW_CFG_REAS_UE_UNKWN);
1142 RLOG_ARG2(L_ERROR,DBG_CELLID, cellId,
1143 "UeId [%d]: UeCb not found RBID:%d",
1150 RLC_DBM_GET_RBCB_FROM_UECB(entCfg->rbId, entCfg->rbType, ueCb, rlcRbCb);
1152 if ( rlcRbCb == NULLP)
1154 /* Fill entCfm structure */
1155 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
1156 CKW_CFG_REAS_RB_UNKWN);
1157 RLOG_ARG2(L_ERROR, DBG_UEID,ueId,
1158 "CellId[%u]:RbId[%d] not found",
1164 ueCb->lCh[rlcRbCb->lch.lChId - 1].dlRbCb = NULLP;
1167 RLC_UPD_L2_DECR_NONIP_PER_QCI_RB_COUNT(gCb, rlcRbCb);
1169 /* Free the Buffers of RbCb */
1170 if( RLC_MODE_UM == rlcRbCb->mode)
1172 rlcUmmFreeDlRbCb(gCb,rlcRbCb);
1174 RLC_FREE(gCb,rlcRbCb, sizeof(RlcDlRbCb));
1176 else if( RLC_MODE_AM == rlcRbCb->mode)
1178 rlcAmmFreeDlRbCb(gCb,rlcRbCb);
1181 /* Assign NULLP to rbCb in rbCbLst */
1182 if ( entCfg->rbType == CM_LTE_SRB )
1184 ueCb->srbCb[entCfg->rbId] = NULLP;
1188 ueCb->drbCb[entCfg->rbId] = NULLP;
1192 RLC_LMM_RB_STS_DEC(gCb);
1194 /* Fill entCfm structure */
1195 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType, CKW_CFG_CFM_OK,
1203 * @brief This primitive re-establish the existing RB in Ue/Cell Cb.
1206 * - If UE ID is 0 then
1207 * - Check for CELL CB is present
1208 * - If yes, Check for RB ID
1209 * - If RB ID is prenset initialize the parameters of the RB CB
1210 * - Else, Status Indication with Reason
1211 * - Else, Status Indication with Reason
1213 * - Check for UE CB is present
1214 * - If yes, Check for RB ID
1215 * - If RB ID is prenset initialize the parameters of the RB CB
1216 * - Else, Status Indication with Reason
1217 * - Else, Status Indication with Reason
1218 * - Fill entity confirmation
1220 * @param [in] gCb - RLC Instance Control Block
1221 * @param [in] ueId - UE Identifier
1222 * @param [in] cellId - CELL Identifier
1223 * @param [in] entCfg - Entity Configuration to be done.
1224 * @param [out] entCfm - Entity Confirmation
1236 RlcEntCfgInfo *entCfg,
1237 RlcEntCfgCfmInfo *entCfm
1240 RlcDlRbCb *rbCb; /* RB Control Block */
1241 CmLteRlcId rlcId; /* RLC Identifier */
1243 RLOG_ARG3(L_DEBUG,DBG_RBID,entCfg->rbId,
1244 "rlcCfgReEstDlRb(ueId(%d), cellId(%d), cfgType(%d))",
1251 rlcId.cellId = cellId;
1252 rlcId.rbId = entCfg->rbId;
1253 rlcId.rbType = entCfg->rbType;
1255 rlcDbmFetchDlRbCbByRbId(gCb,&rlcId, &rbCb);
1258 /* Fill entCfm structure */
1259 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, rlcId.rbType, CKW_CFG_CFM_NOK,
1260 CKW_CFG_REAS_RB_UNKWN);
1261 RLOG_ARG2(L_ERROR, DBG_UEID,ueId,
1262 "CellId[%u]:RbId[%d] not found",
1268 rbCb->rlcId.ueId = ueId;
1274 rlcDlTmmReEstablish(gCb,rbCb);
1280 rlcDlUmmReEstablish(gCb,rlcId,sndReEstInd,rbCb);
1286 rlcAmmDlReEstablish(gCb, rlcId, rbCb);
1291 /* Fill entCfm structure */
1292 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1293 CKW_CFG_CFM_OK, CKW_CFG_REAS_NONE);
1300 * @brief This primitive deletes the RBs in Ue Cb.
1303 * - If UE ID is 0 then
1304 * - Status Indication with Reason
1306 * - Check for UE CB is present
1307 * - If yes, Delete all RB CB in UE CB and Delete UE CB also.
1308 * - Else, Status Indication with Reason
1309 * - Fill entity confirmation
1311 * @param [in] gCb - RLC Instance Control Block
1312 * @param [in] ueId - UE Identifier
1313 * @param [in] cellId - CELL Identifier
1314 * @param [in] entCfg - Entity Configuration to be done.
1315 * @param [out] entCfm - Entity Confirmation
1326 RlcEntCfgInfo *entCfg,
1327 RlcEntCfgCfmInfo *entCfm
1330 S16 ret; /* Return Value */
1331 RlcDlUeCb *ueCb; /* UE Control Block */
1333 RLOG_ARG3(L_DEBUG,DBG_RBID,entCfg->rbId,
1334 "rlcCfgDelUe(ueId(%d), cellId(%d), cfgType(%d))",
1341 /* Check for ueId is present or not */
1344 /* Fill entCfm structure */
1345 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1346 CKW_CFG_CFM_NOK, CKW_CFG_REAS_UE_UNKWN);
1347 RLOG_ARG2(L_ERROR,DBG_RBID,entCfg->rbId,
1348 "ueId(%d), cellId(%d)",
1355 ret = rlcDbmFetchDlUeCb(gCb,ueId, cellId, &ueCb);
1358 /* Fill entCfm structure */
1359 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1360 CKW_CFG_CFM_NOK, CKW_CFG_REAS_UE_UNKWN);
1361 RLOG_ARG2(L_ERROR,DBG_CELLID, cellId,
1362 "UEID:%d UeCb not found RBID:%d",
1369 rlcDelFrmDlL2Meas(gCb,cellId,ueId);
1370 rlcDbmDelAllDlL2MeasTbFrmUe(gCb,ueCb);
1373 rlcDbmDelDlUeCb(gCb,ueCb, FALSE);
1375 /* Fill entCfm structure */
1376 RLC_CFG_FILL_CFG_CFM(entCfm, entCfg->rbId, entCfg->rbType,
1377 CKW_CFG_CFM_OK, CKW_CFG_REAS_NONE);
1384 * @brief This primitive deletes the RBs in Ue Cb.
1387 * - If CELL ID is 0 then
1388 * - Status Indication with Reason
1390 * - Check for CELL CB is present
1391 * - If yes, Delete all RB CB in CELL CB and Delete CELL CB also.
1392 * - Else, Status Indication with Reason
1393 * - Fill entity confirmation
1395 * @param [in] cellId - CELL Identifier
1396 * @param [in] entCfg - Entity Configuration to be done.
1397 * @param [out] entCfm - Entity Confirmation
1407 RlcEntCfgInfo *entCfg,
1408 RlcEntCfgCfmInfo *entCfm
1411 RlcDlCellCb *cellCb; /* UE Control Block */
1412 uint8_t rbId; /* RB Identifier */
1414 RLOG_ARG2(L_DEBUG,DBG_RBID,entCfg->rbId,
1415 "rlcCfgDelCell( cellId(%d), cfgType(%d)",
1420 rbId = entCfg->rbId;
1422 /* Check for ueId is present or not */
1425 /* Fill entCfm structure */
1426 RLC_CFG_FILL_CFG_CFM(entCfm, rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
1427 CKW_CFG_REAS_CELL_UNKWN);
1428 RLOG_ARG1(L_DEBUG,DBG_RBID,entCfg->rbId,
1429 "cellId is 0 (%d) ",
1435 rlcDbmFetchDlCellCb(gCb,cellId, &cellCb);
1438 /* Fill entCfm structure */
1439 RLC_CFG_FILL_CFG_CFM(entCfm, rbId, entCfg->rbType, CKW_CFG_CFM_NOK,
1440 CKW_CFG_REAS_CELL_UNKWN);
1441 RLOG_ARG1(L_ERROR, DBG_CELLID,cellId,
1442 "CellCb not found for RBID:%d",
1448 rlcDbmDelDlCellCb(gCb,cellCb);
1450 /* Fill entCfm structure */
1451 /* kw005.201 added support for L2 Measurement */
1452 RLC_CFG_FILL_CFG_CFM(entCfm, rbId, entCfg->rbType, CKW_CFG_CFM_OK,
1459 * @brief This primitive changes the ueId of Ue Cb.
1462 * - If oldUeId and newUeId are
1463 * - Confirm the Status with Reason
1464 * - If UeId not present
1465 * - Confirm the Status with Reason
1467 * - Copy rbCbs from old UeCb to new UeCb
1469 * - Fill entity confirmation
1471 * @param [in] ueInfo - Old UE Information
1472 * @param [in] newUeInfo - New UE Information
1473 * @param [out] status - Status
1479 S16 rlcCfgDlUeIdChng
1483 CkwUeInfo *newUeInfo,
1488 /*kw004.201 Adding of Missing Trace in LTE RLC PDCP*/
1490 if ( (ueInfo->ueId == newUeInfo->ueId) &&
1491 (ueInfo->cellId == newUeInfo->cellId))
1493 status->reason = CKW_CFG_REAS_SAME_UEID;
1494 status->status = CKW_CFG_CFM_NOK;
1495 RLOG_ARG2(L_ERROR,DBG_CELLID,ueInfo->cellId,
1496 "Old UeId[%d] same as new UeId[%d]",
1502 if(ROK == rlcDbmFetchDlUeCb(gCb,newUeInfo->ueId, newUeInfo->cellId, &ueCb))
1504 RLOG_ARG1(L_ERROR, DBG_CELLID, newUeInfo->cellId,
1505 "NewUeId[%d]:ueCb already exists",
1507 status->reason = CKW_CFG_REAS_UE_EXISTS;
1508 status->status = CKW_CFG_CFM_NOK;
1512 if(ROK != rlcDbmFetchDlUeCb(gCb,ueInfo->ueId, ueInfo->cellId, &ueCb))
1515 RLOG_ARG1(L_ERROR,DBG_CELLID,ueInfo->cellId,
1516 "UeId [%d]: UeCb not found",
1518 status->reason = CKW_CFG_REAS_UE_UNKWN;
1519 status->status = CKW_CFG_CFM_NOK;
1524 rlcHdlMeasDlUeIdChg(gCb, ueInfo->cellId, ueInfo->ueId, newUeInfo->ueId);
1526 if(ROK != cmHashListDelete(&(gCb->u.dlCb->ueLstCp), (PTR) ueCb))
1528 RLOG_ARG1(L_ERROR,DBG_CELLID,ueInfo->cellId,
1529 "UeId[%u] HashList Deletion Failed",
1531 status->reason = CKW_CFG_REAS_UE_CREAT_FAIL;
1532 status->status = CKW_CFG_CFM_NOK;
1536 /* update the hash key with new values */
1537 ueCb->ueId = newUeInfo->ueId;
1538 ueCb->cellId = newUeInfo->cellId;
1540 if(ROK != cmHashListInsert(&(gCb->u.dlCb->ueLstCp),
1541 (PTR)ueCb, (uint8_t *)&(ueCb->ueId),
1542 (uint16_t) sizeof(CmLteRnti)))
1545 RLOG_ARG1(L_ERROR,DBG_CELLID,newUeInfo->cellId,
1546 "UeId[%u] HashList Insertion Failed",
1548 status->reason = CKW_CFG_REAS_UE_CREAT_FAIL;
1549 status->status = CKW_CFG_CFM_NOK;
1556 /********************************************************************30**
1559 **********************************************************************/