Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-501] Ue Create and Rsp correction...
[o-du/l2.git]
/
src
/
cm
/
du_app_mac_inf.c
diff --git
a/src/cm/du_app_mac_inf.c
b/src/cm/du_app_mac_inf.c
index
44f381b
..
3ea1b0c
100644
(file)
--- a/
src/cm/du_app_mac_inf.c
+++ b/
src/cm/du_app_mac_inf.c
@@
-687,12
+687,12
@@
uint8_t unpackMacDlCcchInd(DuMacDlCcchInd func, Pst *pst, Buffer *mBuf)
*
*
* @params[in] Post structure pointer
*
*
* @params[in] Post structure pointer
- * MacUeC
fg
pointer
+ * MacUeC
reateReq
pointer
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
-uint8_t packDuMacUeCreateReq(Pst *pst, MacUeC
fg
*ueCfg)
+uint8_t packDuMacUeCreateReq(Pst *pst, MacUeC
reateReq
*ueCfg)
{
Buffer *mBuf = NULLP;
{
Buffer *mBuf = NULLP;
@@
-737,7
+737,7
@@
uint8_t unpackMacUeCreateReq(DuMacUeCreateReq func, Pst *pst, Buffer *mBuf)
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
- MacUeC
fg
*ueCfg;
+ MacUeC
reateReq
*ueCfg;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&ueCfg, mBuf);
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&ueCfg, mBuf);
@@
-756,21
+756,21
@@
uint8_t unpackMacUeCreateReq(DuMacUeCreateReq func, Pst *pst, Buffer *mBuf)
/*******************************************************************
*
/*******************************************************************
*
- * @brief Pack and send UE c
onfig
response from MAC to DU APP
+ * @brief Pack and send UE c
reate
response from MAC to DU APP
*
* @details
*
*
* @details
*
- * Function : packDuMacUeC
fg
Rsp
+ * Function : packDuMacUeC
reate
Rsp
*
* Functionality:
*
* Functionality:
- * Pack and send UE c
onfig
response from MAC to DU APP
+ * Pack and send UE c
reate
response from MAC to DU APP
*
* @params[in]
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
*
* @params[in]
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
-uint8_t packDuMacUeC
fgRsp(Pst *pst, MacUeCfg
Rsp *cfgRsp)
+uint8_t packDuMacUeC
reateRsp(Pst *pst, MacUeCreate
Rsp *cfgRsp)
{
Buffer *mBuf = NULLP;
{
Buffer *mBuf = NULLP;
@@
-778,7
+778,7
@@
uint8_t packDuMacUeCfgRsp(Pst *pst, MacUeCfgRsp *cfgRsp)
{
if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
{
if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- DU_LOG("\nERROR --> MAC : Memory allocation failed at packDuMacUeC
fg
Rsp");
+ DU_LOG("\nERROR --> MAC : Memory allocation failed at packDuMacUeC
reate
Rsp");
return RFAILED;
}
/* pack the address of the structure */
return RFAILED;
}
/* pack the address of the structure */
@@
-786,7
+786,7
@@
uint8_t packDuMacUeCfgRsp(Pst *pst, MacUeCfgRsp *cfgRsp)
}
else
{
}
else
{
- DU_LOG("\nERROR --> MAC: Only LWLC supported for packDuMacUeC
fg
Rsp");
+ DU_LOG("\nERROR --> MAC: Only LWLC supported for packDuMacUeC
reate
Rsp");
return RFAILED;
}
return RFAILED;
}
@@
-794,24
+794,24
@@
uint8_t packDuMacUeCfgRsp(Pst *pst, MacUeCfgRsp *cfgRsp)
}
/*******************************************************************
*
}
/*******************************************************************
*
- * @brief Unpack UE C
onfig
Response from MAC to DU APP
+ * @brief Unpack UE C
reate
Response from MAC to DU APP
*
* @details
*
*
* @details
*
- * Function :unpackDuMacUeC
fg
Rsp
+ * Function :unpackDuMacUeC
reate
Rsp
*
*
- * Functionality: Unpack UE C
onfig
Response from MAC to DU APP
+ * Functionality: Unpack UE C
reate
Response from MAC to DU APP
*
* @params[in]
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
*
* @params[in]
* @return ROK - success
* RFAILED - failure
*
* ****************************************************************/
-uint8_t unpackDuMacUeC
fgRsp(MacDuUeCfg
RspFunc func, Pst *pst, Buffer *mBuf)
+uint8_t unpackDuMacUeC
reateRsp(MacDuUeCreate
RspFunc func, Pst *pst, Buffer *mBuf)
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
- MacUeC
fg
Rsp *cfgRsp = NULLP;
+ MacUeC
reate
Rsp *cfgRsp = NULLP;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cfgRsp, mBuf);
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cfgRsp, mBuf);
@@
-836,7
+836,7
@@
uint8_t unpackDuMacUeCfgRsp(MacDuUeCfgRspFunc func, Pst *pst, Buffer *mBuf)
*
*
* @params[in] Post structure pointer
*
*
* @params[in] Post structure pointer
- * MacUe
C
fg pointer
+ * MacUe
Rec
fg pointer
* @return ROK - success
* RFAILED - failure
*
* @return ROK - success
* RFAILED - failure
*