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
wangjie
OpenXG-RAN
Commits
298f07af
Commit
298f07af
authored
Jun 16, 2021
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed msg3 sched for FR2
parent
358815f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+7
-3
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
298f07af
...
@@ -720,9 +720,13 @@ void nr_get_Msg3alloc(module_id_t module_id,
...
@@ -720,9 +720,13 @@ void nr_get_Msg3alloc(module_id_t module_id,
if
((
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
.
nrofDownlinkSymbols
>
0
)
||
(
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
.
nrofUplinkSymbols
>
0
))
if
((
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
.
nrofDownlinkSymbols
>
0
)
||
(
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
.
nrofUplinkSymbols
>
0
))
tdd_period_slot
++
;
tdd_period_slot
++
;
int
num_tdd_period
=
ra
->
Msg3_slot
/
tdd_period_slot
;
int
num_tdd_period
=
ra
->
Msg3_slot
/
tdd_period_slot
;
if
((
tdd_beam_association
[
num_tdd_period
]
!=-
1
)
&&
(
tdd_beam_association
[
num_tdd_period
]
!=
ra
->
beam_id
))
AssertFatal
(
1
==
0
,
"Cannot schedule MSG3
\n
"
);
while
((
tdd_beam_association
[
num_tdd_period
]
!=-
1
)
&&
(
tdd_beam_association
[
num_tdd_period
]
!=
ra
->
beam_id
))
{
else
ra
->
Msg3_slot
=
(
ra
->
Msg3_slot
+
tdd_period_slot
)
%
nr_slots_per_frame
[
mu
];
ra
->
Msg3_frame
=
((
ra
->
Msg3_slot
>
(
ra
->
Msg2_slot
))
?
ra
->
Msg2_frame
:
(
ra
->
Msg2_frame
+
1
))
%
1024
;
num_tdd_period
=
ra
->
Msg3_slot
/
tdd_period_slot
;
}
if
(
tdd_beam_association
[
num_tdd_period
]
==
-
1
)
tdd_beam_association
[
num_tdd_period
]
=
ra
->
beam_id
;
tdd_beam_association
[
num_tdd_period
]
=
ra
->
beam_id
;
}
}
...
...
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