summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-07-27 14:48:00 +0200
committerAnders Broman <a.broman58@gmail.com>2016-07-27 15:02:43 +0000
commitf66228c9e4bf11a6268c336fcebe06c14b08a830 (patch)
tree638a9ada023094a8233f31e4c0853207c374698e
parent8e60500855a6258388c3041196766a10f9051950 (diff)
downloadwireshark-f66228c9e4bf11a6268c336fcebe06c14b08a830.tar.gz
[BTLE] Add new Link layer Feature flags.
Change-Id: Ib646d90c6e44075e7ae67f2022dc633fe6423c20 Reviewed-on: https://code.wireshark.org/review/16724 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-btle.c24
1 files changed, 19 insertions, 5 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c
index 1b185af30f..781526dacb 100644
--- a/epan/dissectors/packet-btle.c
+++ b/epan/dissectors/packet-btle.c
@@ -89,7 +89,9 @@ static int hf_control_feature_set_connection_parameters_request_procedure = -1;
static int hf_control_feature_set_extended_reject_indication = -1;
static int hf_control_feature_set_slave_initiated_features_exchange = -1;
static int hf_control_feature_set_le_ping = -1;
-static int hf_control_feature_set_reserved_5_7 = -1;
+static int hf_control_feature_set_le_pkt_len_ext = -1;
+static int hf_control_feature_set_ll_privacy = -1;
+static int hf_control_feature_set_ext_scan_flt_pol = -1;
static int hf_control_feature_set_reserved = -1;
static int hf_control_window_size = -1;
static int hf_control_window_offset = -1;
@@ -863,7 +865,9 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
proto_tree_add_item(sub_tree, hf_control_feature_set_extended_reject_indication, tvb, offset, 1, ENC_NA);
proto_tree_add_item(sub_tree, hf_control_feature_set_slave_initiated_features_exchange, tvb, offset, 1, ENC_NA);
proto_tree_add_item(sub_tree, hf_control_feature_set_le_ping, tvb, offset, 1, ENC_NA);
- proto_tree_add_item(sub_tree, hf_control_feature_set_reserved_5_7, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(sub_tree, hf_control_feature_set_le_pkt_len_ext, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(sub_tree, hf_control_feature_set_ll_privacy, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(sub_tree, hf_control_feature_set_ext_scan_flt_pol, tvb, offset, 1, ENC_NA);
offset += 1;
proto_tree_add_item(sub_tree, hf_control_feature_set_reserved, tvb, offset, 7, ENC_NA);
@@ -1213,9 +1217,19 @@ proto_register_btle(void)
FT_BOOLEAN, 8, NULL, 0x08,
NULL, HFILL }
},
- { &hf_control_feature_set_reserved_5_7,
- { "Reseved", "btle.control.feature_set.reserved_5_7",
- FT_BOOLEAN, 8, NULL, 0x07,
+ { &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,
+ NULL, HFILL }
+ },
+ { &hf_control_feature_set_ll_privacy,
+ { "LL Privacy", "btle.control.feature_set.le_privacy",
+ FT_BOOLEAN, 8, NULL, 0x02,
+ 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,
NULL, HFILL }
},
{ &hf_control_feature_set_reserved,