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
Developer-guide.rst
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_slot_ind.c
diff --git
a/src/5gnrmac/mac_slot_ind.c
b/src/5gnrmac/mac_slot_ind.c
index
0b07501
..
7f9142e
100644
(file)
--- a/
src/5gnrmac/mac_slot_ind.c
+++ b/
src/5gnrmac/mac_slot_ind.c
@@
-351,6
+351,9
@@
uint8_t fapiMacSlotInd(Pst *pst, SlotIndInfo *slotInd)
/*starting Task*/
ODU_START_TASK(&startTime, PID_MAC_TTI_IND);
/*starting Task*/
ODU_START_TASK(&startTime, PID_MAC_TTI_IND);
+/* When testing L2 with Intel-L1, any changes specific to
+ * timer mode testing must be guarded under INTEL_TIMER_MODE*/
+#ifndef INTEL_TIMER_MODE
/* send slot indication to scheduler */
ret = sendSlotIndMacToSch(slotInd);
if(ret != ROK)
/* send slot indication to scheduler */
ret = sendSlotIndMacToSch(slotInd);
if(ret != ROK)
@@
-367,6
+370,7
@@
uint8_t fapiMacSlotInd(Pst *pst, SlotIndInfo *slotInd)
MAC_FREE_SHRABL_BUF(pst->region, pst->pool, slotInd, sizeof(SlotIndInfo));
return ret;
}
MAC_FREE_SHRABL_BUF(pst->region, pst->pool, slotInd, sizeof(SlotIndInfo));
return ret;
}
+#endif
/* send slot indication to du app */
ret = sendSlotIndMacToDuApp(slotInd);
/* send slot indication to du app */
ret = sendSlotIndMacToDuApp(slotInd);