diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-09-25 10:29:37 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-09-26 03:43:52 +0000 |
commit | 91ab8cf345b01acae69675dae34c6a2e7a6cedeb (patch) | |
tree | 4d3927304c2f0b7c3bd7336366ed6f334c6aca82 /epan/dissectors/packet-btle.c | |
parent | 37a92ddebd9217f8e1cc2a758a5155c6a9924782 (diff) |
btle: Fix Feature support bit positions
From BT spec 4.2 volume 6 part B section 4.6, Feature support.
Bug: 12946
Change-Id: I065e9bc9af88bb1daf53d26ae683d7ddedbb8ebf
Reviewed-on: https://code.wireshark.org/review/17911
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-btle.c')
-rw-r--r-- | epan/dissectors/packet-btle.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c index cb66d35f3b..427f57ca42 100644 --- a/epan/dissectors/packet-btle.c +++ b/epan/dissectors/packet-btle.c @@ -1431,42 +1431,42 @@ proto_register_btle(void) }, { &hf_control_feature_set_le_encryption, { "LE Encryption", "btle.control.feature_set.le_encryption", - FT_BOOLEAN, 8, NULL, 0x80, + FT_BOOLEAN, 8, NULL, 0x01, NULL, HFILL } }, { &hf_control_feature_set_connection_parameters_request_procedure, { "Connection Parameters Request Procedure", "btle.control.feature_set.connection_parameters_request_procedure", - FT_BOOLEAN, 8, NULL, 0x40, + FT_BOOLEAN, 8, NULL, 0x02, NULL, HFILL } }, { &hf_control_feature_set_extended_reject_indication, { "Extended Reject Indication", "btle.control.feature_set.extended_reject_indication", - FT_BOOLEAN, 8, NULL, 0x20, + FT_BOOLEAN, 8, NULL, 0x04, NULL, HFILL } }, { &hf_control_feature_set_slave_initiated_features_exchange, { "Slave Initiated Features Exchange", "btle.control.feature_set.slave_initiated_features_exchange", - FT_BOOLEAN, 8, NULL, 0x10, + FT_BOOLEAN, 8, NULL, 0x08, NULL, HFILL } }, { &hf_control_feature_set_le_ping, { "LE Ping", "btle.control.feature_set.le_ping", - FT_BOOLEAN, 8, NULL, 0x08, + FT_BOOLEAN, 8, NULL, 0x10, NULL, HFILL } }, { &hf_control_feature_set_le_pkt_len_ext, { "LE Data Packet Length Extension", "btle.control.feature_set.le_pkt_len_ext", - FT_BOOLEAN, 8, NULL, 0x04, + FT_BOOLEAN, 8, NULL, 0x20, NULL, HFILL } }, { &hf_control_feature_set_ll_privacy, { "LL Privacy", "btle.control.feature_set.le_privacy", - FT_BOOLEAN, 8, NULL, 0x02, + FT_BOOLEAN, 8, NULL, 0x40, NULL, HFILL } }, { &hf_control_feature_set_ext_scan_flt_pol, { "Extended Scanner Filter Policies", "btle.control.feature_set.ext_scan_flt_pol", - FT_BOOLEAN, 8, NULL, 0x01, + FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL } }, { &hf_control_feature_set_reserved, |