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
22f95873
Commit
22f95873
authored
Oct 16, 2019
by
yunshou-yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sm: update test
parent
a93f7c15
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1161 additions
and
128 deletions
+1161
-128
src/api-server/impl/SMContextsCollectionApiImpl.cpp
src/api-server/impl/SMContextsCollectionApiImpl.cpp
+4
-2
src/nas/ies/GPRSTimer3.h
src/nas/ies/GPRSTimer3.h
+8
-8
src/oai_smf/CMakeLists.txt
src/oai_smf/CMakeLists.txt
+1
-0
src/pgwc/pgw_app.cpp
src/pgwc/pgw_app.cpp
+1148
-118
No files found.
src/api-server/impl/SMContextsCollectionApiImpl.cpp
View file @
22f95873
...
...
@@ -19,7 +19,7 @@ extern "C" {
#include <ctype.h>
#include "nas_message.h"
#include "mmData.h"
//#include "NasMai
n.h"
#include "nas_sm_encode_to_jso
n.h"
}
namespace
oai
{
...
...
@@ -45,7 +45,9 @@ void SMContextsCollectionApiImpl::post_sm_contexts(const SmContextMessage &smCon
SmContextCreateData
smContextCreateData
=
smContextMessage
.
getJsonData
();
std
::
string
n1_sm_msg
=
smContextMessage
.
getBinaryDataN1SmMessage
();
//FOR DEBUG ONLY!!, GENERATE A PDU SESSION ESTABLISHMENT MESSAGE HERE!!
//FOR DEBUG ONLY!!, GENERATE A PDU SESSION ESTABLISHMENT MESSAGE HERE!!
//sm_encode_establishment_request();
//m_smf_app->create_n1_sm_container(PDU_SESSION_ESTABLISHMENT_REQUEST, n1_sm_msg);
Logger
::
smf_api_server
().
debug
(
"smContextMessage, n1 sm msg %s"
,
n1_sm_msg
.
c_str
());
...
...
src/nas/ies/GPRSTimer3.h
View file @
22f95873
...
...
@@ -7,14 +7,14 @@
#define GPRS_TIMER3_MINIMUM_LENGTH 3
#define GPRS_TIMER3_MAXIMUM_LENGTH 3
#define
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_10_MINUTES
0b000
#define
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_1_HOUR
0b001
#define VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_10_HOURS 0b010
#define VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_2_SECONDS 0b011
#define
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_30_SECONDS
0b100
#define VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_1_MINUTE 0b101
#define VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_320_HOURS 0b110
#define VALUE_INDICATES_THAT_THE_TIMER_IS_DEACTIVATED 0b111
#define
GPRSTIMER3_VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_10_MINUTES
0b000
#define
GPRSTIMER3_VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_1_HOUR
0b001
#define
GPRSTIMER3_
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_10_HOURS 0b010
#define
GPRSTIMER3_
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_2_SECONDS 0b011
#define
GPRSTIMER3_VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_30_SECONDS
0b100
#define
GPRSTIMER3_
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_1_MINUTE 0b101
#define
GPRSTIMER3_
VALUE_IS_INCREMENTED_IN_MULTIPLES_OF_320_HOURS 0b110
#define
GPRSTIMER3_
VALUE_INDICATES_THAT_THE_TIMER_IS_DEACTIVATED 0b111
typedef
struct
{
uint8_t
unit
:
3
;
...
...
src/oai_smf/CMakeLists.txt
View file @
22f95873
...
...
@@ -362,6 +362,7 @@ add_executable(smf
${
SRC_TOP_DIR
}
/oai_smf/options.cpp
${
SRC_TOP_DIR
}
/itti/itti.cpp
${
SRC_TOP_DIR
}
/itti/itti_msg.cpp
# ${SRC_TOP_DIR}/oai_smf/nas_sm_encode_to_json.c
)
IF
(
STATIC_LINKING
)
...
...
src/pgwc/pgw_app.cpp
View file @
22f95873
This diff is collapsed.
Click to expand it.
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