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
/
5gnrmac
/
lwr_mac_phy.c
diff --git
a/src/5gnrmac/lwr_mac_phy.c
b/src/5gnrmac/lwr_mac_phy.c
index
15a6cb5
..
a9bf88d
100644
(file)
--- a/
src/5gnrmac/lwr_mac_phy.c
+++ b/
src/5gnrmac/lwr_mac_phy.c
@@
-31,13
+31,17
@@
#include "lwr_mac_utils.h"
#include "lwr_mac.h"
#ifdef INTEL_FAPI
#include "lwr_mac_utils.h"
#include "lwr_mac.h"
#ifdef INTEL_FAPI
-#include "
fapi
.h"
+#include "
nr5g_fapi_internal
.h"
#include "fapi_vendor_extension.h"
#endif
#ifdef INTEL_WLS_MEM
#include "wls_lib.h"
#endif
#include "fapi_vendor_extension.h"
#endif
#ifdef INTEL_WLS_MEM
#include "wls_lib.h"
#endif
+#ifdef INTEL_WLS_MEM
+CmLListCp wlsBlockToFreeList[WLS_MEM_FREE_PRD];
+#endif
+
uint8_t rgClHndlCfgReq ARGS((void *msg));
void l1ProcessFapiRequest ARGS((uint8_t msgType, uint32_t msgLen, void *msg));
uint8_t rgClHndlCfgReq ARGS((void *msg));
void l1ProcessFapiRequest ARGS((uint8_t msgType, uint32_t msgLen, void *msg));
@@
-271,7
+275,7
@@
uint8_t LwrMacSendToL1(void *msg)
{
uint8_t ret = ROK;
#ifdef INTEL_FAPI
{
uint8_t ret = ROK;
#ifdef INTEL_FAPI
- uint
16
_t msgLen =0;
+ uint
32
_t msgLen =0;
p_fapi_api_queue_elem_t currMsg = NULLP;
#ifdef CALL_FLOW_DEBUG_LOG
p_fapi_api_queue_elem_t currMsg = NULLP;
#ifdef CALL_FLOW_DEBUG_LOG