diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2016-05-08 00:00:24 +0300 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2016-05-10 19:03:04 +0000 |
commit | 6d62061aa919ceec6c78eb4f53f0c8e5bf9e2735 (patch) | |
tree | 2f839684c88679dd79e829e5ea880cef2b4785f1 /epan/dissectors/packet-iso14443.c | |
parent | a9070e1a90713c76af836c50fe381ea1659f768c (diff) |
iso14443 ats: show explicitly if TA(1), TB(1) and TC(1) are transmitted
Change-Id: I3f6e2bb73da901de0c6127564612fba86d49ddb4
Reviewed-on: https://code.wireshark.org/review/15335
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-iso14443.c')
-rw-r--r-- | epan/dissectors/packet-iso14443.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/epan/dissectors/packet-iso14443.c b/epan/dissectors/packet-iso14443.c index 7aa7521c1f..7020d99b04 100644 --- a/epan/dissectors/packet-iso14443.c +++ b/epan/dissectors/packet-iso14443.c @@ -228,6 +228,9 @@ static int hf_iso14443_fsd = -1; static int hf_iso14443_cid = -1; static int hf_iso14443_tl = -1; static int hf_iso14443_t0 = -1; +static int hf_iso14443_tc1_transmitted = -1; +static int hf_iso14443_tb1_transmitted = -1; +static int hf_iso14443_ta1_transmitted = -1; static int hf_iso14443_fsci = -1; static int hf_iso14443_fsc = -1; static int hf_iso14443_tc1 = -1; @@ -620,6 +623,12 @@ static int dissect_iso14443_ats(tvbuff_t *tvb, gint offset, t0_it = proto_tree_add_item(tree, hf_iso14443_t0, tvb, offset, 1, ENC_BIG_ENDIAN); t0_tree = proto_item_add_subtree(t0_it, ett_iso14443_ats_t0); + proto_tree_add_item(t0_tree, hf_iso14443_tc1_transmitted, + tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(t0_tree, hf_iso14443_tb1_transmitted, + tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(t0_tree, hf_iso14443_ta1_transmitted, + tvb, offset, 1, ENC_BIG_ENDIAN); fsci = t0 & 0x0F; proto_tree_add_item(t0_tree, hf_iso14443_fsci, tvb, offset, 1, ENC_BIG_ENDIAN); @@ -1416,6 +1425,18 @@ proto_register_iso14443(void) { "Format byte T0", "iso14443.t0", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL } }, + { &hf_iso14443_tc1_transmitted, + { "TC(1) transmitted", "iso14443.tc1_transmitted", + FT_BOOLEAN, 8, NULL, HAVE_TC1, NULL, HFILL } + }, + { &hf_iso14443_tb1_transmitted, + { "TB(1) transmitted", "iso14443.tb1_transmitted", + FT_BOOLEAN, 8, NULL, HAVE_TB1, NULL, HFILL } + }, + { &hf_iso14443_ta1_transmitted, + { "TA(1) transmitted", "iso14443.ta1_transmitted", + FT_BOOLEAN, 8, NULL, HAVE_TA1, NULL, HFILL } + }, { &hf_iso14443_fsci, { "FSCI", "iso14443.fsci", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } |