Commit 22246163 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Remove hardcoded value for QFI/5QI

parent e5fe7ac6
......@@ -2032,8 +2032,8 @@ bool smf_app::get_session_management_subscription_data(
dnn_configuration->_5g_qos_profile.arp.preempt_vuln = "NOT_PREEMPTABLE";
dnn_configuration->_5g_qos_profile.priority_level = 1;
// Session_ambr
dnn_configuration->session_ambr.uplink = "100Mbps";
dnn_configuration->session_ambr.downlink = "100Mbps";
dnn_configuration->session_ambr.uplink = "1000Mbps";
dnn_configuration->session_ambr.downlink = "1000Mbps";
subscription->insert_dnn_configuration(dnn, dnn_configuration);
return true;
}
......
......@@ -1180,7 +1180,7 @@ void smf_context::get_default_qos_flow_description(
(ParametersList*) calloc(3, sizeof(ParametersList));
qos_flow_description.parameterslist[0].parameteridentifier =
PARAMETER_IDENTIFIER_5QI;
qos_flow_description.parameterslist[0].parametercontents._5qi = DEFAULT_5QI;
qos_flow_description.parameterslist[0].parametercontents._5qi = qfi.qfi;
/*
qos_flow_description.parameterslist[1].parameteridentifier =
PARAMETER_IDENTIFIER_GFBR_UPLINK;
......
......@@ -231,7 +231,7 @@ bool smf_n2::create_n2_pdu_session_resource_setup_request_transfer(
.choice.nonDynamic5QI = (Ngap_NonDynamic5QIDescriptor_t*) (calloc(
1, sizeof(Ngap_NonDynamic5QIDescriptor_t)));
ngap_QosFlowSetupRequestItem->qosFlowLevelQosParameters.qosCharacteristics
.choice.nonDynamic5QI->fiveQI = (uint8_t) DEFAULT_5QI;
.choice.nonDynamic5QI->fiveQI = (uint8_t) qos_flow.qfi.qfi;
ngap_QosFlowSetupRequestItem->qosFlowLevelQosParameters
.allocationAndRetentionPriority.priorityLevelARP =
qos_flow.qos_profile.arp.priority_level;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment