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-473 Tdd mode related fixes
[o-du/l2.git]
/
src
/
5gnrrlc
/
rlc_mgr.c
diff --git
a/src/5gnrrlc/rlc_mgr.c
b/src/5gnrrlc/rlc_mgr.c
index
76d85f3
..
60391ef
100644
(file)
--- a/
src/5gnrrlc/rlc_mgr.c
+++ b/
src/5gnrrlc/rlc_mgr.c
@@
-21,8
+21,8
@@
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
#include "lkw.h" /* LKW defines */
#include "ckw.h" /* CKW defines */
#include "kwu.h" /* KWU defines */
-#include "
kw
_env.h" /* RLC environment options */
-#include "
kw.h" /* RLC defines */
+#include "
rlc
_env.h" /* RLC environment options */
+#include "
rlc_err.h"
/* header/extern include files (.x) */
/* header/extern include files (.x) */
@@
-30,9
+30,8
@@
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
#include "lkw.x" /* LKW */
#include "ckw.x" /* CKW */
#include "kwu.x" /* KWU */
-#include "kw_err.h"
-#include "kw.x"
+#include "rlc_utils.h" /* RLC defines */
#include "du_app_rlc_inf.h"
#include "rlc_mgr.h"
#include "du_app_rlc_inf.h"
#include "rlc_mgr.h"
@@
-62,12
+61,14
@@
RlcDuUeCfgRsp rlcUeCfgRspOpts[] =
* -# RFAILED
*
*************************************************************/
* -# RFAILED
*
*************************************************************/
-uint8_t SendRlcUeRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
+uint8_t SendRlcUe
Cfg
RspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
{
/* jump to specific primitive depending on configured selector */
uint8_t ret = ROK;
{
/* jump to specific primitive depending on configured selector */
uint8_t ret = ROK;
+ RlcCb *gCb;
RlcUeCfgRsp *ueRsp = NULLP;
RlcUeCfgRsp *ueRsp = NULLP;
+ gCb = RLC_GET_RLCCB(pst->srcInst);
RLC_ALLOC_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
if(!ueRsp)
{
RLC_ALLOC_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
if(!ueRsp)
{
@@
-83,7
+84,7
@@
uint8_t SendRlcUeRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
ret = (*rlcUeCfgRspOpts[pst->selector])(pst, ueRsp);
if(ret)
{
ret = (*rlcUeCfgRspOpts[pst->selector])(pst, ueRsp);
if(ret)
{
- DU_LOG("\nERROR --> RLC: Failed at SendRlcUeRspToDu()");
+ DU_LOG("\nERROR --> RLC: Failed at SendRlcUe
Cfg
RspToDu()");
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
@@
-93,8
+94,9
@@
uint8_t SendRlcUeRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
+ RLC_FREE(gCb, cfgRsp, sizeof(RlcCfgCfmInfo));
return ret;
return ret;
-} /* end of SendRlcUeRspToDu */
+} /* end of SendRlcUe
Cfg
RspToDu */
/**********************************************************************
End of file
/**********************************************************************
End of file