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
spbro
OpenXG-RAN
Commits
282fd655
Commit
282fd655
authored
Aug 19, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix msg3 rb_start condition
parent
76bc07a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
282fd655
...
...
@@ -755,7 +755,7 @@ void nr_get_Msg3alloc(module_id_t module_id,
NR_BWP_Uplink_t
*
ubwp
=
ra
->
CellGroup
->
spCellConfig
->
spCellConfigDedicated
->
uplinkConfig
->
uplinkBWP_ToAddModList
->
list
.
array
[
ra
->
bwp_id
-
1
];
int
act_bwp_start
=
NRRIV2PRBOFFSET
(
ubwp
->
bwp_Common
->
genericParameters
.
locationAndBandwidth
,
MAX_BWP_SIZE
);
int
act_bwp_size
=
NRRIV2BW
(
ubwp
->
bwp_Common
->
genericParameters
.
locationAndBandwidth
,
MAX_BWP_SIZE
);
if
(
(
bwpStart
<
act_bwp_start
)
||
(
bwpSize
>
act_bwp_size
))
if
(
!
((
bwpStart
>=
act_bwp_start
)
&&
((
bwpStart
+
bwpSize
)
<=
(
act_bwp_start
+
act_bwp_size
))
))
bwpStart
=
act_bwp_start
;
}
...
...
@@ -853,7 +853,7 @@ void nr_add_msg3(module_id_t module_idP, int CC_id, frame_t frameP, sub_frame_t
pusch_pdu
->
rnti
=
ra
->
rnti
;
pusch_pdu
->
handle
=
0
;
if
(
(
ibwp_start
<
abwp_start
)
||
(
ibwp_size
>
abwp_size
))
if
(
!
((
ibwp_start
>=
abwp_start
)
&&
((
ibwp_size
+
ibwp_start
)
<=
(
abwp_size
+
abwp_start
))
))
pusch_pdu
->
bwp_start
=
abwp_start
;
else
pusch_pdu
->
bwp_start
=
ibwp_start
;
...
...
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