Commit 6e8b801d authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

use (SST, SD) to get the subscription information

parent f750f1ab
......@@ -1646,7 +1646,10 @@ bool smf_app::get_session_management_subscription_data(
for (int i = 0; i < smf_cfg.num_session_management_subscription; i++) {
if ((0 == dnn.compare(smf_cfg.session_management_subscription[i].dnn)) and
(snssai.sST ==
smf_cfg.session_management_subscription[i].single_nssai.sST)) {
smf_cfg.session_management_subscription[i].single_nssai.sST) and
(0 ==
snssai.sD.compare(
smf_cfg.session_management_subscription[i].single_nssai.sD))) {
std::shared_ptr<dnn_configuration_t> dnn_configuration =
std::make_shared<dnn_configuration_t>();
......
......@@ -238,7 +238,7 @@ class smf_config {
std::string api_version;
} nrf_addr;
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX 5
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX 10
struct {
snssai_t single_nssai;
std::string session_type;
......
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