diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-01-18 22:37:39 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-19 04:06:32 +0000 |
commit | ecced16299baab9d3066308c577577b8422a0eb0 (patch) | |
tree | f677b75e90f01a8b7a6ef8c148e7da685948674b /epan/dissectors/asn1/s1ap/packet-s1ap-template.c | |
parent | 0870d4665d17ce2e7a1fe53362fb89fb0231be38 (diff) |
S1AP: upgrade dissector to v15.0.0
Change-Id: I2c2a0f8093678769427ff4303ad41a5c97bdd05c
Reviewed-on: https://code.wireshark.org/review/25379
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/asn1/s1ap/packet-s1ap-template.c')
-rw-r--r-- | epan/dissectors/asn1/s1ap/packet-s1ap-template.c | 59 |
1 files changed, 58 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/s1ap/packet-s1ap-template.c b/epan/dissectors/asn1/s1ap/packet-s1ap-template.c index 54107edc9c..ac6e600889 100644 --- a/epan/dissectors/asn1/s1ap/packet-s1ap-template.c +++ b/epan/dissectors/asn1/s1ap/packet-s1ap-template.c @@ -22,7 +22,7 @@ * * Based on the RANAP dissector * - * References: 3GPP TS 36.413 V14.4.0 (2017-09) + * References: 3GPP TS 36.413 V15.0.0 (2017-12) */ #include "config.h" @@ -49,6 +49,7 @@ #include "packet-gsm_map.h" #include "packet-cell_broadcast.h" #include "packet-gsm_a_common.h" +#include "packet-ntp.h" #define PNAME "S1 Application Protocol" #define PSNAME "S1AP" @@ -104,6 +105,16 @@ static int hf_s1ap_measurementsToActivate_M7 = -1; static int hf_s1ap_MDT_Location_Info_GNSS = -1; static int hf_s1ap_MDT_Location_Info_E_CID = -1; static int hf_s1ap_MDT_Location_Info_Reserved = -1; +static int hf_s1ap_NRencryptionAlgorithms_NEA1 = -1; +static int hf_s1ap_NRencryptionAlgorithms_NEA2 = -1; +static int hf_s1ap_NRencryptionAlgorithms_NEA3 = -1; +static int hf_s1ap_NRencryptionAlgorithms_Reserved = -1; +static int hf_s1ap_NRintegrityProtectionAlgorithms_NIA1 = -1; +static int hf_s1ap_NRintegrityProtectionAlgorithms_NIA2 = -1; +static int hf_s1ap_NRintegrityProtectionAlgorithms_NIA3 = -1; +static int hf_s1ap_NRintegrityProtectionAlgorithms_Reserved = -1; +static int hf_s1ap_UE_Application_Layer_Measurement_Capability_QoE_Measurement = -1; +static int hf_s1ap_UE_Application_Layer_Measurement_Capability_Reserved = -1; #include "packet-s1ap-hf.c" /* Initialize the subtree pointers */ @@ -136,6 +147,9 @@ static int ett_s1ap_MeasurementsToActivate = -1; static int ett_s1ap_MDT_Location_Info = -1; static int ett_s1ap_IMSI = -1; static int ett_s1ap_NASSecurityParameters = -1; +static int ett_s1ap_NRencryptionAlgorithms = -1; +static int ett_s1ap_NRintegrityProtectionAlgorithms = -1; +static int ett_s1ap_UE_Application_Layer_Measurement_Capability = -1; #include "packet-s1ap-ett.c" static expert_field ei_s1ap_number_pages_le15 = EI_INIT; @@ -615,6 +629,46 @@ void proto_register_s1ap(void) { { "Reserved", "s1ap.MDT_Location_Info.Reserved", FT_UINT8, BASE_HEX, NULL, 0x3f, NULL, HFILL }}, + { &hf_s1ap_NRencryptionAlgorithms_NEA1, + { "128-NEA1", "s1ap.NRencryptionAlgorithms.NEA1", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, + NULL, HFILL }}, + { &hf_s1ap_NRencryptionAlgorithms_NEA2, + { "128-NEA2", "s1ap.NRencryptionAlgorithms.NEA2", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, + NULL, HFILL }}, + { &hf_s1ap_NRencryptionAlgorithms_NEA3, + { "128-NEA3", "s1ap.NRencryptionAlgorithms.NEA3", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, + NULL, HFILL }}, + { &hf_s1ap_NRencryptionAlgorithms_Reserved, + { "Reserved", "s1ap.NRencryptionAlgorithms.Reserved", + FT_UINT16, BASE_HEX, NULL, 0x1fff, + NULL, HFILL }}, + { &hf_s1ap_NRintegrityProtectionAlgorithms_NIA1, + { "128-NIA1", "s1ap.NRintegrityProtectionAlgorithms.NIA1", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000, + NULL, HFILL }}, + { &hf_s1ap_NRintegrityProtectionAlgorithms_NIA2, + { "128-NIA2", "s1ap.NRintegrityProtectionAlgorithms.NIA2", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000, + NULL, HFILL }}, + { &hf_s1ap_NRintegrityProtectionAlgorithms_NIA3, + { "128-NIA3", "s1ap.NRintegrityProtectionAlgorithms.NIA3", + FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000, + NULL, HFILL }}, + { &hf_s1ap_NRintegrityProtectionAlgorithms_Reserved, + { "Reserved", "s1ap.NRintegrityProtectionAlgorithms.Reserved", + FT_UINT16, BASE_HEX, NULL, 0x1fff, + NULL, HFILL }}, + { &hf_s1ap_UE_Application_Layer_Measurement_Capability_QoE_Measurement, + { "QoE Measurement", "s1ap.UE_Application_Layer_Measurement_Capability.QoE_Measurement", + FT_BOOLEAN, 8, TFS(&tfs_supported_not_supported), 0x80, + NULL, HFILL }}, + { &hf_s1ap_UE_Application_Layer_Measurement_Capability_Reserved, + { "Reserved", "s1ap.UE_Application_Layer_Measurement_Capability.Reserved", + FT_UINT8, BASE_HEX, NULL, 0x7f, + NULL, HFILL }}, #include "packet-s1ap-hfarr.c" }; @@ -649,6 +703,9 @@ void proto_register_s1ap(void) { &ett_s1ap_MDT_Location_Info, &ett_s1ap_IMSI, &ett_s1ap_NASSecurityParameters, + &ett_s1ap_NRencryptionAlgorithms, + &ett_s1ap_NRintegrityProtectionAlgorithms, + &ett_s1ap_UE_Application_Layer_Measurement_Capability, #include "packet-s1ap-ettarr.c" }; |