Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
b89daf68
Commit
b89daf68
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/Fix_BWP_switching_when_Msg3_DCCH' into integration_2022_wk44
parents
bacce39a
dbb61821
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1800
integration_2022_wk44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+11
-1
11 additions, 1 deletion
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
with
11 additions
and
1 deletion
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+
11
−
1
View file @
b89daf68
...
...
@@ -2246,6 +2246,8 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
else
{
DL_BWP
=
&
UE
->
current_DL_BWP
;
UL_BWP
=
&
UE
->
current_UL_BWP
;
sched_ctrl
->
next_dl_bwp_id
=
-
1
;
sched_ctrl
->
next_ul_bwp_id
=
-
1
;
CellGroup
=
UE
->
CellGroup
;
}
NR_BWP_Downlink_t
*
dl_bwp
=
NULL
;
...
...
@@ -2274,6 +2276,14 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
DL_BWP
->
bwp_id
=
0
;
UL_BWP
->
bwp_id
=
0
;
UE
->
Msg3_dcch_dtch
=
false
;
// Schedule BWP switching to the first active BWP (previous active BWP before RA with Msg3 carrying DCCH or DTCH message)
if
(
servingCellConfig
->
firstActiveDownlinkBWP_Id
)
{
sched_ctrl
->
next_dl_bwp_id
=
*
servingCellConfig
->
firstActiveDownlinkBWP_Id
;
}
if
(
servingCellConfig
->
uplinkConfig
->
firstActiveUplinkBWP_Id
)
{
sched_ctrl
->
next_ul_bwp_id
=
*
servingCellConfig
->
uplinkConfig
->
firstActiveUplinkBWP_Id
;
}
}
else
{
// (re)configuring BWP
...
...
@@ -2327,7 +2337,7 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
}
else
{
DL_BWP
->
bwp_id
=
0
;
D
L_BWP
->
bwp_id
=
0
;
U
L_BWP
->
bwp_id
=
0
;
target_ss
=
NR_SearchSpace__searchSpaceType_PR_common
;
DL_BWP
->
pdsch_Config
=
NULL
;
UL_BWP
->
pusch_Config
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment