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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
b398b1bd
Commit
b398b1bd
authored
Nov 26, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix MSG3 allocation assertion condition
parent
03946cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+1
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
b398b1bd
...
...
@@ -1013,7 +1013,6 @@ static void nr_get_Msg3alloc(module_id_t module_id,
frame_t
current_frame
,
NR_RA_t
*
ra
)
{
// msg3 is scheduled in mixed slot in the following TDD period
DevAssert
(
ra
->
Msg3_tda_id
>=
0
&&
ra
->
Msg3_tda_id
<
16
);
uint16_t
msg3_nb_rb
=
8
;
// sdu has 6 or 8 bytes
...
...
@@ -1056,7 +1055,7 @@ static void nr_get_Msg3alloc(module_id_t module_id,
rbSize
=
0
;
while
(
rbStart
<
bwpSize
&&
(
vrb_map_UL
[
rbStart
+
bwpStart
]
&
SL_to_bitmap
(
ra
->
msg3_startsymb
,
ra
->
msg3_nbSymb
)))
rbStart
++
;
AssertFatal
(
rbStart
<
bwpSize
-
msg3_nb_rb
,
"no space to allocate Msg 3 for RA!
\n
"
);
AssertFatal
(
rbStart
+
msg3_nb_rb
-
1
<
bwpSize
,
"no space to allocate Msg 3 for RA!
\n
"
);
while
(
rbStart
+
rbSize
<
bwpSize
&&
!
(
vrb_map_UL
[
rbStart
+
bwpStart
+
rbSize
]
&
SL_to_bitmap
(
ra
->
msg3_startsymb
,
ra
->
msg3_nbSymb
))
&&
rbSize
<
msg3_nb_rb
)
rbSize
++
;
...
...
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