diff --git a/lib/gtp/v1/message.c b/lib/gtp/v1/message.c index 506b12579..785b47ef4 100644 --- a/lib/gtp/v1/message.c +++ b/lib/gtp/v1/message.c @@ -22,7 +22,7 @@ /******************************************************************************* * This file had been created by gtp1-tlv.py script v0.1.0 * Please do not modify this file but regenerate it via script. - * Created on: 2023-12-11 17:18:23.055278 by pespin + * Created on: 2023-12-11 17:21:37.071241 by pespin * from 29060-h40.docx ******************************************************************************/ @@ -118,7 +118,7 @@ ogs_tlv_desc_t ogs_gtp1_tlv_desc_map_cause = ogs_tlv_desc_t ogs_gtp1_tlv_desc_p_tmsi_signature = { - OGS_TV_FIXED_STR, + OGS_TV_UINT24, "P-TMSI Signature", OGS_GTP1_P_TMSI_SIGNATURE_TYPE, 3, diff --git a/lib/gtp/v1/message.h b/lib/gtp/v1/message.h index 743d91a69..901cac82d 100644 --- a/lib/gtp/v1/message.h +++ b/lib/gtp/v1/message.h @@ -22,7 +22,7 @@ /******************************************************************************* * This file had been created by gtp1-tlv.py script v0.1.0 * Please do not modify this file but regenerate it via script. - * Created on: 2023-12-11 17:18:23.049626 by pespin + * Created on: 2023-12-11 17:21:37.064347 by pespin * from 29060-h40.docx ******************************************************************************/ @@ -469,7 +469,7 @@ typedef ogs_tlv_uint32_t ogs_gtp1_tlv_p_tmsi_t; typedef ogs_tlv_uint8_t ogs_gtp1_tlv_reordering_required_t; typedef ogs_tlv_octet_t ogs_gtp1_tlv_authentication_triplet_t; typedef ogs_tlv_octet_t ogs_gtp1_tlv_map_cause_t; -typedef ogs_tlv_octet_t ogs_gtp1_tlv_p_tmsi_signature_t; +typedef ogs_tlv_uint24_t ogs_gtp1_tlv_p_tmsi_signature_t; typedef ogs_tlv_uint8_t ogs_gtp1_tlv_ms_validated_t; typedef ogs_tlv_uint8_t ogs_gtp1_tlv_recovery_t; typedef ogs_tlv_uint8_t ogs_gtp1_tlv_selection_mode_t; diff --git a/lib/gtp/v1/support/gtp1-tlv.py b/lib/gtp/v1/support/gtp1-tlv.py index 42f6cd509..5ccbc4918 100644 --- a/lib/gtp/v1/support/gtp1-tlv.py +++ b/lib/gtp/v1/support/gtp1-tlv.py @@ -303,6 +303,7 @@ set_size("MS Time Zone", 2) # Wrongly specified as 1 in spec table set_c_type("Cause", 'uint') set_c_type("TLLI", 'uint') set_c_type("P-TMSI", 'uint') +set_c_type("P-TMSI Signature", 'uint') set_c_type("MS Validated", 'uint') set_c_type("Recovery", 'uint') set_c_type("Tunnel Endpoint Identifier Data I", 'uint')