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
64f0b314
Commit
64f0b314
authored
Apr 21, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue for pdu session type/remove dead code
parent
4ce48382
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
121 deletions
+1
-121
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+1
-0
src/test/inputs/apitest.json
src/test/inputs/apitest.json
+0
-45
src/test/inputs/apitest_full.json
src/test/inputs/apitest_full.json
+0
-52
src/test/inputs/pdu_session_create_request.hex
src/test/inputs/pdu_session_create_request.hex
+0
-13
src/test/inputs/session_management_subscription.json
src/test/inputs/session_management_subscription.json
+0
-11
No files found.
src/smf_app/smf_context.cpp
View file @
64f0b314
...
...
@@ -880,6 +880,7 @@ void smf_context::handle_pdu_session_create_sm_context_request(
sm_context_resp
->
res
.
set_pdu_session_id
(
pdu_session_id
);
sm_context_resp
->
res
.
set_snssai
(
snssai
);
sm_context_resp
->
res
.
set_dnn
(
dnn
);
sm_context_resp
->
res
.
set_pdu_session_type
(
sm_context_req_msg
.
get_pdu_session_type
());
sm_context_resp
->
set_scid
(
smreq
->
scid
);
//Step 3. find pdu_session
...
...
src/test/inputs/apitest.json
deleted
100644 → 0
View file @
4ce48382
{
"jsonData"
:
{
"supi"
:
"208931234561000"
,
"pei"
:
"pei"
,
"gpsi"
:
"gpsi"
,
"pduSessionId"
:
5
,
"dnn"
:
"default"
,
"sNssai"
:
{
"sst"
:
1
,
"sd"
:
123
},
"hplmnSnssai"
:
{
"sst"
:
1
,
"sd"
:
345
},
"servingNfId"
:
""
,
"guami"
:
{
"plmnId"
:
{
"mcc"
:
"122"
,
"mnc"
:
"13"
},
"amfId"
:
"2"
},
"serviceName"
:
""
,
"servingNetwork"
:
{
"mcc"
:
"122"
,
"mnc"
:
"13"
},
"requestType"
:
1
,
"anType"
:
""
,
"secondAnType"
:
""
,
"ratType"
:
""
,
"presenceInLadn"
:
""
,
"ueTimeZone"
:
""
,
"smContextStatusUri"
:
""
,
"hSmfUri"
:
""
,
"additionalHsmfUri"
:
[],
"oldPduSessionId"
:
1
,
"pduSessionsActivateList"
:
[
1
,
2
],
"ueEpsPdnConnection"
:
""
,
"hoState"
:
""
,
"pcfId"
:
""
,
"nrfUi"
:
""
,
"supportedFeatures"
:
""
,
"selMode"
:
"VERIFIED"
,
"udmGroupId"
:
""
,
"routingIndicator"
:
""
,
"epsBearerCtxStatus"
:
""
,
"cpCiotEnabled"
:
true
,
"invokeNef"
:
true
,
"maPduIndication"
:
false
,
"smContextRef"
:
""
,
"n2SmInfo"
:
{
"contentId"
:
"n2SmInfo"
},
"n1SmMsg"
:
{
"contentId"
:
"n1SmMsg"
}
},
"binaryDataN1SmMessage"
:
"2e031fc100ff93a2390f616263646566406768696a6b2e6c6d"
,
"binaryDataN1SmMessage_full"
:
"00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 02 00 55 00 01 40 00 40 84 3c 25 7f 00 00 01 7f 00 00 01 df b0 96 0c ea 4c f5 4b 00 00 00 00 00 03 00 35 20 bc ec 86 00 00 00 00 00 00 00 00 00 0f 40 21 00 00 01 00 26 00 1a 19 2e 03 1f c1 00 ff 93 a2 39 0f 61 62 63 64 65 66 40 67 68 69 6a 6b 2e 6c 6d"
}
src/test/inputs/apitest_full.json
deleted
100644 → 0
View file @
4ce48382
{
"jsonData"
:
{
"supi"
:
"supi"
,
"pei"
:
"pei"
,
"gpsi"
:
"gpsi"
,
"pduSessionId"
:
1
,
"dnn"
:
"dnn"
,
"sNssai"
:
{
"sst"
:
1
,
"sd"
:
"sd"
},
"hplmnSnssai"
:
{
"sst"
:
1
,
"sd"
:
"sd"
},
"servingNfId"
:
""
,
"guami"
:
{
"plmnId"
:
{
"mcc"
:
"122"
,
"mnc"
:
"13"
},
"amfId"
:
"2"
},
"serviceName"
:
""
,
"servingNetwork"
:
{
"mcc"
:
"122"
,
"mnc"
:
"13"
},
"requestType"
:
""
,
"anType"
:
""
,
"secondAnType"
:
""
,
"ratType"
:
""
,
"presenceInLadn"
:
""
,
"ueLocation"
:
""
,
"ueTimeZone"
:
""
,
"addUeLocation"
:
""
,
"smContextStatusUri"
:
""
,
"hSmfUri"
:
""
,
"additionalHsmfUri"
:
[],
"oldPduSessionId"
:
""
,
"pduSessionsActivateList"
:
[
1
,
2
],
"ueEpsPdnConnection"
:
""
,
"hoState"
:
""
,
"pcfId"
:
""
,
"nrfUi"
:
""
,
"supportedFeatures"
:
""
,
"selMode"
:
""
,
"backupAmfInfo"
:
[],
"traceData"
:
""
,
"udmGroupId"
:
""
,
"routingIndicator"
:
""
,
"epsInterworkingInd"
:
""
,
"indirectForwardingFlag"
:
""
,
"targetId"
:
""
,
"epsBearerCtxStatus"
:
""
,
"cpCiotEnabled"
:
""
,
"invokeNef"
:
""
,
"maPduIndication"
:
""
,
"smContextRef"
:
""
,
"n2SmInfo"
:
""
,
"n1SmMsg"
:
{
"contentId"
:
"contentId"
}
},
"binaryDataN1SmMessage"
:
"binaryDataN1SmMessage"
,
"binaryDataN2SmInformation"
:
"binaryDataN2SmInformation"
}
src/test/inputs/pdu_session_create_request.hex
deleted
100644 → 0
View file @
4ce48382
00000 00 00 00 00 00 00 00 00
00008 00 00 00 00 08 00 45 02
00010 00 55 00 01 40 00 40 84
00018 3c 25 7f 00 00 01 7f 00
00020 00 01 df b0 96 0c ea 4c
00028 f5 4b 00 00 00 00 00 03
00030 00 35 20 bc ec 86 00 00
00038 00 00 00 00 00 00 00 0f
00040 40 21 00 00 01 00 26 00
00048 1a 19 2e 03 1f c1 00 ff
00050 93 a2 39 0f 61 62 63 64
00058 65 66 40 67 68 69 6a 6b
00060 2e 6c 6d
src/test/inputs/session_management_subscription.json
deleted
100644 → 0
View file @
4ce48382
{
"singleNssai"
:
{
"sst"
:
1
,
"sd"
:
123
},
"dnnConfigurations"
:
{
"default"
:
{
"pduSessionTypes"
:
{
"defaultSessionType"
:
"IPV4"
}
,
"sscModes"
:
{
"defaultSscMode"
:
"SSC_MODE_1"
}
,
"5gQosProfile"
:
{
"5qi"
:
12345
,
"arp"
:
{
"priorityLevel"
:
1
,
"preemptCap"
:
"NOT_PREEMPT"
,
"preemptVuln"
:
"NOT_PREEMPTABLE"
}
},
"sessionAmbr"
:
{
"uplink"
:
"10Mbps"
,
"downlink"
:
"11Mbps"
}
}
}
}
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