aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-e212.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2021-05-16 19:39:15 -0400
committerJohn Thacker <johnthacker@gmail.com>2021-05-16 19:39:15 -0400
commit157222a0319748885f37c81a358438c4409d1843 (patch)
tree73079764f19173f57f42e9cb0f81fc36c96130f9 /epan/dissectors/packet-e212.c
parent1767788e3c081005bfcf7508e083bee54e9682dc (diff)
NGAP, XNaP, NAS_5GS: Add E212_GUAMI to MCC/MNC field choices
Diffstat (limited to 'epan/dissectors/packet-e212.c')
-rw-r--r--epan/dissectors/packet-e212.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-e212.c b/epan/dissectors/packet-e212.c
index b685619d8b..a00b2bc772 100644
--- a/epan/dissectors/packet-e212.c
+++ b/epan/dissectors/packet-e212.c
@@ -3029,6 +3029,7 @@ 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_mcc_guami = -1;
static int hf_E212_mnc = -1;
static int hf_E212_mnc_lai = -1;
static int hf_E212_mnc_sai = -1;
@@ -3039,6 +3040,7 @@ 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 hf_E212_mnc_guami = -1;
static int ett_e212_imsi = -1;
@@ -3152,6 +3154,10 @@ dissect_e212_mcc_mnc_wmem_packet_str(tvbuff_t *tvb, packet_info *pinfo, proto_tr
hf_E212_mcc_id = hf_E212_mcc_gummei;
hf_E212_mnc_id = hf_E212_mnc_gummei;
break;
+ case E212_GUAMI:
+ hf_E212_mcc_id = hf_E212_mcc_guami;
+ hf_E212_mnc_id = hf_E212_mnc_guami;
+ break;
default:
hf_E212_mcc_id = hf_E212_mcc;
hf_E212_mnc_id = hf_E212_mnc;
@@ -3605,6 +3611,11 @@ proto_register_e212(void)
FT_UINT16, BASE_DEC|BASE_EXT_STRING, &E212_codes_ext, 0x0,
"Mobile Country Code MCC", HFILL }
},
+ { &hf_E212_mcc_guami,
+ { "Mobile Country Code (MCC)","e212.guami.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,
@@ -3655,6 +3666,11 @@ proto_register_e212(void)
FT_UINT16, BASE_DEC, NULL, 0x0,
"Mobile network code", HFILL }
},
+ { &hf_E212_mnc_guami,
+ { "Mobile Network Code (MNC)","e212.guami.mnc",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ "Mobile network code", HFILL }
+ },
#if 0
{ &hf_E212_msin,
{ "Mobile Subscriber Identification Number (MSIN)", "e212.msin",