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 "Replaced old SSI function with new macros jira id - ODUHIGH-212"
[o-du/l2.git]
/
src
/
5gnrrlc
/
kw_umm_ul.c
diff --git
a/src/5gnrrlc/kw_umm_ul.c
b/src/5gnrrlc/kw_umm_ul.c
index
3761777
..
ab849f4
100755
(executable)
--- a/
src/5gnrrlc/kw_umm_ul.c
+++ b/
src/5gnrrlc/kw_umm_ul.c
@@
-690,7
+690,7
@@
KwUmHdr *umHdr;
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
#else
SRemPreMsg(dst,pdu);
}
#else
SRemPreMsg(dst,pdu);
@@
-711,7
+711,7
@@
KwUmHdr *umHdr;
"SRemPreMsgMult Failed for 10 bits SN UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
"SRemPreMsgMult Failed for 10 bits SN UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
#else
SRemPreMsgMult(dst,2,pdu);
}
#else
SRemPreMsgMult(dst,2,pdu);
@@
-741,7
+741,7
@@
KwUmHdr *umHdr;
"SRemPreMsgMult Failed UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
"SRemPreMsgMult Failed UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
#else
SRemPreMsgMult(dst,2,pdu);
}
#else
SRemPreMsgMult(dst,2,pdu);
@@
-754,7
+754,7
@@
KwUmHdr *umHdr;
"Received LI as 0 UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
"Received LI as 0 UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
totalSz += umHdr->li[umHdr->numLi];
if ( pduSz <= totalSz )
}
totalSz += umHdr->li[umHdr->numLi];
if ( pduSz <= totalSz )
@@
-770,7
+770,7
@@
KwUmHdr *umHdr;
pduSz,
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
pduSz,
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
; /* the situation where in the PDU size
+
return RFAILED
; /* the situation where in the PDU size
is something that does not match with
the size in LIs*/
}
is something that does not match with
the size in LIs*/
}
@@
-793,7
+793,7
@@
KwUmHdr *umHdr;
"SRemPreMsg Failed UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
"SRemPreMsg Failed UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
#else
SRemPreMsg(dst,pdu);
}
#else
SRemPreMsg(dst,pdu);
@@
-807,7
+807,7
@@
KwUmHdr *umHdr;
"Received LI as 0 UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
"Received LI as 0 UEID:%d CELLID:%d",
rbCb->rlcId.ueId,
rbCb->rlcId.cellId);
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
totalSz += umHdr->li[umHdr->numLi];
pduSz--;
}
totalSz += umHdr->li[umHdr->numLi];
pduSz--;
@@
-815,7
+815,7
@@
KwUmHdr *umHdr;
if (pduSz < totalSz)
{
if (pduSz < totalSz)
{
-
RETVALUE(RFAILED)
; /* the situation where in the PDU size is
+
return RFAILED
; /* the situation where in the PDU size is
something that does not match with the
size in LIs*/
}
something that does not match with the
size in LIs*/
}
@@
-826,9
+826,9
@@
KwUmHdr *umHdr;
if (e)
{
/* PDU was constructed with LIs that exceeded KW_MAX_LI */
if (e)
{
/* PDU was constructed with LIs that exceeded KW_MAX_LI */
-
RETVALUE(RFAILED)
;
+
return RFAILED
;
}
}
-
RETVALUE(ROK)
;
+
return ROK
;
}
/**
}
/**