From 66ed8b9065d4946ff81e9bd2f9b4a577335bb591 Mon Sep 17 00:00:00 2001 From: Bedran Karakoc Date: Tue, 26 Oct 2021 13:05:46 +0200 Subject: [PATCH] Add NSSAI slice differentiator, currently only 0 supported --- srsue/src/stack/upper/nas_5g.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsue/src/stack/upper/nas_5g.cc b/srsue/src/stack/upper/nas_5g.cc index 9622893bf..91d48cc18 100644 --- a/srsue/src/stack/upper/nas_5g.cc +++ b/srsue/src/stack/upper/nas_5g.cc @@ -577,8 +577,9 @@ int nas_5g::send_pdu_session_establishment_request(uint32_t tran ul_nas_msg.request_type.request_type_value = request_type_t::Request_type_value_type_::options::initial_request; ul_nas_msg.s_nssai_present = true; - ul_nas_msg.s_nssai.type = s_nssai_t::SST_type_::options::sst; + ul_nas_msg.s_nssai.type = s_nssai_t::SST_type_::options::sst_and_sd; ul_nas_msg.s_nssai.sst = 1; + ul_nas_msg.s_nssai.sd = 0; ul_nas_msg.dnn_present = true; ul_nas_msg.dnn.dnn_value.resize(pdu_session_cfg.apn_name.size() + 1);