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
e01957e8
Commit
e01957e8
authored
Jun 03, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove RRC status: it is not needed
parent
e6323257
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+0
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+0
-17
No files found.
openair2/RRC/NR/nr_rrc_defs.h
View file @
e01957e8
...
...
@@ -284,7 +284,6 @@ typedef struct gNB_RRC_UE_s {
NR_CipheringAlgorithm_t
ciphering_algorithm
;
e_NR_IntegrityProtAlgorithm
integrity_algorithm
;
NR_UE_STATE_t
StatusRrc
;
rnti_t
rnti
;
uint64_t
random_ue_identity
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
e01957e8
...
...
@@ -477,7 +477,6 @@ static void rrc_gNB_process_RRCSetupComplete(const protocol_ctxt_t *const ctxt_p
LOG_A
(
NR_RRC
,
"UE %d Processing NR_RRCSetupComplete from UE
\n
"
,
ue_context_pP
->
ue_context
.
rrc_ue_id
);
ue_context_pP
->
ue_context
.
Srb
[
1
].
Active
=
1
;
ue_context_pP
->
ue_context
.
Srb
[
2
].
Active
=
0
;
ue_context_pP
->
ue_context
.
StatusRrc
=
NR_RRC_CONNECTED
;
AssertFatal
(
ctxt_pP
->
rntiMaybeUEid
==
ue_context_pP
->
ue_context
.
rrc_ue_id
,
"logic bug: inconsistent IDs, must use CU UE ID!
\n
"
);
rrc_gNB_send_NGAP_NAS_FIRST_REQ
(
ctxt_pP
,
ue_context_pP
,
rrcSetupComplete
);
...
...
@@ -935,7 +934,6 @@ static void rrc_gNB_process_RRCReestablishmentComplete(const protocol_ctxt_t *co
int
i
=
0
;
ue_p
->
xids
[
xid
]
=
RRC_ACTION_NONE
;
ue_p
->
StatusRrc
=
NR_RRC_CONNECTED
;
ue_p
->
Srb
[
1
].
Active
=
1
;
...
...
@@ -2262,20 +2260,6 @@ static void print_rrc_meas(FILE *f, const NR_MeasResults_t *measresults)
}
}
static
const
char
*
get_rrc_connection_status_text
(
NR_UE_STATE_t
state
)
{
switch
(
state
)
{
case
NR_RRC_INACTIVE
:
return
"inactive"
;
case
NR_RRC_IDLE
:
return
"idle"
;
case
NR_RRC_SI_RECEIVED
:
return
"SI-received"
;
case
NR_RRC_CONNECTED
:
return
"connected"
;
case
NR_RRC_RECONFIGURED
:
return
"reconfigured"
;
case
NR_RRC_HO_EXECUTION
:
return
"HO-execution"
;
default:
AssertFatal
(
false
,
"illegal RRC state %d
\n
"
,
state
);
return
"illegal"
;
}
return
"illegal"
;
}
static
const
char
*
get_pdusession_status_text
(
pdu_session_status_t
status
)
{
switch
(
status
)
{
...
...
@@ -2323,7 +2307,6 @@ static void write_rrc_stats(const gNB_RRC_INST *rrc)
time_t
last_seen
=
now
-
ue_ctxt
->
last_seen
;
fprintf
(
f
,
" last RRC activity: %ld seconds ago
\n
"
,
last_seen
);
fprintf
(
f
,
" RRC status %s
\n
"
,
get_rrc_connection_status_text
(
ue_ctxt
->
StatusRrc
));
if
(
ue_ctxt
->
nb_of_pdusessions
==
0
)
fprintf
(
f
,
" (no PDU sessions)
\n
"
);
...
...
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