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-606 ] Fixing null memory size allocation issue
[o-du/l2.git]
/
src
/
5gnrrlc
/
rlc_upr_inf_mgr.c
diff --git
a/src/5gnrrlc/rlc_upr_inf_mgr.c
b/src/5gnrrlc/rlc_upr_inf_mgr.c
index
9c99b63
..
296f2c4
100755
(executable)
--- a/
src/5gnrrlc/rlc_upr_inf_mgr.c
+++ b/
src/5gnrrlc/rlc_upr_inf_mgr.c
@@
-895,7
+895,7
@@
RlcTptPerSnssai* rlcHandleSnssaiTputlist(RlcCb *gCb, Snssai *snssai, ActionTypeL
snssaiNode = (RlcTptPerSnssai *)node->node;
if(memcmp(snssaiNode->snssai, snssai, sizeof(Snssai)) == 0)
{
snssaiNode = (RlcTptPerSnssai *)node->node;
if(memcmp(snssaiNode->snssai, snssai, sizeof(Snssai)) == 0)
{
- DU_LOG("\nDEBUG --> RLC : SNSSAI found in LL");
+ DU_LOG("\nDEBUG -->
RLC : SNSSAI found in LL");
found = TRUE;
break;
}
found = TRUE;
break;
}
@@
-975,6
+975,16
@@
RlcTptPerSnssai* rlcHandleSnssaiTputlist(RlcCb *gCb, Snssai *snssai, ActionTypeL
}
return NULLP;
}
}
return NULLP;
}
+ case PRINT:
+ case TRAVERSE_ALL:
+ {
+ break;
+ }
+ default:
+ {
+ DU_LOG("\nERROR -> RLC: Incorrect ActionType:%d",action);
+ break;
+ }
}
return (snssaiNode);
}
}
return (snssaiNode);
}
@@
-1064,7
+1074,7
@@
uint8_t rlcCalculateTputPerSnssai(CmLListCp *snssaiList, Direction dir)
while(node)
{
snssaiNode = (RlcTptPerSnssai *)node->node;
while(node)
{
snssaiNode = (RlcTptPerSnssai *)node->node;
- snssaiNode->tpt = (double)(snssaiNode->dataVol * 8)/(double)(
ODU_SNSSAI_THROUGHPUT_PRINT_TIME_INTERVAL
* 0.001);
+ snssaiNode->tpt = (double)(snssaiNode->dataVol * 8)/(double)(
gConfigInfo.gSnssaiThrptTimeIntervl
* 0.001);
if(dir == DIR_DL)
{
if(dir == DIR_DL)
{