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-402][Task-ID: ODUHIGH-418] Harq feature changes"
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_rach.c
diff --git
a/src/5gnrmac/mac_rach.c
b/src/5gnrmac/mac_rach.c
index
0100631
..
cc59d5c
100644
(file)
--- a/
src/5gnrmac/mac_rach.c
+++ b/
src/5gnrmac/mac_rach.c
@@
-146,8
+146,13
@@
uint8_t createMacRaCb(MacCellCb *cellCb, RachIndInfo *rachIndInfo)
GET_CRNTI(crnti, ueIdx+1);
/* Store in raCb */
GET_CRNTI(crnti, ueIdx+1);
/* Store in raCb */
+ memset(&cellCb->macRaCb[ueIdx], 0, sizeof(MacRaCbInfo));
cellCb->macRaCb[ueIdx].cellId = rachIndInfo->cellId;
cellCb->macRaCb[ueIdx].crnti = crnti;
cellCb->macRaCb[ueIdx].cellId = rachIndInfo->cellId;
cellCb->macRaCb[ueIdx].crnti = crnti;
+
+ /* Initialize MSG4 HARQ PROC CB */
+ cellCb->macRaCb[ueIdx].msg4HqInfo.procId = MAX_NUM_HARQ_PROC;
+
}
/* Store in Rach Indication message to be sent to SCH */
}
/* Store in Rach Indication message to be sent to SCH */