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
86ff6efb
Commit
86ff6efb
authored
Jun 12, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for Service request (NGAP encoded failed)
parent
5764e798
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
38 deletions
+88
-38
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+1
-0
src/smf_app/smf_n1_n2.cpp
src/smf_app/smf_n1_n2.cpp
+2
-0
src/test/amf_client/amf-client.cpp
src/test/amf_client/amf-client.cpp
+85
-38
No files found.
src/smf_app/smf_context.cpp
View file @
86ff6efb
...
@@ -1532,6 +1532,7 @@ void smf_context::handle_pdu_session_update_sm_context_request(
...
@@ -1532,6 +1532,7 @@ void smf_context::handle_pdu_session_update_sm_context_request(
sm_context_req_msg
.
get_pdu_session_id
());
sm_context_req_msg
.
get_pdu_session_id
());
n11_sm_context_resp
->
res
.
set_snssai
(
sm_context_req_msg
.
get_snssai
());
n11_sm_context_resp
->
res
.
set_snssai
(
sm_context_req_msg
.
get_snssai
());
n11_sm_context_resp
->
res
.
set_dnn
(
sm_context_req_msg
.
get_dnn
());
n11_sm_context_resp
->
res
.
set_dnn
(
sm_context_req_msg
.
get_dnn
());
n11_sm_context_resp
->
res
.
set_pdu_session_type
(
sp
.
get
()
->
get_pdn_type
().
pdn_type
);
//Step 2.1. Decode N1 (if content is available)
//Step 2.1. Decode N1 (if content is available)
if
(
sm_context_req_msg
.
n1_sm_msg_is_set
())
{
if
(
sm_context_req_msg
.
n1_sm_msg_is_set
())
{
...
...
src/smf_app/smf_n1_n2.cpp
View file @
86ff6efb
...
@@ -804,6 +804,8 @@ void smf_n1_n2::create_n2_sm_information(pdu_session_msg &msg,
...
@@ -804,6 +804,8 @@ void smf_n1_n2::create_n2_sm_information(pdu_session_msg &msg,
pduSessionType
->
value
.
choice
.
PDUSessionType
=
msg
.
get_pdu_session_type
()
pduSessionType
->
value
.
choice
.
PDUSessionType
=
msg
.
get_pdu_session_type
()
-
1
;
//TODO: dirty code, difference between Ngap_PDUSessionType_ipv4 vs pdu_session_type_e::PDU_SESSION_TYPE_E_IPV4 (TS 38.413 vs TS 24.501)
-
1
;
//TODO: dirty code, difference between Ngap_PDUSessionType_ipv4 vs pdu_session_type_e::PDU_SESSION_TYPE_E_IPV4 (TS 38.413 vs TS 24.501)
ASN_SEQUENCE_ADD
(
&
ngap_IEs
->
protocolIEs
.
list
,
pduSessionType
);
ASN_SEQUENCE_ADD
(
&
ngap_IEs
->
protocolIEs
.
list
,
pduSessionType
);
Logger
::
smf_app
().
debug
(
"PDU Session Type: %d "
,
msg
.
get_pdu_session_type
());
//SecurityIndication
//SecurityIndication
//TODO: should get from UDM
//TODO: should get from UDM
...
...
src/test/amf_client/amf-client.cpp
View file @
86ff6efb
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