From 94188c1d7abe6600935eddeff5b32e8e429b3a86 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 23 Oct 2018 18:53:17 +0200 Subject: [PATCH] set TMSI status field during GUTI attach --- srsue/src/upper/nas.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsue/src/upper/nas.cc b/srsue/src/upper/nas.cc index 686a55cd5..ac1abdf63 100644 --- a/srsue/src/upper/nas.cc +++ b/srsue/src/upper/nas.cc @@ -1135,6 +1135,8 @@ void nas::gen_attach_request(byte_buffer_t *msg) { // GUTI or IMSI attach if(have_guti && have_ctxt) { + attach_req.tmsi_status_present = true; + attach_req.tmsi_status = LIBLTE_MME_TMSI_STATUS_VALID_TMSI; attach_req.eps_mobile_id.type_of_id = LIBLTE_MME_EPS_MOBILE_ID_TYPE_GUTI; memcpy(&attach_req.eps_mobile_id.guti, &ctxt.guti, sizeof(LIBLTE_MME_EPS_MOBILE_ID_GUTI_STRUCT)); attach_req.old_guti_type = LIBLTE_MME_GUTI_TYPE_NATIVE;