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
6bc486f5
Commit
6bc486f5
authored
Jul 18, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup: Simplify code
parent
cbf84897
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+4
-12
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
6bc486f5
...
...
@@ -901,18 +901,10 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
// Switch to BWP where RA is configured, typically in the InitialBWP
// At this point, UE already switched and triggered RA in that BWP, need to do BWP switching also at gNB for C-RNTI
if
((
ra
->
DL_BWP
.
bwp_id
!=
UE
->
current_DL_BWP
.
bwp_id
)
||
(
ra
->
UL_BWP
.
bwp_id
!=
UE
->
current_UL_BWP
.
bwp_id
))
{
LOG_I
(
NR_MAC
,
"BWP switching at gNB from BWP id %ld to BWP id %ld due to RA configuration
\n
"
,
UE
->
current_DL_BWP
.
bwp_id
,
ra
->
DL_BWP
.
bwp_id
);
configure_UE_BWP
(
RC
.
nrmac
[
gnb_mod_idP
],
RC
.
nrmac
[
gnb_mod_idP
]
->
common_channels
[
CC_idP
].
ServingCellConfigCommon
,
&
UE
->
UE_sched_ctrl
,
NULL
,
UE
,
ra
->
DL_BWP
.
bwp_id
,
ra
->
UL_BWP
.
bwp_id
);
if
(
ra
->
DL_BWP
.
bwp_id
!=
UE
->
current_DL_BWP
.
bwp_id
||
ra
->
UL_BWP
.
bwp_id
!=
UE
->
current_UL_BWP
.
bwp_id
)
{
LOG_D
(
NR_MAC
,
"UE %04x Switch BWP from %ld to BWP id %ld
\n
"
,
UE
->
rnti
,
UE
->
current_DL_BWP
.
bwp_id
,
ra
->
DL_BWP
.
bwp_id
);
NR_ServingCellConfigCommon_t
*
scc
=
gNB_mac
->
common_channels
[
CC_idP
].
ServingCellConfigCommon
;
configure_UE_BWP
(
gNB_mac
,
scc
,
&
UE
->
UE_sched_ctrl
,
NULL
,
UE
,
ra
->
DL_BWP
.
bwp_id
,
ra
->
UL_BWP
.
bwp_id
);
}
if
(
UE
->
reconfigCellGroup
)
{
...
...
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