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
littleBu
OpenXG-RAN
Commits
b0734604
Commit
b0734604
authored
Jan 23, 2025
by
Laurent THOMAS
Committed by
Robert Schmidt
Jan 23, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless RRC states
parent
a54eba8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
16 deletions
+13
-16
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+12
-6
openair2/RRC/LTE/rrc_types.h
openair2/RRC/LTE/rrc_types.h
+1
-10
No files found.
openair2/RRC/LTE/rrc_UE.c
View file @
b0734604
...
...
@@ -241,18 +241,24 @@ static int rrc_set_sub_state( module_id_t ue_mod_idP, Rrc_Sub_State_t subState )
if
(
!
IS_SOFTMODEM_NOS1
)
{
switch
(
UE_rrc_inst
[
ue_mod_idP
].
RrcState
)
{
case
RRC_STATE_INACTIVE
:
AssertFatal
((
RRC_SUB_STATE_INACTIVE_FIRST
<=
subState
)
&&
(
subState
<=
RRC_SUB_STATE_INACTIVE_LAST
),
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
AssertFatal
(
RRC_SUB_STATE_INACTIVE
<=
subState
,
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
break
;
case
RRC_STATE_IDLE
:
AssertFatal
((
RRC_SUB_STATE_IDLE_FIRST
<=
subState
)
&&
(
subState
<=
RRC_SUB_STATE_IDLE_LAST
),
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
AssertFatal
((
RRC_SUB_STATE_IDLE_SEARCHING
<=
subState
)
&&
(
subState
<=
RRC_SUB_STATE_IDLE
),
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
break
;
case
RRC_STATE_CONNECTED
:
AssertFatal
((
RRC_SUB_STATE_CONNECTED_FIRST
<=
subState
)
&&
(
subState
<=
RRC_SUB_STATE_CONNECTED_LAST
),
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
AssertFatal
(
RRC_SUB_STATE_CONNECTED
<=
subState
,
"Invalid sub state %d for state %d!
\n
"
,
subState
,
UE_rrc_inst
[
ue_mod_idP
].
RrcState
);
break
;
}
}
...
...
openair2/RRC/LTE/rrc_types.h
View file @
b0734604
...
...
@@ -41,7 +41,7 @@ typedef enum Rrc_State_e {
}
Rrc_State_t
;
typedef
enum
Rrc_Sub_State_e
{
RRC_SUB_STATE_INACTIVE
=
0
,
RRC_SUB_STATE_INACTIVE
=
0
,
RRC_SUB_STATE_IDLE_SEARCHING
,
RRC_SUB_STATE_IDLE_RECEIVING_SIB
,
...
...
@@ -50,15 +50,6 @@ typedef enum Rrc_Sub_State_e {
RRC_SUB_STATE_IDLE
,
RRC_SUB_STATE_CONNECTED
,
RRC_SUB_STATE_INACTIVE_FIRST
=
RRC_SUB_STATE_INACTIVE
,
RRC_SUB_STATE_INACTIVE_LAST
=
RRC_SUB_STATE_INACTIVE
,
RRC_SUB_STATE_IDLE_FIRST
=
RRC_SUB_STATE_IDLE_SEARCHING
,
RRC_SUB_STATE_IDLE_LAST
=
RRC_SUB_STATE_IDLE
,
RRC_SUB_STATE_CONNECTED_FIRST
=
RRC_SUB_STATE_CONNECTED
,
RRC_SUB_STATE_CONNECTED_LAST
=
RRC_SUB_STATE_CONNECTED
,
}
Rrc_Sub_State_t
;
typedef
enum
Rrc_Msg_Type_e
{
...
...
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