+ ret = fillRlcUeCreateRsp(ueRsp, cfgRsp);
+ if(!ret)
+ {
+ ret = (*rlcUeCreateRspOpts[pst->selector])(pst, ueRsp);
+ if(ret)
+ {
+ DU_LOG("\nERROR --> RLC: Failed at SendRlcUeCreateRspToDu()");
+ RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCreateRsp));
+ }
+ }
+ else
+ {
+ DU_LOG("\nERROR --> RLC: Failed at fillRlcUeCreateRsp() for event %d", pst->event);
+ RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCreateRsp));
+ }
+ }
+ RLC_FREE(gCb, cfgRsp, sizeof(RlcCfgCfmInfo));
+ return ret;
+} /* end of SendRlcUeCreateRspToDu */
+
+/***********************************************************
+ *
+ * @brief
+ *
+ * Handler for the ue Reconfig response to DUAPP
+ *
+ * @b Description:
+ *
+ * This function reports ue Reconfig response to DUAPP
+ *
+ * @param[in] post Post structure
+ * @param[in] cfgRsp ue reconfig Config Response
+ *
+ * @return uint16_t
+ * -# ROK
+ * -# RFAILED
+ *
+ *************************************************************/
+uint8_t SendRlcUeReconfigRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
+{
+ /* jump to specific primitive depending on configured selector */
+ uint8_t ret = ROK;
+ RlcCb *gCb;
+ RlcUeReconfigRsp *ueRsp = NULLP;
+
+ gCb = RLC_GET_RLCCB(pst->srcInst);
+ RLC_ALLOC_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeReconfigRsp));
+ if(!ueRsp)
+ {
+ DU_LOG("\nERROR --> RLC: Memory allocation failed for ueRsp at SendRlcUeReconfigRspToDu()");
+ ret = RFAILED;
+ }
+ else
+ {
+ /* Mapping Old api to New Api */
+ ret = fillRlcUeCreateRsp(ueRsp, cfgRsp);