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
9a8c723d
Commit
9a8c723d
authored
Sep 23, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PFCP Session Establishment Request
parent
592b8e90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
src/smf_app/smf_procedure.cpp
src/smf_app/smf_procedure.cpp
+14
-13
No files found.
src/smf_app/smf_procedure.cpp
View file @
9a8c723d
...
...
@@ -158,7 +158,7 @@ int session_create_sm_context_procedure::run(
forwarding_parameters
.
set
(
destination_interface
);
//TODO: Network Instance
//TODO: Redirect Information
//TODO: Outer Header Creation
//TODO: Outer Header Creation
(e.g., in case of N9)
create_far
.
set
(
far_id
);
create_far
.
set
(
apply_action
);
...
...
@@ -180,15 +180,6 @@ int session_create_sm_context_procedure::run(
pfcp
::
application_id_t
application_id
=
{
};
pfcp
::
qfi_t
qfi
=
{
};
pfcp
::
_3gpp_interface_type_t
source_interface_type
=
{
};
source_interface_type
.
interface_type_value
=
pfcp
::
_3GPP_INTERFACE_TYPE_N3
;
source_interface
.
interface_value
=
pfcp
::
INTERFACE_VALUE_ACCESS
;
local_fteid
.
ch
=
1
;
// SMF requests the UPF to assign a local F-TEID to the PDR
//TODO required?: local_fteid.v4 = 1;
//local_fteid.chid = 1;
xgpp_conv
::
paa_to_pfcp_ue_ip_address
(
sm_context_resp
->
res
.
get_paa
(),
ue_ip_address
);
// DOIT simple
// shall uniquely identify the PDR among all the PDRs configured for that PFCP session.
...
...
@@ -204,10 +195,19 @@ int session_create_sm_context_procedure::run(
Logger
::
smf_app
().
info
(
"Default qfi %d"
,
qfi
.
qfi
);
//Packet detection information (see Table 7.5.2.2-2: PDI IE within PFCP Session Establishment Request, 3GPP TS 29.244 V16.0.0)
pdi
.
set
(
source_interface
);
//source interface
pdi
.
set
(
local_fteid
);
// CN tunnel info
//source interface
source_interface
.
interface_value
=
pfcp
::
INTERFACE_VALUE_ACCESS
;
pdi
.
set
(
source_interface
);
// CN tunnel info
local_fteid
.
ch
=
1
;
// SMF requests the UPF to assign a local F-TEID to the PDR
//TODO required?: local_fteid.v4 = 1;
//local_fteid.chid = 1;
pdi
.
set
(
local_fteid
);
//TODO: Network Instance
pdi
.
set
(
ue_ip_address
);
//UE IP address
//UE IP address
xgpp_conv
::
paa_to_pfcp_ue_ip_address
(
sm_context_resp
->
res
.
get_paa
(),
ue_ip_address
);
pdi
.
set
(
ue_ip_address
);
//TODO: Traffic Endpoint ID
//TODO: SDF Filter
//TODO: Application ID
...
...
@@ -218,6 +218,7 @@ int session_create_sm_context_procedure::run(
//TODO: Framed-Routing
//TODO: Framed-IPv6-Route
//Source Interface Type - N3
source_interface_type
.
interface_type_value
=
pfcp
::
_3GPP_INTERFACE_TYPE_N3
;
pdi
.
set
(
source_interface_type
);
outer_header_removal
.
outer_header_removal_description
=
...
...
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