diff options
author | John Thacker <johnthacker@gmail.com> | 2021-05-16 15:49:10 -0400 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2021-05-16 15:59:35 -0400 |
commit | c571e0a5d54c4ceb1c0c9525731a2220d5d53b56 (patch) | |
tree | 803cd4b202fda75e49d29ef5a45b880114f59e26 /epan/dissectors/packet-e212.c | |
parent | 7c0c66b3cc2442e46f9d5133d9b55482a0ed5451 (diff) |
S1AP, X2AP: Add GUMMEI MNC/MCC fields
Add a new MNC/MCC field type to packet-e212 for the GUMMEI
(Globally Unique MME Identity), and use it where appropriate
in S1AP and X2AP. See 3GPP TS 23.003.
Diffstat (limited to 'epan/dissectors/packet-e212.c')
-rw-r--r-- | epan/dissectors/packet-e212.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-e212.c b/epan/dissectors/packet-e212.c index 82b758ea09..b685619d8b 100644 --- a/epan/dissectors/packet-e212.c +++ b/epan/dissectors/packet-e212.c @@ -3028,6 +3028,7 @@ static int hf_E212_mcc_ecgi = -1; static int hf_E212_mcc_tai = -1; static int hf_E212_mcc_nrcgi = -1; static int hf_E212_mcc_5gstai = -1; +static int hf_E212_mcc_gummei = -1; static int hf_E212_mnc = -1; static int hf_E212_mnc_lai = -1; static int hf_E212_mnc_sai = -1; @@ -3037,6 +3038,7 @@ static int hf_E212_mnc_ecgi = -1; static int hf_E212_mnc_tai = -1; static int hf_E212_mnc_nrcgi = -1; static int hf_E212_mnc_5gstai = -1; +static int hf_E212_mnc_gummei = -1; static int ett_e212_imsi = -1; @@ -3146,6 +3148,10 @@ dissect_e212_mcc_mnc_wmem_packet_str(tvbuff_t *tvb, packet_info *pinfo, proto_tr hf_E212_mcc_id = hf_E212_mcc_5gstai; hf_E212_mnc_id = hf_E212_mnc_5gstai; break; + case E212_GUMMEI: + hf_E212_mcc_id = hf_E212_mcc_gummei; + hf_E212_mnc_id = hf_E212_mnc_gummei; + break; default: hf_E212_mcc_id = hf_E212_mcc; hf_E212_mnc_id = hf_E212_mnc; @@ -3594,6 +3600,11 @@ proto_register_e212(void) FT_UINT16, BASE_DEC|BASE_EXT_STRING, &E212_codes_ext, 0x0, "Mobile Country Code MCC", HFILL } }, + { &hf_E212_mcc_gummei, + { "Mobile Country Code (MCC)","e212.gummei.mcc", + FT_UINT16, BASE_DEC|BASE_EXT_STRING, &E212_codes_ext, 0x0, + "Mobile Country Code MCC", HFILL } + }, { &hf_E212_mnc, { "Mobile Network Code (MNC)","e212.mnc", FT_UINT16, BASE_DEC, NULL, 0x0, @@ -3639,6 +3650,11 @@ proto_register_e212(void) FT_UINT16, BASE_DEC, NULL, 0x0, "Mobile network code", HFILL } }, + { &hf_E212_mnc_gummei, + { "Mobile Network Code (MNC)","e212.gummei.mnc", + FT_UINT16, BASE_DEC, NULL, 0x0, + "Mobile network code", HFILL } + }, #if 0 { &hf_E212_msin, { "Mobile Subscriber Identification Number (MSIN)", "e212.msin", |