Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-AMF
Commits
8cf1bf83
Commit
8cf1bf83
authored
Aug 20, 2022
by
Tien Thinh NGUYEN
Committed by
sagar arora
Aug 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
3ccfa74b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
38 deletions
+44
-38
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+39
-36
src/nas/msgs/RegistrationRequest.cpp
src/nas/msgs/RegistrationRequest.cpp
+5
-2
No files found.
src/amf-app/amf_n1.cpp
View file @
8cf1bf83
This diff is collapsed.
Click to expand it.
src/nas/msgs/RegistrationRequest.cpp
View file @
8cf1bf83
...
...
@@ -839,6 +839,7 @@ int RegistrationRequest::decodefrombuffer(
NasMmPlainHeader
*
header
,
uint8_t
*
buf
,
int
len
)
{
Logger
::
nas_mm
().
debug
(
"Decoding RegistrationRequest message"
);
int
decoded_size
=
3
;
int
decoded_result
=
0
;
plain_header
=
header
;
ie_5gsregistrationtype
=
new
_5GSRegistrationType
();
decoded_size
+=
ie_5gsregistrationtype
->
decodefrombuffer
(
...
...
@@ -857,8 +858,10 @@ int RegistrationRequest::decodefrombuffer(
case
0xC
:
{
Logger
::
nas_mm
().
debug
(
"Decoding IEI(0xC)"
);
ie_non_current_native_nas_ksi
=
new
NasKeySetIdentifier
();
decoded_size
+=
ie_non_current_native_nas_ksi
->
decodefrombuffer
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
,
false
);
if
((
decoded_result
=
ie_non_current_native_nas_ksi
->
decodefrombuffer
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
,
false
))
<=
0
)
return
decoded_result
;
decoded_size
+=
decoded_result
;
octet
=
*
(
buf
+
decoded_size
);
Logger
::
nas_mm
().
debug
(
"Next IEI 0x%x"
,
octet
);
}
break
;
...
...
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