Bluetooth HCI: Add support for Bluetooth v5.2
Dissection of all new HCI commands and events added in the newly released Bluetooth specification version 5.2. Bluetooth Device Dialog updated to also show ISO buffer size and amount. Change-Id: I3a459760cbe5f6c4f985621cee40dbbe5e473d39 Signed-off-by: Allan Møller Madsen <almomadk@gmail.com> Reviewed-on: https://code.wireshark.org/review/35957 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
76ed59b756
commit
1592679ed8
|
@ -241,7 +241,9 @@ typedef struct _bluetooth_device_tap_t {
|
|||
} mtus;
|
||||
struct {
|
||||
guint16 acl_mtu;
|
||||
guint16 iso_mtu;
|
||||
guint16 acl_packets;
|
||||
guint16 iso_packets;
|
||||
} le_mtus;
|
||||
} data;
|
||||
} bluetooth_device_tap_t;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -34,7 +34,10 @@ extern value_string_ext bthci_cmd_auth_req_vals_ext;
|
|||
extern value_string_ext bthci_cmd_appearance_vals_ext;
|
||||
extern value_string_ext bthci_cmd_le_phy_vals_ext;
|
||||
extern value_string_ext bthci_cmd_cte_type_vals_ext;
|
||||
extern value_string_ext bthci_cmd_clock_accuray_vals_ext;
|
||||
extern value_string_ext bthci_cmd_slot_durations_vals_ext;
|
||||
extern value_string_ext bthci_cmd_phy_and_coding_vals_ext;
|
||||
extern value_string_ext bthci_cmd_framing_vals_ext;
|
||||
|
||||
extern const value_string bthci_cmd_io_capability_vals[];
|
||||
extern const value_string bthci_cmd_oob_data_present_vals[];
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -51,10 +51,12 @@ static const int row_number_sco_mtu = 14;
|
|||
static const int row_number_sco_packets = 15;
|
||||
static const int row_number_le_acl_mtu = 16;
|
||||
static const int row_number_le_acl_packets = 17;
|
||||
static const int row_number_inquiry_mode = 18;
|
||||
static const int row_number_page_timeout = 19;
|
||||
static const int row_number_simple_pairing_mode = 20;
|
||||
static const int row_number_voice_setting = 21;
|
||||
static const int row_number_le_iso_mtu = 18;
|
||||
static const int row_number_le_iso_packets = 19;
|
||||
static const int row_number_inquiry_mode = 20;
|
||||
static const int row_number_page_timeout = 21;
|
||||
static const int row_number_simple_pairing_mode = 22;
|
||||
static const int row_number_voice_setting = 23;
|
||||
|
||||
static tap_packet_status
|
||||
bluetooth_device_tap_packet(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *edt, const void* data)
|
||||
|
@ -623,6 +625,18 @@ tap_packet_status BluetoothDeviceDialog::tapPacket(void *tapinfo_ptr, packet_inf
|
|||
updateChanges(tableWidget, field, row_number_le_acl_packets, tapinfo->changes, pinfo);
|
||||
item->setText(field);
|
||||
|
||||
field = QString::number(tap_device->data.le_mtus.iso_mtu);
|
||||
item = tableWidget->item(row_number_le_iso_mtu, column_number_value);
|
||||
saveItemData(item, tap_device, pinfo);
|
||||
updateChanges(tableWidget, field, row_number_le_iso_mtu, tapinfo->changes, pinfo);
|
||||
item->setText(field);
|
||||
|
||||
field = QString::number(tap_device->data.le_mtus.iso_packets);
|
||||
item = tableWidget->item(row_number_le_iso_packets, column_number_value);
|
||||
saveItemData(item, tap_device, pinfo);
|
||||
updateChanges(tableWidget, field, row_number_le_iso_packets, tapinfo->changes, pinfo);
|
||||
item->setText(field);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -163,6 +163,16 @@
|
|||
<string>LE ACL Total Packets</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>LE ISO MTU</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>LE ISO Total Packets</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>Inquiry Mode</string>
|
||||
|
|
Loading…
Reference in New Issue