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
9ca0b133
Commit
9ca0b133
authored
Oct 08, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resume RBs in 1st reconfiguration after reestablishment
parent
9a4f12b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+14
-0
openair2/RRC/NR_UE/rrc_defs.h
openair2/RRC/NR_UE/rrc_defs.h
+2
-1
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
9ca0b133
...
@@ -606,6 +606,7 @@ NR_UE_RRC_INST_t* nr_rrc_init_ue(char* uecap_file, int nb_inst, int num_ant_tx)
...
@@ -606,6 +606,7 @@ NR_UE_RRC_INST_t* nr_rrc_init_ue(char* uecap_file, int nb_inst, int num_ant_tx)
rrc
->
ul_bwp_id
=
0
;
rrc
->
ul_bwp_id
=
0
;
rrc
->
as_security_activated
=
false
;
rrc
->
as_security_activated
=
false
;
rrc
->
detach_after_release
=
false
;
rrc
->
detach_after_release
=
false
;
rrc
->
reconfig_after_reestab
=
false
;
FILE
*
f
=
NULL
;
FILE
*
f
=
NULL
;
if
(
uecap_file
)
if
(
uecap_file
)
...
@@ -1761,6 +1762,8 @@ static void nr_rrc_ue_process_rrcReestablishment(NR_UE_RRC_INST_t *rrc,
...
@@ -1761,6 +1762,8 @@ static void nr_rrc_ue_process_rrcReestablishment(NR_UE_RRC_INST_t *rrc,
// resetting the RA trigger state after receiving MSG4 with RRCReestablishment
// resetting the RA trigger state after receiving MSG4 with RRCReestablishment
rrc
->
ra_trigger
=
RA_NOT_RUNNING
;
rrc
->
ra_trigger
=
RA_NOT_RUNNING
;
// to flag 1st reconfiguration after reestablishment
rrc
->
reconfig_after_reestab
=
true
;
// submit the RRCReestablishmentComplete message to lower layers for transmission
// submit the RRCReestablishmentComplete message to lower layers for transmission
nr_rrc_ue_generate_rrcReestablishmentComplete
(
rrc
,
rrcReestablishment
);
nr_rrc_ue_generate_rrcReestablishmentComplete
(
rrc
,
rrcReestablishment
);
...
@@ -1801,6 +1804,17 @@ static int nr_rrc_ue_decode_dcch(NR_UE_RRC_INST_t *rrc,
...
@@ -1801,6 +1804,17 @@ static int nr_rrc_ue_decode_dcch(NR_UE_RRC_INST_t *rrc,
case
NR_DL_DCCH_MessageType__c1_PR_rrcReconfiguration
:
{
case
NR_DL_DCCH_MessageType__c1_PR_rrcReconfiguration
:
{
nr_rrc_ue_process_rrcReconfiguration
(
rrc
,
gNB_indexP
,
c1
->
choice
.
rrcReconfiguration
);
nr_rrc_ue_process_rrcReconfiguration
(
rrc
,
gNB_indexP
,
c1
->
choice
.
rrcReconfiguration
);
if
(
rrc
->
reconfig_after_reestab
)
{
// if this is the first RRCReconfiguration message after successful completion of the RRC re-establishment procedure
// resume SRB2 and DRBs that are suspended
if
(
rrc
->
Srb
[
2
]
==
RB_SUSPENDED
)
rrc
->
Srb
[
2
]
=
RB_ESTABLISHED
;
for
(
int
i
=
1
;
i
<=
MAX_DRBS_PER_UE
;
i
++
)
{
if
(
get_DRB_status
(
rrc
,
i
)
==
RB_SUSPENDED
)
set_DRB_status
(
rrc
,
i
,
RB_ESTABLISHED
);
}
rrc
->
reconfig_after_reestab
=
false
;
}
nr_rrc_ue_generate_RRCReconfigurationComplete
(
rrc
,
Srb_id
,
c1
->
choice
.
rrcReconfiguration
->
rrc_TransactionIdentifier
);
nr_rrc_ue_generate_RRCReconfigurationComplete
(
rrc
,
Srb_id
,
c1
->
choice
.
rrcReconfiguration
->
rrc_TransactionIdentifier
);
}
break
;
}
break
;
...
...
openair2/RRC/NR_UE/rrc_defs.h
View file @
9ca0b133
...
@@ -230,7 +230,8 @@ typedef struct NR_UE_RRC_INST_s {
...
@@ -230,7 +230,8 @@ typedef struct NR_UE_RRC_INST_s {
NR_RRCRelease_t
*
RRCRelease
;
NR_RRCRelease_t
*
RRCRelease
;
long
selected_plmn_identity
;
long
selected_plmn_identity
;
Rrc_State_NR_t
nrRrcState
;
Rrc_State_NR_t
nrRrcState
;
// flag to identify 1st reconfiguration after reestablishment
bool
reconfig_after_reestab
;
//Sidelink params
//Sidelink params
NR_SL_PreconfigurationNR_r16_t
*
sl_preconfig
;
NR_SL_PreconfigurationNR_r16_t
*
sl_preconfig
;
...
...
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