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
Installation guide
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_slot_ind.c
diff --git
a/src/5gnrsch/sch_slot_ind.c
b/src/5gnrsch/sch_slot_ind.c
index
6769eeb
..
9579bec
100644
(file)
--- a/
src/5gnrsch/sch_slot_ind.c
+++ b/
src/5gnrsch/sch_slot_ind.c
@@
-49,8
+49,8
@@
SchMacDlAllocFunc schMacDlAllocOpts[] =
packSchMacDlAlloc
};
packSchMacDlAlloc
};
-
extern
SchCb schCb[SCH_MAX_INST];
-
extern
int schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t
+SchCb schCb[SCH_MAX_INST];
+int schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t
offsetPointA);
/*******************************************************************
offsetPointA);
/*******************************************************************
@@
-170,17
+170,17
@@
uint8_t schFillBoGrantDlSchedInfo(SchCellCb *cell, DlSchedInfo *dlSchedInfo, DlM
dlMsgAlloc->numLc = 0;
for(lcIdx = 0; lcIdx < MAX_NUM_LC; lcIdx++)
{
dlMsgAlloc->numLc = 0;
for(lcIdx = 0; lcIdx < MAX_NUM_LC; lcIdx++)
{
- if(ueCb->dlLcCtxt[lcIdx].bo)
+ if(ueCb->dl
Info.dl
LcCtxt[lcIdx].bo)
{
dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].lcId = lcIdx;
/* calculation for BO includse RLC and MAC header size */
dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].schBytes = \
{
dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].lcId = lcIdx;
/* calculation for BO includse RLC and MAC header size */
dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].schBytes = \
- ueCb->dlLcCtxt[lcIdx].bo + RLC_HDR_SIZE + MAC_HDR_SIZE;
+ ueCb->dl
Info.dl
LcCtxt[lcIdx].bo + RLC_HDR_SIZE + MAC_HDR_SIZE;
accumalatedSize += dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].schBytes;
dlMsgAlloc->numLc++;
}
accumalatedSize += dlMsgAlloc->lcSchInfo[dlMsgAlloc->numLc].schBytes;
dlMsgAlloc->numLc++;
}
- ueCb->dlLcCtxt[lcIdx].bo = 0;
+ ueCb->dl
Info.dl
LcCtxt[lcIdx].bo = 0;
}
/* pdcch and pdsch data is filled */
}
/* pdcch and pdsch data is filled */