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 "[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-425] Fixes in the CU stub for memory...
[o-du/l2.git]
/
src
/
phy_stub
/
phy_stub_msg_hdl.c
diff --git
a/src/phy_stub/phy_stub_msg_hdl.c
b/src/phy_stub/phy_stub_msg_hdl.c
index
79d973f
..
89c58fd
100644
(file)
--- a/
src/phy_stub/phy_stub_msg_hdl.c
+++ b/
src/phy_stub/phy_stub_msg_hdl.c
@@
-349,7
+349,7
@@
uint16_t l1BuildAndSendRxDataInd(uint16_t slot, uint16_t sfn, fapi_ul_pusch_pdu_
uint32_t msgLen = 0;
MsgType type = 0;
uint32_t msgLen = 0;
MsgType type = 0;
- GET_UE_ID
X
(puschPdu.rnti, ueId);
+ GET_UE_ID(puschPdu.rnti, ueId);
if(!ueDb.ueCb[ueId-1].msg3Sent)
{
ueDb.ueCb[ueId-1].ueId = ueId;
if(!ueDb.ueCb[ueId-1].msg3Sent)
{
ueDb.ueCb[ueId-1].ueId = ueId;
@@
-469,7
+469,7
@@
uint16_t l1BuildAndSendRxDataInd(uint16_t slot, uint16_t sfn, fapi_ul_pusch_pdu_
From 38.321 section 6.1.1
*/
uint8_t msg5[] = {1, msg5PduLen, 0, 0, 16, 0, 5, 223, 128, 16, 94, \
From 38.321 section 6.1.1
*/
uint8_t msg5[] = {1, msg5PduLen, 0, 0, 16, 0, 5, 223, 128, 16, 94, \
- 64, 3, 64,
89, 61, 138, 64
, 0, 0, 0, 4, 0, 0, 4, 68, 11, 128, \
+ 64, 3, 64,
68, 252, 97, 0
, 0, 0, 0, 4, 0, 0, 4, 68, 11, 128, \
184, 56, 0, 0, 0, 0, 0};
msg5PduLen += 2; /* 2bytes of header */
184, 56, 0, 0, 0, 0, 0};
msg5PduLen += 2; /* 2bytes of header */
@@
-1051,6
+1051,7
@@
S16 l1HdlUlTtiReq(uint16_t msgLen, void *msg)
l1BuildAndSendRachInd(ulTtiReq->slot, ulTtiReq->sfn);
ueDb.numActvUe++;
}
l1BuildAndSendRachInd(ulTtiReq->slot, ulTtiReq->sfn);
ueDb.numActvUe++;
}
+#if 0
/* Send RACH Ind to L2 for second UE */
if(ueDb.ueCb[UE_IDX_1].rachIndSent == false && ulTtiReq->sfn == 304 && ulTtiReq->slot == 0)
{
/* Send RACH Ind to L2 for second UE */
if(ueDb.ueCb[UE_IDX_1].rachIndSent == false && ulTtiReq->sfn == 304 && ulTtiReq->slot == 0)
{
@@
-1066,6
+1067,7
@@
S16 l1HdlUlTtiReq(uint16_t msgLen, void *msg)
l1BuildAndSendRachInd(ulTtiReq->slot, ulTtiReq->sfn);
ueDb.numActvUe++;
}
l1BuildAndSendRachInd(ulTtiReq->slot, ulTtiReq->sfn);
ueDb.numActvUe++;
}
+#endif
MAC_FREE(msg, msgLen);
#endif
return ROK;
MAC_FREE(msg, msgLen);
#endif
return ROK;