Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
5cf9cd11
Commit
5cf9cd11
authored
May 26, 2023
by
Marwan Hammouda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one one update
parent
3a55e0de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+5
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
5cf9cd11
...
...
@@ -2849,12 +2849,13 @@ void UL_tti_req_ahead_initialization(gNB_MAC_INST * gNB, NR_ServingCellConfigCom
gNB
->
UL_tti_req_ahead
[
CCid
]
=
calloc
(
MAX_NUM_UL_SCHED_FRAME
,
sizeof
(
nfapi_nr_ul_tti_request_t
*
));
AssertFatal
(
gNB
->
UL_tti_req_ahead
[
CCid
],
"could not allocate memory for gNB->UL_tti_req_ahead[]
\n
"
);
for
(
int
i
=
0
;
i
<
MAX_NUM_UL_SCHED_FRAME
;
++
i
)
{
gNB
->
UL_tti_req_ahead
[
CCid
][
i
]
=
calloc
(
n
,
sizeof
(
nfapi_nr_ul_tti_request_t
));
gNB
->
UL_tti_req_ahead
[
CCid
][
i
]
=
calloc
(
size
,
sizeof
(
nfapi_nr_ul_tti_request_t
));
AssertFatal
(
gNB
->
UL_tti_req_ahead
[
CCid
][
i
],
"could not allocate memory for gNB->UL_tti_req_ahead[][]
\n
"
);
}
/* fill in slot/frame numbers: slot is fixed, frame will be updated by scheduler
* consider that scheduler runs sl_ahead: the first sl_ahead slots are
* already "in the past" and thus we put frame 1 instead of 0! */
for
(
int
i
=
0
;
i
<
MAX_NUM_UL_SCHED_FRAME
;
++
i
)
{
for
(
int
j
=
0
;
j
<
size
;
++
j
)
{
nfapi_nr_ul_tti_request_t
*
req
=
&
gNB
->
UL_tti_req_ahead
[
CCid
][
i
][
j
];
...
...
@@ -2863,8 +2864,11 @@ void UL_tti_req_ahead_initialization(gNB_MAC_INST * gNB, NR_ServingCellConfigCom
else
req
->
SFN
=
i
;
req
->
Slot
=
j
;
LOG_D
(
MAC
,
"size:%d,n:%d,scs:%d,i:%d,j:%d
\n
"
,
size
,
n
,
scs
,
i
,
j
);
}
}
}
void
send_initial_ul_rrc_message
(
gNB_MAC_INST
*
mac
,
int
rnti
,
const
uint8_t
*
sdu
,
sdu_size_t
sdu_len
,
void
*
rawUE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment