* ****************************************************************/
void deleteSchUeCb(SchUeCb *ueCb)
{
- uint8_t timeDomRsrcIdx = 0, ueLcIdx = 0;
+ uint8_t timeDomRsrcIdx = 0, ueLcIdx = 0, idx =0;
SchPucchCfg *pucchCfg = NULLP;
SchPdschConfig *pdschCfg = NULLP;
if(ueCb)
{
+ if(ueCb->hqDlmap)
+ {
+ for (idx = 0; idx<ueCb->cellCb->numSlots; idx++)
+ {
+ if(ueCb->hqDlmap[idx])
+ {
+ cmLListDeleteLList(&ueCb->hqDlmap[idx]->hqList);
+ SCH_FREE(ueCb->hqDlmap[idx], sizeof(SchHqDlMap));
+ }
+ }
+ SCH_FREE(ueCb->hqDlmap, sizeof(SchHqDlMap*)*(ueCb->cellCb->numSlots));
+ }
+
+ if(ueCb->hqUlmap)
+ {
+ for (idx = 0; idx<ueCb->cellCb->numSlots; idx++)
+ {
+ if(ueCb->hqUlmap[idx])
+ {
+ cmLListDeleteLList(&ueCb->hqUlmap[idx]->hqList);
+ SCH_FREE(ueCb->hqUlmap[idx], sizeof(SchHqUlMap));
+ }
+ }
+ SCH_FREE(ueCb->hqUlmap, sizeof(SchHqUlMap*)*(ueCb->cellCb->numSlots));
+ }
+
SCH_FREE(ueCb->ueCfg.ambrCfg, sizeof(SchAmbrCfg));
if(ueCb->ueCfg.spCellCfgPres)
{
* RFAILED - failure
*
* ****************************************************************/
-uint8_t SchSendCellDeleteRspToMac(SchCellDelete *ueDelete, Inst inst, SchMacRsp result)
+uint8_t SchSendCellDeleteRspToMac(SchCellDeleteReq *ueDelete, Inst inst, SchMacRsp result)
{
Pst rspPst;
uint8_t ret=0;
*
* ****************************************************************/
-uint8_t MacSchCellDeleteReq(Pst *pst, SchCellDelete *cellDelete)
+uint8_t MacSchCellDeleteReq(Pst *pst, SchCellDeleteReq *cellDelete)
{
uint8_t cellIdx=0, ret = RFAILED;
Inst inst = pst->dstInst - SCH_INST_START;