Merge remote-tracking branch 'origin/Fix_BWP_switching_when_Msg3_DCCH' into integration_2022_wk44
This commit is contained in:
@@ -2246,6 +2246,8 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
|
|||||||
else {
|
else {
|
||||||
DL_BWP = &UE->current_DL_BWP;
|
DL_BWP = &UE->current_DL_BWP;
|
||||||
UL_BWP = &UE->current_UL_BWP;
|
UL_BWP = &UE->current_UL_BWP;
|
||||||
|
sched_ctrl->next_dl_bwp_id = -1;
|
||||||
|
sched_ctrl->next_ul_bwp_id = -1;
|
||||||
CellGroup = UE->CellGroup;
|
CellGroup = UE->CellGroup;
|
||||||
}
|
}
|
||||||
NR_BWP_Downlink_t *dl_bwp = NULL;
|
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;
|
DL_BWP->bwp_id = 0;
|
||||||
UL_BWP->bwp_id = 0;
|
UL_BWP->bwp_id = 0;
|
||||||
UE->Msg3_dcch_dtch = false;
|
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 {
|
else {
|
||||||
// (re)configuring BWP
|
// (re)configuring BWP
|
||||||
@@ -2327,7 +2337,7 @@ void configure_UE_BWP(gNB_MAC_INST *nr_mac,
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DL_BWP->bwp_id = 0;
|
DL_BWP->bwp_id = 0;
|
||||||
DL_BWP->bwp_id = 0;
|
UL_BWP->bwp_id = 0;
|
||||||
target_ss = NR_SearchSpace__searchSpaceType_PR_common;
|
target_ss = NR_SearchSpace__searchSpaceType_PR_common;
|
||||||
DL_BWP->pdsch_Config = NULL;
|
DL_BWP->pdsch_Config = NULL;
|
||||||
UL_BWP->pusch_Config = NULL;
|
UL_BWP->pusch_Config = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user