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
088939f5
Commit
088939f5
authored
Dec 19, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add set_fgs_registration_type to set 5GS Registration Type according to 3GPP TS 24.501
parent
b9dc68b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
openair3/NAS/NR_UE/nr_nas_msg.c
openair3/NAS/NR_UE/nr_nas_msg.c
+27
-0
No files found.
openair3/NAS/NR_UE/nr_nas_msg.c
View file @
088939f5
...
...
@@ -458,6 +458,33 @@ nr_ue_nas_t *get_ue_nas_info(module_id_t module_id)
return
&
nr_ue_nas
[
module_id
];
}
static
FGSRegistrationType
set_fgs_registration_type
(
nr_ue_nas_t
*
nas
)
{
if
(
nas
->
fiveGMM_state
==
FGS_REGISTERED
&&
nas
->
fiveGMM_mode
==
FGS_IDLE
&&
nas
->
t3512
)
{
// TODO: if the timer expires, do PERIODIC_REGISTRATION_UPDATING
/** The UE shall initiate the registration procedure for
* mobility and periodic registration update according to
* 5.5.1.3.2 of 3GPP TS 24.501: Mobility and periodic
* registration update initiation */
LOG_E
(
NAS
,
"Registration type periodic registration updating is not handled
\n
"
);
return
REG_TYPE_RESERVED
;
}
else
if
(
nas
->
fiveGMM_state
==
FGS_REGISTERED
)
{
// in any other case, The UE in state 5GMM-REGISTERED shall indicate "mobility registration updating".
return
MOBILITY_REGISTRATION_UPDATING
;
}
if
(
nas
->
fiveGMM_mode
==
FGS_CONNECTED
&&
nas
->
is_rrc_inactive
)
{
/** the UE shall do the registration procedure for mobility
* and/or periodic registration update depending on the
* indication received from the lower layers according to
* 5.3.1.4 of 3GPP TS 24.501: 5GMM-CONNECTED mode with RRC inactive indication */
LOG_E
(
NAS
,
"RRC inactive indication not handled by NAS
\n
"
);
return
REG_TYPE_RESERVED
;
}
return
INITIAL_REGISTRATION
;
}
void
generateRegistrationRequest
(
as_nas_info_t
*
initialNasMsg
,
nr_ue_nas_t
*
nas
)
{
int
size
=
sizeof
(
fgmm_msg_header_t
);
...
...
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