summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2017-05-30 13:53:16 +0200
committerAnders Broman <a.broman58@gmail.com>2017-05-30 14:24:40 +0000
commit44327d8a6c7a312642adcec775555ab8a3430787 (patch)
treea10536f193b8353889ebcc2e5013a51b69188968
parent1902204f960d6d03c528963d220a9ea91a98afb8 (diff)
downloadwireshark-44327d8a6c7a312642adcec775555ab8a3430787.tar.gz
[GTP] Update cause values.
Change-Id: Ic9b0ccf045169de676b95c4b85a8d0e1e21e2cb4 Reviewed-on: https://code.wireshark.org/review/21826 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-gtp.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index bcd18ac988..37058c1cf4 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -261,6 +261,7 @@ static int hf_gtp_earp_pl = -1;
static int hf_gtp_ext_comm_flags_uasi = -1;
static int hf_gtp_ext_comm_flags_II_dtci = -1;
static int hf_gtp_ext_comm_flags_II_pnsi = -1;
+static int hf_gtp_ext_comm_flags_II_pmtsmi = -1;
static int hf_gtp_ext_comm_flags_II_spare = -1;
static int hf_gtp_earp_pci = -1;
static int hf_gtp_cdr_app = -1;
@@ -1283,7 +1284,9 @@ static const value_string cause_type[] = {
{228, "Collision with network initiated request"},
{229, "APN Congestion"},
{230, "Bearer handling not supported"},
- {232, "UE is temporarily not reachable due to power saving"},
+ {231, "Target access restricted for the subscriber" },
+ {232, "UE is temporarily not reachable due to power saving" },
+ {233, "Relocation failure due to NAS message redirection"},
/* For future use -240 */
/* Cause values reserved for GPRS charging
* protocol use (see GTP' in 3GPP TS 32.295 [33])
@@ -8068,7 +8071,10 @@ decode_gtp_extended_common_flgs_II(tvbuff_t * tvb, int offset, packet_info * pin
proto_tree_add_item(ext_tree, hf_gtp_ext_length, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
+ proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_II_pnsi, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_II_dtci, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_II_pmtsmi, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_II_spare, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
@@ -9740,9 +9746,14 @@ proto_register_gtp(void)
FT_UINT8, BASE_DEC, NULL, 0x01,
NULL, HFILL}
},
+ {&hf_gtp_ext_comm_flags_II_pmtsmi,
+ { "PMTSMI", "gtp.ext_comm_flags_II_pmtsmi",
+ FT_UINT8, BASE_DEC, NULL, 0x02,
+ NULL, HFILL}
+ },
{&hf_gtp_ext_comm_flags_II_spare,
{ "SPARE", "gtp.ext_comm_flags_II_spare",
- FT_UINT8, BASE_HEX, NULL, 0xFC,
+ FT_UINT8, BASE_HEX, NULL, 0xF8,
NULL, HFILL}
},
{&hf_gtp_earp_pci,