diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2017-02-02 19:31:39 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-02-07 05:22:51 +0000 |
commit | 1ec2a69c8a133d1f524bd146bbf3d9814bd62077 (patch) | |
tree | b236090f75b2889d9297424bacd815b54143736d /epan/dissectors/packet-bthci_evt.c | |
parent | 5d1c478bc15c3b4d843506da4d6f880a0cc32f66 (diff) |
Bluetooth: EIR/AD: Add support for LE Features and Channel Map
Based on CSS7 specification.
Change-Id: Ibf00e3add7fcb1a2b3a22574bb63b0fddaf4adcb
Reviewed-on: https://code.wireshark.org/review/19972
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bthci_evt.c')
-rw-r--r-- | epan/dissectors/packet-bthci_evt.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c index 02fec5c784..7ed41b4102 100644 --- a/epan/dissectors/packet-bthci_evt.c +++ b/epan/dissectors/packet-bthci_evt.c @@ -382,6 +382,11 @@ static int hf_bthci_evt_le_features_2m_phy = -1; static int hf_bthci_evt_le_features_stable_modulation_index_tx =-1; static int hf_bthci_evt_le_features_stable_modulation_index_rx = -1; static int hf_bthci_evt_le_features_coded_phy = -1; +static int hf_bthci_evt_le_features_extended_advertising = -1; +static int hf_bthci_evt_le_features_periodic_advertising = -1; +static int hf_bthci_evt_le_features_channel_selection_algorithm_2 = -1; +static int hf_bthci_evt_le_features_power_class_1 = -1; +static int hf_bthci_evt_le_features_minimum_number_of_used_channels_procedure = -1; static int hf_bthci_evt_le_features_reserved = -1; static int hf_bthci_evt_mws_number_of_transports = -1; static int hf_bthci_evt_mws_transport_layers = -1; @@ -427,6 +432,11 @@ static const int *hfx_bthci_evt_le_features[] = { &hf_bthci_evt_le_features_stable_modulation_index_tx, &hf_bthci_evt_le_features_stable_modulation_index_rx, &hf_bthci_evt_le_features_coded_phy, + &hf_bthci_evt_le_features_extended_advertising, + &hf_bthci_evt_le_features_periodic_advertising, + &hf_bthci_evt_le_features_channel_selection_algorithm_2, + &hf_bthci_evt_le_features_power_class_1, + &hf_bthci_evt_le_features_minimum_number_of_used_channels_procedure, &hf_bthci_evt_le_features_reserved, NULL }; @@ -7263,9 +7273,34 @@ proto_register_bthci_evt(void) FT_BOOLEAN, 64, NULL, 0x800, NULL, HFILL } }, + { &hf_bthci_evt_le_features_extended_advertising, + { "LE Extended Advertising", "bthci_evt.le_features.extended_advertising", + FT_BOOLEAN, 64, NULL, 0x1000, + NULL, HFILL } + }, + { &hf_bthci_evt_le_features_periodic_advertising, + { "LE Periodic Advertising", "bthci_evt.le_features.periodic_advertising", + FT_BOOLEAN, 64, NULL, 0x2000, + NULL, HFILL } + }, + { &hf_bthci_evt_le_features_channel_selection_algorithm_2, + { "Channel Selection Algorithm #2", "bthci_evt.le_features.channel_selection_algorithm_2", + FT_BOOLEAN, 64, NULL, 0x4000, + NULL, HFILL } + }, + { &hf_bthci_evt_le_features_power_class_1, + { "Power Class 1", "bthci_evt.le_features.power_class_1", + FT_BOOLEAN, 64, NULL, 0x8000, + NULL, HFILL } + }, + { &hf_bthci_evt_le_features_minimum_number_of_used_channels_procedure, + { "Minimum Number of Used Channels Procedure", "bthci_evt.le_features.minimum_number_of_used_channels_procedure", + FT_BOOLEAN, 64, NULL, 0x10000, + NULL, HFILL } + }, { &hf_bthci_evt_le_features_reserved, { "Reserved", "bthci_evt.le_features.reserved", - FT_UINT64, BASE_HEX, NULL, G_GUINT64_CONSTANT(0xFFFFFFFFFFFFF000), + FT_UINT64, BASE_HEX, NULL, G_GUINT64_CONSTANT(0xFFFFFFFFFFFE0000), NULL, HFILL } }, { &hf_bthci_evt_mws_number_of_transports, |