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
U8, U16, U32 data type changes
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_com.c
diff --git
a/src/5gnrmac/rg_com.c
b/src/5gnrmac/rg_com.c
index
6b55a6a
..
5dba24f
100755
(executable)
--- a/
src/5gnrmac/rg_com.c
+++ b/
src/5gnrmac/rg_com.c
@@
-112,12
+112,10
@@
CrgCfgReqInfo *crgCfgReq;
#endif
{
S16 ret;
#endif
{
S16 ret;
-
U8
cfmStatus = CRG_CFG_CFM_OK;
+
uint8_t
cfmStatus = CRG_CFG_CFM_OK;
RgErrInfo errInfo;
Bool isCfmRqrd = TRUE;
RgErrInfo errInfo;
Bool isCfmRqrd = TRUE;
- TRC2(rgCOMCfgReq);
-
/* Process Config/Reconfig/Delete request from RRC */
switch (crgCfgReq->action)
{
/* Process Config/Reconfig/Delete request from RRC */
switch (crgCfgReq->action)
{
@@
-219,8
+217,6
@@
CrgCfgTransId transId;
RgCellCb *cell = NULLP;
RgUeCb *ue = NULLP;
RgCellCb *cell = NULLP;
RgUeCb *ue = NULLP;
- TRC2(rgCOMHndlCfgReq);
-
errInfo->errType = RGERR_COM_CFG_REQ;
/* Validate and process the configuration request */
errInfo->errType = RGERR_COM_CFG_REQ;
/* Validate and process the configuration request */
@@
-323,8
+319,6
@@
Bool *isCfmRqrd;
RgUeCb *ue = NULLP;
RgUlLcCb *ulLc = NULLP;
RgUeCb *ue = NULLP;
RgUlLcCb *ulLc = NULLP;
- TRC2(rgCOMHndlRecfgReq);
-
errInfo->errType = RGERR_COM_RECFG_REQ;
/* Validate and process the re-configuration request */
errInfo->errType = RGERR_COM_RECFG_REQ;
/* Validate and process the re-configuration request */
@@
-398,7
+392,7
@@
Bool *isCfmRqrd;
#ifdef LTE_ADV
/*ERAB- multicell fix*/
#ifdef LTE_ADV
/*ERAB- multicell fix*/
-
cmMemcpy( (U8*)&(ue->cfgCfmInfo.transId), (U8*)
&transId,
+
memcpy( &(ue->cfgCfmInfo.transId),
&transId,
sizeof(CrgCfgTransId));
#endif
ret = rgCFGCrgLcRecfg(inst,cell, ue, ulLc,
sizeof(CrgCfgTransId));
#endif
ret = rgCFGCrgLcRecfg(inst,cell, ue, ulLc,
@@
-453,8
+447,6
@@
CrgRst *reset;
RgErrInfo *errInfo;
#endif
{
RgErrInfo *errInfo;
#endif
{
- TRC2(rgCOMHndlResetReq);
-
/* Fix : ccpu00126865: ignore CRG reset. Let SCH trigger it. */
errInfo->errCause = RGERR_NONE;
/* Fix : ccpu00126865: ignore CRG reset. Let SCH trigger it. */
errInfo->errCause = RGERR_NONE;
@@
-505,10
+497,8
@@
CrgCfgTransId transId;
{
S16 ret;
{
S16 ret;
- VOLATILE
U32
startTime=0;
+ VOLATILE
uint32_t
startTime=0;
- TRC2(rgCOMHndlDelReq);
-
errInfo->errType = RGERR_COM_DEL_REQ;
/* Process the delete request */
errInfo->errType = RGERR_COM_DEL_REQ;
/* Process the delete request */
@@
-588,7
+578,6
@@
RgPrgUeSCellCfgInfo *ueSCellCb;
S16 ret;
Pst cfmPst;
S16 ret;
Pst cfmPst;
- TRC2(RgPrgPMacSMacUeSCellCfgReq);
RGDBGPRM(inst,(rgPBuf(inst),
"APPLYING CRG UE SCELL CONFIG: cellId %d ueId %d\n",
RGDBGPRM(inst,(rgPBuf(inst),
"APPLYING CRG UE SCELL CONFIG: cellId %d ueId %d\n",
@@
-667,8
+656,6
@@
RgPrgCfgCfmInfo *cfgCfm;
Inst inst = pst->dstInst;
RgCellCb *cell;
RgUeCb *ue;
Inst inst = pst->dstInst;
RgCellCb *cell;
RgUeCb *ue;
- TRC2(RgPrgSMacPMacCfgCfm);
-
RG_IS_INST_VALID(inst);
RG_IS_INST_VALID(inst);
@@
-768,8
+755,6
@@
RgPrgUeSCellDelInfo *ueSCellDelInfo;
RgCellCb *sCell = rgCb[inst].cell;
RgUeCb *sCellUe = NULLP;
RgCellCb *sCell = rgCb[inst].cell;
RgUeCb *sCellUe = NULLP;
- TRC2(RgPrgPMacSMacUeSCellDelReq)
-
/* Checking for cell Cb because in case of shutdownReq it is possible that
* cell is already deleted for this cell*/
if(sCell == NULLP)
/* Checking for cell Cb because in case of shutdownReq it is possible that
* cell is already deleted for this cell*/
if(sCell == NULLP)