Commit 00330c61 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

rename smf_ngap to smf_n1_n2

parent 81567ec0
......@@ -106,7 +106,8 @@ typedef enum {
N4_SESSION_DELETION_RESPONSE,
N4_SESSION_REPORT_REQUEST,
N4_SESSION_REPORT_RESPONSE,
N10_GET_SESSION_MANAGEMENT_SUBSCRIPTION,
N10_SESSION_GET_SESSION_MANAGEMENT_SUBSCRIPTION,
N10_SESSION_CREATE_SMF_REGISTRATION_REQUEST,
N11_SESSION_CREATE_SM_CONTEXT_REQUEST,
N11_SESSION_CREATE_SM_CONTEXT_RESPONSE,
N11_SESSION_UPDATE_SM_CONTEXT_REQUEST,
......
......@@ -214,6 +214,64 @@ static const std::vector<std::string> request_type_e2str = {
"RESERVED"
};
enum cause_value_5gs_session_management_e {
CAUSE_8_OPERATOR_DETERMINED_BARRING = 8,
CAUSE_26_INSUFFICIENT_RESOURCES = 26,
CAUSE_27_MISSING_OR_UNKNOWN_DNN = 27,
CAUSE_28_UNKNOWN_PDU_SESSION_TYPE = 28,
CAUSE_29_USER_AUTHENTICATION_OR_AUTHORIZATION_FAILED = 29,
CAUSE_54_PDU_SESSION_DOES_NOT_EXIST
/*
Cause #8 – Operator Determined Barring
Cause #26 – Insufficient resources
Cause #27 – Missing or unknown DNN
Cause #28 – Unknown PDU session type
Cause #29 – User authentication or authorization failed
Cause #31 – Request rejected, unspecified
Cause #32 – Service option not supported
Cause #33 – Requested service option not subscribed
Cause #35 – PTI already in use
Cause #36 – Regular deactivation
Cause #38 – Network failure
Cause #39 – Reactivation requested
Cause #41 – Semantic error in the TFT operation
Cause #42 – Syntactical error in the TFT operation
Cause #43 –Invalid PDU session identity
Cause #44 – Semantic errors in packet filter(s)
Cause #45 – Syntactical error in packet filter(s)
Cause #46 –Out of LADN service area
Cause #47 –PTI mismatch
Cause #50 – PDU session type IPv4 only allowed
Cause #51 – PDU session type IPv6 only allowed
Cause #54 –PDU session does not exist
Cause #67 – Insufficient resources for specific slice and DNN
Cause #68 – Not supported SSC mode
Cause #69 –Insufficient resources for specific slice
Cause #70 – Missing or unknown DNN in a slice
Cause #81 – Invalid PTI value
Cause #82 – Maximum data rate per UE for user-plane integrity protection is too low
Cause #83 – Semantic error in the QoS operation
Cause #84 – Syntactical error in the QoS operation
Cause #85 – Invalid mapped EPS bearer identity
*/
};
enum cause_value_protocol_errors_e {
CAUSE_95_SEMANTICALLY_INCORRECT_MESSAGE = 95
/*
Cause #95 – Semantically incorrect message
Cause #96 – Invalid mandatory information
Cause #97 – Message type non-existent or not implemented
Cause #98 – Message type not compatible with protocol state
Cause #99 – Information element non-existent or not implemented
Cause #100 – Conditional IE error
Cause #101 – Message not compatible with protocol state
Cause #111 – Protocol error, unspecified
*/
};
#endif
#endif
......@@ -59,7 +59,7 @@ add_library (SMF STATIC
smf_app.cpp
smf_config.cpp
smf_context.cpp
smf_ngap.cpp
smf_n1_n2.cpp
smf_pfcp_association.cpp
smf_pco.cpp
smf_procedure.cpp
......
......@@ -19,7 +19,7 @@
* contact@openairinterface.org
*/
/*! \file smf_ngap.hpp
/*! \file smf_n1_n2.hpp
* \brief
\author Tien-Thinh NGUYEN
\company Eurecom
......@@ -27,8 +27,8 @@
\email: tien-thinh.nguyen@eurecom.fr
*/
#ifndef FILE_SMF_NGAP_HPP_SEEN
#define FILE_SMF_NGAP_HPP_SEEN
#ifndef FILE_SMF_N1_N2_HPP_SEEN
#define FILE_SMF_N1_N2_HPP_SEEN
#include "smf.h"
#include "3gpp_29.274.h"
......@@ -60,13 +60,13 @@ extern "C"{
namespace smf {
class smf_ngap {
class smf_n1_n2 {
private:
public:
smf_ngap(){};
smf_ngap(smf_ngap const&) = delete;
void operator=(smf_ngap const&) = delete;
smf_n1_n2(){};
smf_n1_n2(smf_n1_n2 const&) = delete;
void operator=(smf_n1_n2 const&) = delete;
/*
* Create N1 SM Container to send to AMF (using NAS lib)
......@@ -112,4 +112,4 @@ public:
} // namespace smf
#endif /* FILE_SMF_NGAP_HPP_SEEN */
#endif /* FILE_SMF_N1_N2_HPP_SEEN */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment