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
e842ca26
Commit
e842ca26
authored
Oct 23, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move assert up in decode_5gs_mobile_identity
parent
8260b228
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
openair3/NAS/NR_UE/5GS/5GMM/IES/FGSMobileIdentity.c
openair3/NAS/NR_UE/5GS/5GMM/IES/FGSMobileIdentity.c
+2
-4
No files found.
openair3/NAS/NR_UE/5GS/5GMM/IES/FGSMobileIdentity.c
View file @
e842ca26
...
...
@@ -113,11 +113,9 @@ int decode_5gs_mobile_identity(FGSMobileIdentity *fgsmobileidentity, uint8_t iei
uint8_t
typeofidentity
=
*
(
buffer
+
decoded
)
&
0x7
;
if
(
typeofidentity
==
FGS_MOBILE_IDENTITY_5G_GUTI
)
{
AssertFatal
(
typeofidentity
==
FGS_MOBILE_IDENTITY_5G_GUTI
,
"Mobile Identity encoding of type %d not implemented
\n
"
,
typeofidentity
);
if
(
typeofidentity
==
FGS_MOBILE_IDENTITY_5G_GUTI
)
decoded_rc
=
decode_guti_5gs_mobile_identity
(
&
fgsmobileidentity
->
guti
,
buffer
+
decoded
);
}
else
{
AssertFatal
(
false
,
"Mobile Identity encoding of type %d not implemented
\n
"
,
typeofidentity
);
}
if
(
decoded_rc
<
0
)
{
return
decoded_rc
;
...
...
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