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
576e537f
Commit
576e537f
authored
Mar 17, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue when freeing sourceToTarget_TransparentContainer(HandoverRequired)
parent
e649c742
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/ngap/ngapMsgs/HandoverRequiredMsg.cpp
src/ngap/ngapMsgs/HandoverRequiredMsg.cpp
+5
-2
src/ngap/ngap_app/ngap_message_callback.hpp
src/ngap/ngap_app/ngap_message_callback.hpp
+2
-1
No files found.
src/ngap/ngapMsgs/HandoverRequiredMsg.cpp
View file @
576e537f
...
...
@@ -20,6 +20,8 @@
*/
#include "HandoverRequiredMsg.hpp"
#include "conversions.hpp"
#include "logger.hpp"
extern
"C"
{
...
...
@@ -269,9 +271,10 @@ bool HandoverRequiredMsg::decodeFromPdu(Ngap_NGAP_PDU_t* ngapMsgPdu) {
Ngap_Criticality_reject
&&
handoverRequiredIEs
->
protocolIEs
.
list
.
array
[
i
]
->
value
.
present
==
Ngap_HandoverRequiredIEs__value_PR_SourceToTarget_TransparentContainer
)
{
sourceToTarget_TransparentContainer
=
conv
::
octet_string_copy
(
sourceToTarget_TransparentContainer
,
handoverRequiredIEs
->
protocolIEs
.
list
.
array
[
i
]
->
value
.
choice
.
SourceToTarget_TransparentContainer
;
->
value
.
choice
.
SourceToTarget_TransparentContainer
)
;
}
else
{
Logger
::
ngap
().
error
(
"Decoded NGAP SourceToTarget_TransparentContainer IE error"
);
...
...
src/ngap/ngap_app/ngap_message_callback.hpp
View file @
576e537f
...
...
@@ -814,6 +814,7 @@ int handover_notification(
int
handover_request
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
// TODO: To be verified
Logger
::
ngap
().
debug
(
"Sending ITTI Handover Resource Allocation (HandoverRequest) to "
"TASK_AMF_N2"
);
...
...
@@ -846,7 +847,7 @@ int handover_request_ack(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Handling Handover Request Ack (AMF->AN)"
);
output_wrapper
::
print_asn_msg
(
&
asn_DEF_Ngap_NGAP_PDU
,
message_p
);
HandoverRequestAck
*
handover_request_ack
=
new
HandoverRequestAck
();
if
(
!
handover_request_ack
->
decodeFromPdu
(
message_p
))
{
...
...
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