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
lizhongxiao
OpenXG-RAN
Commits
6c6ce912
Commit
6c6ce912
authored
Mar 09, 2023
by
Luis Pereira
Committed by
Robert Schmidt
Mar 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce counters for reestablishment
parent
e76e6f12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+2
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+3
-0
No files found.
openair2/RRC/NR/nr_rrc_defs.h
View file @
6c6ce912
...
...
@@ -384,7 +384,8 @@ typedef struct gNB_RRC_UE_s {
uint8_t
established_pdu_sessions_flag
;
uint32_t
ue_rrc_inactivity_timer
;
int8_t
reestablishment_xid
;
//------------------------------------------------------------------------------//
uint32_t
ue_reestablishment_counter
;
uint32_t
ue_reconfiguration_after_reestablishment_counter
;
NR_CellGroupId_t
cellGroupId
;
struct
NR_SpCellConfig
*
spCellConfig
;
struct
NR_CellGroupConfig__sCellToAddModList
*
sCellconfig
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
6c6ce912
...
...
@@ -1246,6 +1246,7 @@ rrc_gNB_process_RRCReconfigurationComplete(
for
(
int
i
=
0
;
i
<
MAX_MOBILES_PER_GNB
;
i
++
)
{
nr_reestablish_rnti_map_t
*
nr_reestablish_rnti_map
=
&
(
RC
.
nrrrc
[
ctxt_pP
->
module_id
])
->
nr_reestablish_rnti_map
[
i
];
if
(
nr_reestablish_rnti_map
->
ue_id
==
ctxt_pP
->
rntiMaybeUEid
)
{
ue_context_pP
->
ue_context
.
ue_reconfiguration_after_reestablishment_counter
++
;
reestablish_ue_id
=
nr_reestablish_rnti_map
[
i
].
c_rnti
;
LOG_D
(
NR_RRC
,
"Removing reestablish_rnti_map[%d] UEid %lx, RNTI %04x
\n
"
,
i
,
nr_reestablish_rnti_map
->
ue_id
,
nr_reestablish_rnti_map
->
c_rnti
);
// clear current C-RNTI from map
...
...
@@ -2682,6 +2683,8 @@ rrc_gNB_decode_dcch(
gNB_MAC_INST
*
nrmac
=
RC
.
nrmac
[
ctxt_pP
->
module_id
];
// WHAT A BEAUTIFULL RACE CONDITION !!!
mac_remove_nr_ue
(
nrmac
,
reestablish_rnti
);
ue_context_p
->
ue_context
.
ue_reestablishment_counter
++
;
}
// ue_context_p->ue_context.ue_release_timer = 0;
...
...
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