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
ee922a96
Commit
ee922a96
authored
Apr 12, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_ue_ngap_context' into 'develop'
Fix ue ngap context See merge request oai/cn5g/oai-cn5g-amf!105
parents
9ff8652c
eba03ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+10
-3
No files found.
src/amf-app/amf_n2.cpp
View file @
ee922a96
...
...
@@ -694,10 +694,17 @@ void amf_n2::handle_itti_message(itti_initial_ue_message& init_ue_msg) {
// Store InitialUEMessage for Rereoute NAS later
if
(
unc
.
get
()
->
initialUEMsg
.
buf
)
{
int
encoded_size
=
0
;
init_ue_msg
.
initUeMsg
->
encode2buffer
(
unc
.
get
()
->
initialUEMsg
.
buf
,
encoded_size
);
Logger
::
amf_n2
().
debug
(
"Store InitialUEMessage for Reroute NAS (if necessary)"
);
uint8_t
*
initial_ue_msg_buf
=
(
uint8_t
*
)
calloc
(
1
,
BUFFER_SIZE_1024
);
int
encoded_size
=
0
;
init_ue_msg
.
initUeMsg
->
encode2buffer
(
initial_ue_msg_buf
,
encoded_size
);
if
(
encoded_size
>
0
)
{
Logger
::
amf_n2
().
debug
(
"Encoded InitialUEMessage size %d"
,
encoded_size
);
memcpy
(
(
void
*
)
unc
.
get
()
->
initialUEMsg
.
buf
,
(
void
*
)
initial_ue_msg_buf
,
encoded_size
);
comUt
::
print_buffer
(
"ngap"
,
"InitialUEMessage"
,
unc
.
get
()
->
initialUEMsg
.
buf
,
encoded_size
);
...
...
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