aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb-ccid.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-03-21 08:41:32 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2015-03-29 15:54:06 +0000
commit7861fb3b6b892f4e975eee1eb51383f688db6636 (patch)
treedc3ff79c9d5f1261d74d08512017d6ae8186cafb /epan/dissectors/packet-usb-ccid.c
parentf3d1e3c660c6dee6330ef7a99c11e074b38c18cb (diff)
dissect two more features in the smart card device class descriptor
Change-Id: Ia442cbf7a30c1f1054a3fa8e814d595867e2c034 Reviewed-on: https://code.wireshark.org/review/7846 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-usb-ccid.c')
-rw-r--r--epan/dissectors/packet-usb-ccid.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/dissectors/packet-usb-ccid.c b/epan/dissectors/packet-usb-ccid.c
index e9a063ae02..609615bd76 100644
--- a/epan/dissectors/packet-usb-ccid.c
+++ b/epan/dissectors/packet-usb-ccid.c
@@ -65,6 +65,8 @@ static int hf_ccid_dwMechanical = -1;
static int hf_ccid_dwFeatures = -1;
static int hf_ccid_dwFeatures_autoParam = -1;
static int hf_ccid_dwFeatures_autoIccActivation = -1;
+static int hf_ccid_dwFeatures_autoIccClk = -1;
+static int hf_ccid_dwFeatures_autoBaudRate = -1;
static int hf_ccid_dwMaxCCIDMessageLength = -1;
static int hf_ccid_bClassGetResponse = -1;
static int hf_ccid_bClassEnvelope = -1;
@@ -90,6 +92,8 @@ static const int *bFeatures_fields[] = {
/* XXX - add the missing components */
&hf_ccid_dwFeatures_autoIccActivation,
&hf_ccid_dwFeatures_autoParam,
+ &hf_ccid_dwFeatures_autoIccClk,
+ &hf_ccid_dwFeatures_autoBaudRate,
NULL
};
@@ -647,6 +651,14 @@ proto_register_ccid(void)
{ "Automatic parameter configuration based on ATR",
"usbccid.dwFeatures.autoParam", FT_BOOLEAN, 32,
TFS(&tfs_supported_not_supported), 0x02, NULL, HFILL }},
+ {&hf_ccid_dwFeatures_autoIccClk,
+ { "Automatic ICC clock frequency change",
+ "usbccid.dwFeatures.autoIccClk", FT_BOOLEAN, 32,
+ TFS(&tfs_supported_not_supported), 0x10, NULL, HFILL }},
+ {&hf_ccid_dwFeatures_autoBaudRate,
+ { "Automatic baud rate change",
+ "usbccid.dwFeatures.autoBaudRate", FT_BOOLEAN, 32,
+ TFS(&tfs_supported_not_supported), 0x20, NULL, HFILL }},
{&hf_ccid_dwMaxCCIDMessageLength,
{ "maximum CCID message length", "usbccid.dwMaxCCIDMessageLength",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},