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
dffcf3f7
Commit
dffcf3f7
authored
Dec 05, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for Procedure Transaction ID
parent
2a7d22e4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+4
-3
src/smf_app/smf_n1.cpp
src/smf_app/smf_n1.cpp
+5
-1
src/smf_app/smf_n2.cpp
src/smf_app/smf_n2.cpp
+1
-1
No files found.
src/smf_app/smf_context.cpp
View file @
dffcf3f7
...
@@ -1171,7 +1171,7 @@ void smf_context::get_default_qos_flow_description(
...
@@ -1171,7 +1171,7 @@ void smf_context::get_default_qos_flow_description(
(
ParametersList
*
)
calloc
(
3
,
sizeof
(
ParametersList
));
(
ParametersList
*
)
calloc
(
3
,
sizeof
(
ParametersList
));
qos_flow_description
.
parameterslist
[
0
].
parameteridentifier
=
qos_flow_description
.
parameterslist
[
0
].
parameteridentifier
=
PARAMETER_IDENTIFIER_5QI
;
PARAMETER_IDENTIFIER_5QI
;
qos_flow_description
.
parameterslist
[
0
].
parametercontents
.
_5qi
=
qfi
.
qfi
;
qos_flow_description
.
parameterslist
[
0
].
parametercontents
.
_5qi
=
DEFAULT_5QI
;
/*
/*
qos_flow_description.parameterslist[1].parameteridentifier =
qos_flow_description.parameterslist[1].parameteridentifier =
PARAMETER_IDENTIFIER_GFBR_UPLINK;
PARAMETER_IDENTIFIER_GFBR_UPLINK;
...
@@ -2129,11 +2129,11 @@ bool smf_context::handle_pdu_session_release_request(
...
@@ -2129,11 +2129,11 @@ bool smf_context::handle_pdu_session_release_request(
return
false
;
return
false
;
}
}
Logger
::
smf_app
().
info
(
"PTI %d"
,
nas_msg
.
plain
.
sm
.
header
.
procedure_transaction_identity
);
procedure_transaction_id_t
pti
=
{
procedure_transaction_id_t
pti
=
{
.
procedure_transaction_id
=
.
procedure_transaction_id
=
nas_msg
.
plain
.
sm
.
header
.
procedure_transaction_identity
};
nas_msg
.
plain
.
sm
.
header
.
procedure_transaction_identity
};
Logger
::
smf_app
().
info
(
"PTI %d"
,
pti
.
procedure_transaction_id
);
sm_context_resp
.
get
()
->
res
.
set_pti
(
pti
);
sm_context_resp
.
get
()
->
res
.
set_pti
(
pti
);
// Message Type
// Message Type
...
@@ -3083,6 +3083,7 @@ bool smf_context::handle_pdu_session_update_sm_context_request(
...
@@ -3083,6 +3083,7 @@ bool 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
());
sm_context_rel_req_msg
.
set_snssai
(
sm_context_req_msg
.
get_snssai
());
sm_context_rel_req_msg
.
set_snssai
(
sm_context_req_msg
.
get_snssai
());
sm_context_rel_req_msg
.
set_dnn
(
sm_context_req_msg
.
get_dnn
());
sm_context_rel_req_msg
.
set_dnn
(
sm_context_req_msg
.
get_dnn
());
sm_context_rel_req_msg
.
set_pti
(
sm_context_req_msg
.
get_pti
());
// check if update message contain N2 SM info
// check if update message contain N2 SM info
if
(
sm_context_req_msg
.
n2_sm_info_is_set
())
{
if
(
sm_context_req_msg
.
n2_sm_info_is_set
())
{
...
...
src/smf_app/smf_n1.cpp
View file @
dffcf3f7
...
@@ -760,7 +760,11 @@ bool smf_n1::create_n1_pdu_session_release_command(
...
@@ -760,7 +760,11 @@ bool smf_n1::create_n1_pdu_session_release_command(
// ExtendedProtocolConfigurationOptions
// ExtendedProtocolConfigurationOptions
Logger
::
smf_n1
().
debug
(
Logger
::
smf_n1
().
debug
(
"SM message, 5GSM Cause: 0x%x"
,
"SM message, PDU Session ID %d, PTI %d, Message Type %0x%x, 5GSM Cause: "
"0x%x"
,
sm_msg
->
header
.
pdu_session_identity
,
sm_msg
->
header
.
procedure_transaction_identity
,
sm_msg
->
header
.
message_type
,
sm_msg
->
pdu_session_release_command
.
_5gsmcause
);
sm_msg
->
pdu_session_release_command
.
_5gsmcause
);
// Encode NAS message
// Encode NAS message
...
...
src/smf_app/smf_n2.cpp
View file @
dffcf3f7
...
@@ -231,7 +231,7 @@ bool smf_n2::create_n2_pdu_session_resource_setup_request_transfer(
...
@@ -231,7 +231,7 @@ bool smf_n2::create_n2_pdu_session_resource_setup_request_transfer(
.
choice
.
nonDynamic5QI
=
(
Ngap_NonDynamic5QIDescriptor_t
*
)
(
calloc
(
.
choice
.
nonDynamic5QI
=
(
Ngap_NonDynamic5QIDescriptor_t
*
)
(
calloc
(
1
,
sizeof
(
Ngap_NonDynamic5QIDescriptor_t
)));
1
,
sizeof
(
Ngap_NonDynamic5QIDescriptor_t
)));
ngap_QosFlowSetupRequestItem
->
qosFlowLevelQosParameters
.
qosCharacteristics
ngap_QosFlowSetupRequestItem
->
qosFlowLevelQosParameters
.
qosCharacteristics
.
choice
.
nonDynamic5QI
->
fiveQI
=
(
uint8_t
)
qos_flow
.
qfi
.
qfi
;
.
choice
.
nonDynamic5QI
->
fiveQI
=
(
uint8_t
)
DEFAULT_5QI
;
ngap_QosFlowSetupRequestItem
->
qosFlowLevelQosParameters
ngap_QosFlowSetupRequestItem
->
qosFlowLevelQosParameters
.
allocationAndRetentionPriority
.
priorityLevelARP
=
.
allocationAndRetentionPriority
.
priorityLevelARP
=
qos_flow
.
qos_profile
.
arp
.
priority_level
;
qos_flow
.
qos_profile
.
arp
.
priority_level
;
...
...
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