Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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-SMF
Commits
00330c61
Commit
00330c61
authored
Jan 31, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename smf_ngap to smf_n1_n2
parent
81567ec0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
293 additions
and
25 deletions
+293
-25
src/itti/itti_msg.hpp
src/itti/itti_msg.hpp
+2
-1
src/nas/3gpp_24.501.h
src/nas/3gpp_24.501.h
+58
-0
src/smf_app/CMakeLists.txt
src/smf_app/CMakeLists.txt
+1
-1
src/smf_app/smf_n1_n2.cpp
src/smf_app/smf_n1_n2.cpp
+224
-15
src/smf_app/smf_n1_n2.hpp
src/smf_app/smf_n1_n2.hpp
+8
-8
No files found.
src/itti/itti_msg.hpp
View file @
00330c61
...
...
@@ -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
,
...
...
src/nas/3gpp_24.501.h
View file @
00330c61
...
...
@@ -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
src/smf_app/CMakeLists.txt
View file @
00330c61
...
...
@@ -59,7 +59,7 @@ add_library (SMF STATIC
smf_app.cpp
smf_config.cpp
smf_context.cpp
smf_n
gap
.cpp
smf_n
1_n2
.cpp
smf_pfcp_association.cpp
smf_pco.cpp
smf_procedure.cpp
...
...
src/smf_app/smf_n
gap
.cpp
→
src/smf_app/smf_n
1_n2
.cpp
View file @
00330c61
This diff is collapsed.
Click to expand it.
src/smf_app/smf_n
gap
.hpp
→
src/smf_app/smf_n
1_n2
.hpp
View file @
00330c61
...
...
@@ -19,7 +19,7 @@
* contact@openairinterface.org
*/
/*! \file smf_n
gap
.hpp
/*! \file smf_n
1_n2
.hpp
* \brief
\author Tien-Thinh NGUYEN
\company Eurecom
...
...
@@ -27,8 +27,8 @@
\email: tien-thinh.nguyen@eurecom.fr
*/
#ifndef FILE_SMF_N
GAP
_HPP_SEEN
#define FILE_SMF_N
GAP
_HPP_SEEN
#ifndef FILE_SMF_N
1_N2
_HPP_SEEN
#define FILE_SMF_N
1_N2
_HPP_SEEN
#include "smf.h"
#include "3gpp_29.274.h"
...
...
@@ -60,13 +60,13 @@ extern "C"{
namespace
smf
{
class
smf_n
gap
{
class
smf_n
1_n2
{
private:
public:
smf_n
gap
(){};
smf_n
gap
(
smf_ngap
const
&
)
=
delete
;
void
operator
=
(
smf_n
gap
const
&
)
=
delete
;
smf_n
1_n2
(){};
smf_n
1_n2
(
smf_n1_n2
const
&
)
=
delete
;
void
operator
=
(
smf_n
1_n2
const
&
)
=
delete
;
/*
* Create N1 SM Container to send to AMF (using NAS lib)
...
...
@@ -112,4 +112,4 @@ public:
}
// namespace smf
#endif
/* FILE_SMF_N
GAP
_HPP_SEEN */
#endif
/* FILE_SMF_N
1_N2
_HPP_SEEN */
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