uint8_t packMacSchSlotInd(Pst *pst, SlotIndInfo *slotInd)
{
Buffer *mBuf = NULLP;
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
return RFAILED;
}
/* pack SFN and slot value */
- CMCHKPK(SPkU16,slotInd->sfn, mBuf);
- CMCHKPK(SPkU16,slotInd->slot, mBuf);
+ CMCHKPK(oduUnpackUInt16,slotInd->sfn, mBuf);
+ CMCHKPK(oduUnpackUInt16,slotInd->slot, mBuf);
- return SPstTsk(pst,mBuf);
+ return ODU_POST_TASK(pst,mBuf);
}
/**
* RFAILED - failure
*
* ****************************************************************/
-uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBOInfo *dlBoInfo)
+uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBoInfo *dlBoInfo)
{
if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
{
return ROK;
}
-
+/*******************************************************************
+ *
+ * @brief Pack and Send UE Reconfig Request from MAC to SCH
+ *
+ * @details
+ *
+ * Function : packMacSchUeReconfigReq
+ *
+ * Functionality:
+ * Pack and Send UE Reconfig Request from MAC to SCH
+ *
+ * @params[in]
+ * @return ROK - success
+ * RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t packMacSchUeReconfigReq(Pst *pst, SchUeCfg *ueCfg)
+{
+ if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC))
+ {
+ /* TODO */
+ }
+ else
+ {
+ return RFAILED;
+ }
+ return ROK;
+}
/**********************************************************************
End of file