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 "Cleanup of dutocurrc container"
[o-du/l2.git]
/
src
/
mt
/
mt_ss.c
diff --git
a/src/mt/mt_ss.c
b/src/mt/mt_ss.c
index
c4cb84c
..
427c89d
100644
(file)
--- a/
src/mt/mt_ss.c
+++ b/
src/mt/mt_ss.c
@@
-161,11
+161,15
@@
#include "sys/syscall.h"
#endif
#include "sys/syscall.h"
#endif
-#if
def RGL_SPECIFIC_CHANGES
+#if
defined(RGL_SPECIFIC_CHANGES) || defined(INTEL_WLS)
#include <wls_lib.h>
#include <hugetlbfs.h>
#endif
#include <wls_lib.h>
#include <hugetlbfs.h>
#endif
+#ifdef INTEL_WLS
+EXTERN void LwrMacRecvPhyMsg();
+#endif
+
#if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF)
EXTERN S16 rgBatchProc (Void);
#endif
#if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF)
EXTERN S16 rgBatchProc (Void);
#endif
@@
-773,7
+777,7
@@
PRIVATE int SOpenWlsIntf()
hdl = WLS_Open(WLS_DEVICE_NAME, 1);
#endif
#else
hdl = WLS_Open(WLS_DEVICE_NAME, 1);
#endif
#else
- hdl = WLS_Open(WLS_DEVICE_NAME,
0
);
+ hdl = WLS_Open(WLS_DEVICE_NAME,
WLS_MASTER_CLIENT, (512 *1024 * 1024)
);
#endif
osCp.wls.intf = hdl;
#endif
osCp.wls.intf = hdl;
@@
-1398,7
+1402,6
@@
Region reg;
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
- U8 blkCnt;
U8 bktIdx= reg;
TRC3(isMemThreshReached)
U8 bktIdx= reg;
TRC3(isMemThreshReached)
@@
-1510,7
+1513,7
@@
PUBLIC S16 SPartitionWlsMemory()
for (i = 0; i < 1; i++)
{
mtRegMemSz[i].startAddr = regMemStrtAddr;
for (i = 0; i < 1; i++)
{
mtRegMemSz[i].startAddr = regMemStrtAddr;
- CM_LOG_DEBUG(CM_LOG_ID_MT, "Global Region-->Bkt[%d] Addr:%p\n", i, mtRegMemSz[i].startAddr);
+
//
CM_LOG_DEBUG(CM_LOG_ID_MT, "Global Region-->Bkt[%d] Addr:%p\n", i, mtRegMemSz[i].startAddr);
numHugePg = DIV_ROUND_OFFSET(mtRegMemSz[i].reqdSz, hugePageSize);
reqdSz = numHugePg * hugePageSize;
numHugePg = DIV_ROUND_OFFSET(mtRegMemSz[i].reqdSz, hugePageSize);
reqdSz = numHugePg * hugePageSize;
@@
-4905,6
+4908,11
@@
Ptr tskPtr; /* pointer to task entry */
#endif
while (1)
{
#endif
while (1)
{
+#ifndef ODU_TEST_STUB
+#ifdef INTEL_WLS
+ LwrMacRecvPhyMsg();
+#endif
+#endif
/* Wait for a message from the demand queue */
#ifdef SS_CDMNDQ_SUPPORT
ret = ssCDmndQWait(&sTsk->dQ);
/* Wait for a message from the demand queue */
#ifdef SS_CDMNDQ_SUPPORT
ret = ssCDmndQWait(&sTsk->dQ);