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
[ Jira id - ODUHIGH-593 ] Pack and unpack function nomenclature 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
f0c8f3c
..
3fb6566
100644
(file)
--- a/
src/cm/du_app_mac_inf.c
+++ b/
src/cm/du_app_mac_inf.c
@@
-129,8
+129,8
@@
uint8_t packMacCellCfgCfm(Pst *pst, MacCellCfgCfm *macCellCfgCfm)
}
/* pack the transaction ID in CNF structure */
}
/* pack the transaction ID in CNF structure */
- CMCHKPK(odu
Unp
ackUInt16, macCellCfgCfm->cellId, mBuf);
- CMCHKPK(odu
Unp
ackUInt8, macCellCfgCfm->rsp, mBuf);
+ CMCHKPK(odu
P
ackUInt16, macCellCfgCfm->cellId, mBuf);
+ CMCHKPK(odu
P
ackUInt8, macCellCfgCfm->rsp, mBuf);
return ODU_POST_TASK(pst,mBuf);
}
return ODU_POST_TASK(pst,mBuf);
}
@@
-166,8
+166,8
@@
uint8_t unpackMacCellCfgCfm(DuMacCellCfgCfm func, Pst *pst, Buffer *mBuf)
if(pst->selector == ODU_SELECTOR_LC)
{
/* unpack the transaction ID in CNF structure */
if(pst->selector == ODU_SELECTOR_LC)
{
/* unpack the transaction ID in CNF structure */
- CMCHKUNPK(odu
P
ackUInt8, &(macCellCfgCfm.rsp), mBuf);
- CMCHKUNPK(odu
P
ackUInt16, &(macCellCfgCfm.cellId), mBuf);
+ CMCHKUNPK(odu
Unp
ackUInt8, &(macCellCfgCfm.rsp), mBuf);
+ CMCHKUNPK(odu
Unp
ackUInt16, &(macCellCfgCfm.cellId), mBuf);
return (*func)(pst, &macCellCfgCfm);
}
else
return (*func)(pst, &macCellCfgCfm);
}
else
@@
-364,7
+364,7
@@
uint8_t packMacCellUpInd(Pst *pst, OduCellId *cellId)
if(pst->selector == ODU_SELECTOR_LC)
{
if(pst->selector == ODU_SELECTOR_LC)
{
- CMCHKPK(odu
Unp
ackUInt16, cellId->cellId, mBuf);
+ CMCHKPK(odu
P
ackUInt16, cellId->cellId, mBuf);
CM_FREE_SHRABL_BUF(pst->region, pst->pool, cellId, sizeof(OduCellId));
cellId = NULL;
}
CM_FREE_SHRABL_BUF(pst->region, pst->pool, cellId, sizeof(OduCellId));
cellId = NULL;
}
@@
-413,7
+413,7
@@
uint8_t unpackMacCellUpInd(DuMacCellUpInd func, Pst *pst, Buffer *mBuf)
else if(pst->selector == ODU_SELECTOR_LC)
{
OduCellId cellId;
else if(pst->selector == ODU_SELECTOR_LC)
{
OduCellId cellId;
- CMCHKUNPK(odu
P
ackUInt16, &cellId.cellId, mBuf);
+ CMCHKUNPK(odu
Unp
ackUInt16, &cellId.cellId, mBuf);
ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &cellId);
}
ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &cellId);
}
@@
-455,7
+455,7
@@
uint8_t packMacStopInd(Pst *pst, OduCellId *cellId)
if(pst->selector == ODU_SELECTOR_LC)
{
/*pack the payload here*/
if(pst->selector == ODU_SELECTOR_LC)
{
/*pack the payload here*/
- CMCHKPK(odu
Unp
ackUInt16, cellId->cellId, mBuf);
+ CMCHKPK(odu
P
ackUInt16, cellId->cellId, mBuf);
CM_FREE_SHRABL_BUF(pst->region, pst->pool, cellId, sizeof(OduCellId));
cellId = NULL;
}
CM_FREE_SHRABL_BUF(pst->region, pst->pool, cellId, sizeof(OduCellId));
cellId = NULL;
}
@@
-503,7
+503,7
@@
uint8_t unpackMacStopInd(DuMacStopInd func, Pst *pst, Buffer *mBuf)
else if(pst->selector == ODU_SELECTOR_LC)
{
OduCellId cellId;
else if(pst->selector == ODU_SELECTOR_LC)
{
OduCellId cellId;
- CMCHKUNPK(odu
P
ackUInt16, &(cellId.cellId), mBuf);
+ CMCHKUNPK(odu
Unp
ackUInt16, &(cellId.cellId), mBuf);
ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &cellId);
ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &cellId);