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
d8cf620f
Commit
d8cf620f
authored
Nov 15, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE-requested PDU session release handling
parent
d804b703
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
69 deletions
+160
-69
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+144
-65
src/smf_app/smf_n1.cpp
src/smf_app/smf_n1.cpp
+7
-1
src/smf_app/smf_procedure.hpp
src/smf_app/smf_procedure.hpp
+9
-3
No files found.
src/smf_app/smf_context.cpp
View file @
d8cf620f
This diff is collapsed.
Click to expand it.
src/smf_app/smf_n1.cpp
View file @
d8cf620f
...
...
@@ -744,7 +744,13 @@ bool smf_n1::create_n1_pdu_session_release_command(
// Fill the content of PDU Session Release Command
sm_msg
->
header
.
pdu_session_identity
=
sm_context_res
.
get_pdu_session_id
();
sm_msg
->
header
.
procedure_transaction_identity
=
sm_context_res
.
get_pti
().
procedure_transaction_id
;
sm_context_res
.
get_pti
()
.
procedure_transaction_id
;
// TODO: if PDU session release procedure
// is not triggered by a UE-requested PDU
// session release set the PTI IE of the
// PDU SESSION RELEASE COMMAND message
// to "No procedure transaction identity
// assigned"
sm_msg
->
header
.
message_type
=
PDU_SESSION_RELEASE_COMMAND
;
sm_msg
->
pdu_session_release_command
.
_5gsmcause
=
static_cast
<
uint8_t
>
(
sm_cause
);
...
...
src/smf_app/smf_procedure.hpp
View file @
d8cf620f
...
...
@@ -67,13 +67,19 @@ class smf_procedure {
virtual
itti_msg_type_t
get_procedure_type
()
{
return
ITTI_MSG_TYPE_NONE
;
}
virtual
smf_procedure_code
handle_itti_msg
(
itti_n4_session_establishment_response
&
resp
,
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{}
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{
return
smf_procedure_code
::
OK
;
}
virtual
smf_procedure_code
handle_itti_msg
(
itti_n4_session_modification_response
&
resp
,
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{}
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{
return
smf_procedure_code
::
OK
;
}
virtual
smf_procedure_code
handle_itti_msg
(
itti_n4_session_deletion_response
&
resp
,
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{}
std
::
shared_ptr
<
smf
::
smf_context
>
pc
)
{
return
smf_procedure_code
::
OK
;
}
};
class
smf_qos_flow
;
...
...
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