- MAC_FREE_SHRABL_BUF(pst->region, pst->pool, dlCcchIndInfo->dlCcchMsg, strlen((const char*)dlCcchIndInfo->dlCcchMsg));
- MAC_FREE_SHRABL_BUF(pst->region, pst->pool, dlCcchIndInfo, sizeof(DlCcchIndInfo));
+ /* storing Msg4 Pdu in raCb */
+ if(macCb.macCell->macRaCb[0].crnti == dlCcchIndInfo->crnti)
+ {
+ macCb.macCell->macRaCb[0].msg4PduLen = strlen((const char*)dlCcchIndInfo\
+ ->dlCcchMsg);
+ MAC_ALLOC(macCb.macCell->macRaCb[0].msg4Pdu, macCb.macCell->macRaCb[0]\
+ .msg4PduLen);
+ if(macCb.macCell->macRaCb[0].msg4Pdu)
+ {
+ memcpy(macCb.macCell->macRaCb[0].msg4Pdu, dlCcchIndInfo->dlCcchMsg,\
+ macCb.macCell->macRaCb[0].msg4PduLen);
+ }
+ }
+ }
+ sendDlRlcBoInfoMacToSch(&dlBoInfo);
+
+ MAC_FREE_SHRABL_BUF(pst->region, pst->pool, dlCcchIndInfo->dlCcchMsg, \
+ strlen((const char*)dlCcchIndInfo->dlCcchMsg));
+ MAC_FREE_SHRABL_BUF(pst->region, pst->pool, dlCcchIndInfo, sizeof(DlCcchIndInfo));