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 "Get alarm-list implementation.[Issue-Id: ODUHIGH-230]"
[o-du/l2.git]
/
src
/
5gnrrlc
/
kw_uim.c
diff --git
a/src/5gnrrlc/kw_uim.c
b/src/5gnrrlc/kw_uim.c
index
19a8313
..
484ec84
100755
(executable)
--- a/
src/5gnrrlc/kw_uim.c
+++ b/
src/5gnrrlc/kw_uim.c
@@
-97,19
+97,12
@@
static int RLOG_FILE_ID=205;
* -# RFAILED
*
*/
* -# RFAILED
*
*/
-#ifdef ANSI
S16 RlcUiCkwBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
S16 RlcUiCkwBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 RlcUiCkwBndReq (pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
RlcCkwSapCb *ckwSap;
RlcCb *tRlcCb;
{
RlcCkwSapCb *ckwSap;
RlcCb *tRlcCb;
@@
-202,19
+195,12
@@
SpId spId;
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiCkwUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
S16 RlcUiCkwUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 RlcUiCkwUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
RlcCb *tRlcCb;
{
RlcCb *tRlcCb;
@@
-260,22
+246,16
@@
Reason reason;
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcProcCfgReq
(
Pst *pst,
RlcCfgInfo *cfg
)
S16 RlcProcCfgReq
(
Pst *pst,
RlcCfgInfo *cfg
)
-#else
-S16 RlcProcCfgReq(pst, cfg)
-Pst *pst;
-RlcCfgInfo *cfg;
-#endif
{
RlcCb *tRlcCb;
RlcUlCfgTmpData *cfgTmpData;
{
RlcCb *tRlcCb;
RlcUlCfgTmpData *cfgTmpData;
- static
U32
transCount;
+ static
uint32_t
transCount;
#if (ERRCLASS & ERRCLS_INT_PAR)
if (pst->dstInst >= MAX_RLC_INSTANCES)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (pst->dstInst >= MAX_RLC_INSTANCES)
@@
-334,23
+314,14
@@
RlcCfgInfo *cfg;
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiCkwUeIdChgReq
(
Pst *pst,
SpId spId,
S16 RlcUiCkwUeIdChgReq
(
Pst *pst,
SpId spId,
-
U32
transId,
+
uint32_t
transId,
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo
)
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo
)
-#else
-S16 RlcUiCkwUeIdChgReq(pst, spId, transId, ueInfo, newUeInfo)
-Pst *pst;
-SpId spId;
-U32 transId;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-#endif
{
S16 ret = ROK;
RlcCb *tRlcCb;
{
S16 ret = ROK;
RlcCb *tRlcCb;
@@
-442,21
+413,14
@@
CkwUeInfo *newUeInfo;
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
Void rlcUlHdlCfgReq
(
Void rlcUlHdlCfgReq
(
-RlcCb
*gCb,
-RlcUlCfgTmpData
*cfgTmpData,
-RlcCfgInfo
*cfg
+RlcCb *gCb,
+RlcUlCfgTmpData *cfgTmpData,
+RlcCfgInfo *cfg
)
)
-#else
-Void rlcUlHdlCfgReq(gCb, cfgTmpData, cfg)
-RlcCb *gCb;
-RlcUlCfgTmpData *cfgTmpData;
-RlcCfgInfo *cfg;
-#endif
{
{
-
U8
idx;
+
uint8_t
idx;
cfgTmpData->ueId = cfg->ueId;
cfgTmpData->cellId = cfg->cellId;
cfgTmpData->ueId = cfg->ueId;
cfgTmpData->cellId = cfg->cellId;
@@
-569,7
+533,7
@@
RlcCfgInfo *cfg;
}
}/* switch end */
}/* for end */
}
}/* switch end */
}/* for end */
-
RETVOID
;
+
return
;
}
\f
}
\f
@@
-596,19
+560,12
@@
RlcCfgInfo *cfg;
* -# RFAILED
*
*/
* -# RFAILED
*
*/
-#ifdef ANSI
S16 RlcUiKwuBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
S16 RlcUiKwuBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 RlcUiKwuBndReq (pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
RlcKwuSapCb *rlckwuSap; /* SAP Config Block */
RlcCb *tRlcCb;
{
RlcKwuSapCb *rlckwuSap; /* SAP Config Block */
RlcCb *tRlcCb;
@@
-713,19
+670,12
@@
SpId spId;
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
S16 RlcUiKwuUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 RlcUiKwuUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
RlcKwuSapCb *rlckwuSap; /* KWU SAP control block */
RlcCb *tRlcCb;
{
RlcKwuSapCb *rlckwuSap; /* KWU SAP control block */
RlcCb *tRlcCb;
@@
-858,19
+808,12
@@
uint8_t rlcProcDlData(Pst *pst, KwuDatReqInfo *datReq, Buffer *mBuf)
* -# ROK
* -# RFAILED
*/
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuDiscSduReq
(
Pst *pst,
SpId spId,
KwuDiscSduInfo *discSdu
)
S16 RlcUiKwuDiscSduReq
(
Pst *pst,
SpId spId,
KwuDiscSduInfo *discSdu
)
-#else
-S16 RlcUiKwuDiscSduReq(pst, spId, discSdu)
-Pst *pst;
-SpId spId;
-KwuDiscSduInfo *discSdu;
-#endif
{
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, discSdu, sizeof(KwuDiscSduInfo));
return ROK;
{
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, discSdu, sizeof(KwuDiscSduInfo));
return ROK;