gtp/v1: Specify 'MS Validated' IE as uint8

This field is a fixed size 1 byte with all bits set as spare (1) and the
lsb set as 0 ("No") or 1 ("Yes").
This commit is contained in:
Pau Espin 2023-12-11 17:20:00 +01:00 committed by Sukchan Lee
parent 1041f37a34
commit 204ac35a66
3 changed files with 5 additions and 4 deletions

View File

@ -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-08-26 16:35:02.182792 by acetcom
* Created on: 2023-12-11 17:18:23.055278 by pespin
* from 29060-h40.docx
******************************************************************************/
@ -129,7 +129,7 @@ ogs_tlv_desc_t ogs_gtp1_tlv_desc_p_tmsi_signature =
ogs_tlv_desc_t ogs_gtp1_tlv_desc_ms_validated =
{
OGS_TV_FIXED_STR,
OGS_TV_UINT8,
"MS Validated",
OGS_GTP1_MS_VALIDATED_TYPE,
1,

View File

@ -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-08-26 16:35:02.176563 by acetcom
* Created on: 2023-12-11 17:18:23.049626 by pespin
* from 29060-h40.docx
******************************************************************************/
@ -470,7 +470,7 @@ 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_octet_t ogs_gtp1_tlv_ms_validated_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;
typedef ogs_tlv_uint32_t ogs_gtp1_tlv_tunnel_endpoint_identifier_data_i_t;

View File

@ -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("MS Validated", 'uint')
set_c_type("Recovery", 'uint')
set_c_type("Tunnel Endpoint Identifier Data I", 'uint')
set_c_type("Tunnel Endpoint Identifier Control Plane", 'uint')