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
b5f11601
Commit
b5f11601
authored
Aug 11, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update NGAP message callback
parent
54f58b62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
47 deletions
+46
-47
src/ngap/ngap_app/ngap_message_callback.hpp
src/ngap/ngap_app/ngap_message_callback.hpp
+46
-47
No files found.
src/ngap/ngap_app/ngap_message_callback.hpp
View file @
b5f11601
...
@@ -92,12 +92,12 @@ int ngap_amf_handle_ng_setup_request(
...
@@ -92,12 +92,12 @@ int ngap_amf_handle_ng_setup_request(
int
ngap_amf_handle_initial_ue_message
(
int
ngap_amf_handle_initial_ue_message
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti initial ue m
essage to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Initial UE M
essage to TASK_AMF_N2"
);
asn_fprint
(
stderr
,
&
asn_DEF_Ngap_NGAP_PDU
,
message_p
);
asn_fprint
(
stderr
,
&
asn_DEF_Ngap_NGAP_PDU
,
message_p
);
// decode INITIAL_UE_MESSAGE
// decode INITIAL_UE_MESSAGE
InitialUEMessageMsg
*
initUeMsg
=
new
InitialUEMessageMsg
();
InitialUEMessageMsg
*
initUeMsg
=
new
InitialUEMessageMsg
();
if
(
!
initUeMsg
->
decodefrompdu
(
message_p
))
{
if
(
!
initUeMsg
->
decodefrompdu
(
message_p
))
{
Logger
::
ngap
().
error
(
"
decoding initialuemessage m
essage error"
);
Logger
::
ngap
().
error
(
"
Decoding InitialUEM
essage error"
);
return
-
1
;
return
-
1
;
}
}
itti_initial_ue_message
*
init_ue_msg
=
itti_initial_ue_message
*
init_ue_msg
=
...
@@ -148,7 +148,7 @@ int ngap_amf_handle_uplink_nas_transport(
...
@@ -148,7 +148,7 @@ int ngap_amf_handle_uplink_nas_transport(
int
ngap_amf_handle_initial_context_setup_response
(
int
ngap_amf_handle_initial_context_setup_response
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Handling Initial Context Setup Response
...
"
);
Logger
::
ngap
().
debug
(
"Handling Initial Context Setup Response"
);
InitialContextSetupResponseMsg
*
initCtxResp
=
InitialContextSetupResponseMsg
*
initCtxResp
=
new
InitialContextSetupResponseMsg
();
new
InitialContextSetupResponseMsg
();
if
(
!
initCtxResp
->
decodefrompdu
(
message_p
))
{
if
(
!
initCtxResp
->
decodefrompdu
(
message_p
))
{
...
@@ -197,7 +197,7 @@ int ngap_amf_handle_initial_context_setup_failure(
...
@@ -197,7 +197,7 @@ int ngap_amf_handle_initial_context_setup_failure(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti initial context setup f
ailure to TASK_AMF_N2"
);
"Sending
ITTI Initial Context Setup F
ailure to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -206,7 +206,7 @@ int ngap_amf_handle_ue_radio_cap_indication(
...
@@ -206,7 +206,7 @@ int ngap_amf_handle_ue_radio_cap_indication(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti ue radio capability i
ndication to TASK_AMF_N2"
);
"Sending
ITTI UE Radio Capability I
ndication to TASK_AMF_N2"
);
UeRadioCapabilityInfoIndicationMsg
*
ueRadioCap
=
UeRadioCapabilityInfoIndicationMsg
*
ueRadioCap
=
new
UeRadioCapabilityInfoIndicationMsg
();
new
UeRadioCapabilityInfoIndicationMsg
();
if
(
!
ueRadioCap
->
decodefrompdu
(
message_p
))
{
if
(
!
ueRadioCap
->
decodefrompdu
(
message_p
))
{
...
@@ -234,7 +234,7 @@ int ngap_amf_handle_ue_context_release_request(
...
@@ -234,7 +234,7 @@ int ngap_amf_handle_ue_context_release_request(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti ue context release r
equest to TASK_AMF_N2"
);
"Sending
ITTI UE Context Release R
equest to TASK_AMF_N2"
);
UEContextReleaseRequestMsg
*
ueCtxRelReq
=
new
UEContextReleaseRequestMsg
();
UEContextReleaseRequestMsg
*
ueCtxRelReq
=
new
UEContextReleaseRequestMsg
();
if
(
!
ueCtxRelReq
->
decodefrompdu
(
message_p
))
{
if
(
!
ueCtxRelReq
->
decodefrompdu
(
message_p
))
{
Logger
::
ngap
().
error
(
"Decoding UEContextReleaseRequest message error"
);
Logger
::
ngap
().
error
(
"Decoding UEContextReleaseRequest message error"
);
...
@@ -261,7 +261,7 @@ int ngap_amf_handle_ue_context_release_complete(
...
@@ -261,7 +261,7 @@ int ngap_amf_handle_ue_context_release_complete(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti ue context release c
omplete to TASK_AMF_N2"
);
"Sending
ITTI UE Context Release C
omplete to TASK_AMF_N2"
);
UEContextReleaseCompleteMsg
*
ueCtxRelCmpl
=
new
UEContextReleaseCompleteMsg
();
UEContextReleaseCompleteMsg
*
ueCtxRelCmpl
=
new
UEContextReleaseCompleteMsg
();
if
(
!
ueCtxRelCmpl
->
decodefrompdu
(
message_p
))
{
if
(
!
ueCtxRelCmpl
->
decodefrompdu
(
message_p
))
{
...
@@ -303,7 +303,7 @@ int ngap_amf_handle_pdu_session_resource_release_response(
...
@@ -303,7 +303,7 @@ int ngap_amf_handle_pdu_session_resource_release_response(
if
(
!
pduresp
->
getPduSessionResourceReleasedList
(
list
))
{
if
(
!
pduresp
->
getPduSessionResourceReleasedList
(
list
))
{
Logger
::
ngap
().
error
(
Logger
::
ngap
().
error
(
"Decoding PduSessionResourceReleaseResponseMsg "
"Decoding PduSessionResourceReleaseResponseMsg "
"getPduSessionResourceReleasedList IE
error"
);
"getPduSessionResourceReleasedList IE error"
);
return
-
1
;
return
-
1
;
}
}
// TODO: add the full list
// TODO: add the full list
...
@@ -314,7 +314,7 @@ int ngap_amf_handle_pdu_session_resource_release_response(
...
@@ -314,7 +314,7 @@ int ngap_amf_handle_pdu_session_resource_release_response(
bstring
n2sm
=
blk2bstr
(
bstring
n2sm
=
blk2bstr
(
transferIe
,
list
[
0
].
pduSessionResourceReleaseResponseTransfer
.
size
);
transferIe
,
list
[
0
].
pduSessionResourceReleaseResponseTransfer
.
size
);
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti
PDUSessionResourceReleaseResponse to TASK_AMF_N11"
);
"Sending
ITTI
PDUSessionResourceReleaseResponse to TASK_AMF_N11"
);
itti_nsmf_pdusession_update_sm_context
*
itti_msg
=
itti_nsmf_pdusession_update_sm_context
*
itti_msg
=
new
itti_nsmf_pdusession_update_sm_context
(
TASK_NGAP
,
TASK_AMF_N11
);
new
itti_nsmf_pdusession_update_sm_context
(
TASK_NGAP
,
TASK_AMF_N11
);
...
@@ -352,7 +352,7 @@ int ngap_amf_handle_pdu_session_resource_setup_response(
...
@@ -352,7 +352,7 @@ int ngap_amf_handle_pdu_session_resource_setup_response(
if
(
!
pduresp
->
getPduSessionResourceSetupResponseList
(
list
))
{
if
(
!
pduresp
->
getPduSessionResourceSetupResponseList
(
list
))
{
Logger
::
ngap
().
error
(
Logger
::
ngap
().
error
(
"Decoding PduSessionResourceSetupResponseMsg "
"Decoding PduSessionResourceSetupResponseMsg "
"getPduSessionResourceSetupResponseList IE
error"
);
"getPduSessionResourceSetupResponseList IE error"
);
// return -1;
// return -1;
}
else
{
}
else
{
// TODO: for multiple PDU Sessions
// TODO: for multiple PDU Sessions
...
@@ -458,7 +458,7 @@ int ngap_amf_handle_pdu_session_resource_setup_response(
...
@@ -458,7 +458,7 @@ int ngap_amf_handle_pdu_session_resource_setup_response(
int
ngap_amf_handle_error_indication
(
int
ngap_amf_handle_error_indication
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti ngap error i
ndication to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI NGAP Error I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -466,7 +466,7 @@ int ngap_amf_handle_error_indication(
...
@@ -466,7 +466,7 @@ int ngap_amf_handle_error_indication(
int
ngap_amf_configuration_update
(
int
ngap_amf_configuration_update
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti amf configuration u
pdate to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI AMF Configuration U
pdate to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -474,7 +474,7 @@ int ngap_amf_configuration_update(
...
@@ -474,7 +474,7 @@ int ngap_amf_configuration_update(
int
amf_status_indication
(
int
amf_status_indication
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti amf status i
ndication to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI AMF Status I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -482,7 +482,7 @@ int amf_status_indication(
...
@@ -482,7 +482,7 @@ int amf_status_indication(
int
cell_traffic_trace
(
int
cell_traffic_trace
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti cell_traffic_t
race to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Cell Traffic T
race to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -490,7 +490,7 @@ int cell_traffic_trace(
...
@@ -490,7 +490,7 @@ int cell_traffic_trace(
int
deactivate_trace
(
int
deactivate_trace
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti deactivate t
race to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Deactivate T
race to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -498,7 +498,7 @@ int deactivate_trace(
...
@@ -498,7 +498,7 @@ int deactivate_trace(
int
downlink_nas_transport
(
int
downlink_nas_transport
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti downlink nas t
ransport to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Downlink NAS T
ransport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -507,7 +507,7 @@ int downlink_non_UEassociated_nrppa_transport(
...
@@ -507,7 +507,7 @@ int downlink_non_UEassociated_nrppa_transport(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti downlink non UEassociated nrppa t
ransport to TASK_AMF_N2"
);
"Sending
ITTI Downlink Non UEAssociated NRPPA T
ransport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -516,7 +516,7 @@ int downlink_ran_configuration_transfer(
...
@@ -516,7 +516,7 @@ int downlink_ran_configuration_transfer(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti downlink ran configuration t
ransfer to TASK_AMF_N2"
);
"Sending
ITTI Downlink RAN Configuration T
ransfer to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -525,7 +525,7 @@ int downlink_ran_status_transfer(
...
@@ -525,7 +525,7 @@ int downlink_ran_status_transfer(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti downlink ran status t
ransfer to TASK_AMF_N2"
);
"Sending
ITTI Downlink RAN Status T
ransfer to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -534,7 +534,7 @@ int downlink_ue_associated_nappa_transport(
...
@@ -534,7 +534,7 @@ int downlink_ue_associated_nappa_transport(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti downlink ue associated nappa t
ransport to TASK_AMF_N2"
);
"Sending
ITTI Downlink UE Associated NAPPA T
ransport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -633,7 +633,7 @@ int location_reporting_control(
...
@@ -633,7 +633,7 @@ int location_reporting_control(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti location reporting c
ontrol to TASK_AMF_N2"
);
"Sending
ITTI Location Reporting C
ontrol to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -642,7 +642,7 @@ int location_reporting_failure_indication(
...
@@ -642,7 +642,7 @@ int location_reporting_failure_indication(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti location reporting failure i
ndication to TASK_AMF_N2"
);
"Sending
ITTI Location Reporting Failure I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -650,7 +650,7 @@ int location_reporting_failure_indication(
...
@@ -650,7 +650,7 @@ int location_reporting_failure_indication(
int
location_report
(
int
location_report
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti location r
eport to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Location R
eport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -659,7 +659,7 @@ int nas_non_delivery_indication(
...
@@ -659,7 +659,7 @@ int nas_non_delivery_indication(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti nas non delivery i
ndication to TASK_AMF_N2"
);
"Sending
ITTI NAS Non Delivery I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -695,7 +695,7 @@ int ng_reset(
...
@@ -695,7 +695,7 @@ int ng_reset(
int
overload_start
(
int
overload_start
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti overload s
tart to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Overload S
tart to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -703,7 +703,7 @@ int overload_start(
...
@@ -703,7 +703,7 @@ int overload_start(
int
overload_stop
(
int
overload_stop
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti overload s
top to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Overload S
top to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -711,7 +711,7 @@ int overload_stop(
...
@@ -711,7 +711,7 @@ int overload_stop(
int
paging
(
int
paging
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti p
aging to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI P
aging to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -719,8 +719,7 @@ int paging(
...
@@ -719,8 +719,7 @@ int paging(
int
ngap_amf_handle_path_switch_request
(
int
ngap_amf_handle_path_switch_request
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending ITTI Path Switch Request to TASK_AMF_N2"
);
"Sending itti ngap amf handle path switch request to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -729,7 +728,7 @@ int pdu_session_resource_modify(
...
@@ -729,7 +728,7 @@ int pdu_session_resource_modify(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti pdu session resource m
odify to TASK_AMF_N2"
);
"Sending
ITTI PDU Session Resource M
odify to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -738,7 +737,7 @@ int pdu_session_resource_modify_indication(
...
@@ -738,7 +737,7 @@ int pdu_session_resource_modify_indication(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti pdu session resource modify i
ndication to TASK_AMF_N2"
);
"Sending
ITTI PDU Session Resource Modify I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -747,7 +746,7 @@ int pdu_session_resource_notify(
...
@@ -747,7 +746,7 @@ int pdu_session_resource_notify(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti pdu session resource n
otify to TASK_AMF_N2"
);
"Sending
ITTI PDU Session Resource N
otify to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -755,7 +754,7 @@ int pdu_session_resource_notify(
...
@@ -755,7 +754,7 @@ int pdu_session_resource_notify(
int
private_message
(
int
private_message
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti private m
essage to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Private M
essage to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -763,7 +762,7 @@ int private_message(
...
@@ -763,7 +762,7 @@ int private_message(
int
pws_cancel
(
int
pws_cancel
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti pws c
ancel to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI PWS C
ancel to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -771,7 +770,7 @@ int pws_cancel(
...
@@ -771,7 +770,7 @@ int pws_cancel(
int
pws_failure_indication
(
int
pws_failure_indication
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti pws failure i
ndication to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI PWS Failure I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -779,7 +778,7 @@ int pws_failure_indication(
...
@@ -779,7 +778,7 @@ int pws_failure_indication(
int
pws_restart_indication
(
int
pws_restart_indication
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti pws restart i
ndication to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI PWS Restart I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -787,7 +786,7 @@ int pws_restart_indication(
...
@@ -787,7 +786,7 @@ int pws_restart_indication(
int
ran_configuration_update
(
int
ran_configuration_update
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti ran configuration u
pdate to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI RAN Configuration U
pdate to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -795,7 +794,7 @@ int ran_configuration_update(
...
@@ -795,7 +794,7 @@ int ran_configuration_update(
int
reroute_nas_request
(
int
reroute_nas_request
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti reroute nas r
equest to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Reroute NAS R
equest to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -804,7 +803,7 @@ int rrc_inactive_transition_report(
...
@@ -804,7 +803,7 @@ int rrc_inactive_transition_report(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti rrc inactive transition r
eport to TASK_AMF_N2"
);
"Sending
ITTI RRC Inactive Transition R
eport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -812,7 +811,7 @@ int rrc_inactive_transition_report(
...
@@ -812,7 +811,7 @@ int rrc_inactive_transition_report(
int
trace_failure_indication
(
int
trace_failure_indication
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti trace failure i
ndication to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Trace Failure I
ndication to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -820,7 +819,7 @@ int trace_failure_indication(
...
@@ -820,7 +819,7 @@ int trace_failure_indication(
int
trace_start
(
int
trace_start
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti trace s
tart to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI Trace S
tart to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -828,7 +827,7 @@ int trace_start(
...
@@ -828,7 +827,7 @@ int trace_start(
int
ue_context_modification
(
int
ue_context_modification
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti ue context m
odification to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI UE Context M
odification to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -836,7 +835,7 @@ int ue_context_modification(
...
@@ -836,7 +835,7 @@ int ue_context_modification(
int
ue_radio_capability_check
(
int
ue_radio_capability_check
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti ue radio capability c
heck to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI UE Radio Capability C
heck to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -844,7 +843,7 @@ int ue_radio_capability_check(
...
@@ -844,7 +843,7 @@ int ue_radio_capability_check(
int
ue_tnla_binding_release
(
int
ue_tnla_binding_release
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending
itti ue tnla binding r
elease to TASK_AMF_N2"
);
Logger
::
ngap
().
debug
(
"Sending
ITTI UE TNLA Binding R
elease to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -853,7 +852,7 @@ int uplink_non_ue_associated_nrppa_transport(
...
@@ -853,7 +852,7 @@ int uplink_non_ue_associated_nrppa_transport(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti uplink non ue associated nrppa t
ransport to TASK_AMF_N2"
);
"Sending
ITTI Uplink Non UE Associated NRPPA T
ransport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -862,7 +861,7 @@ int uplink_ran_configuration_transfer(
...
@@ -862,7 +861,7 @@ int uplink_ran_configuration_transfer(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti uplink ran configuration t
ransfer to TASK_AMF_N2"
);
"Sending
ITTI Uplink RAN Configuration T
ransfer to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
@@ -901,7 +900,7 @@ int uplink_ue_associated_nrppa_transport(
...
@@ -901,7 +900,7 @@ int uplink_ue_associated_nrppa_transport(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
Logger
::
ngap
().
debug
(
"Sending
itti uplink ue associated nrppa t
ransport to TASK_AMF_N2"
);
"Sending
ITTI Uplink UE Associated NRPPA T
ransport to TASK_AMF_N2"
);
return
0
;
return
0
;
}
}
...
...
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