diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2016-10-25 11:03:52 +0200 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2016-11-04 09:23:59 +0000 |
commit | 7f033b68066beba82831c8888703531bafda26eb (patch) | |
tree | 8d2a66aadd498fc3afe2461fb40a6b6eaccf34e6 /epan/dissectors/packet-bthci_cmd.c | |
parent | c7996990402b7bba13a9df6807797febb9ebaf98 (diff) | |
download | wireshark-7f033b68066beba82831c8888703531bafda26eb.tar.gz |
Bluetooth: HCI: Add missing Core4's cmd/evt identifies
Add a lof of Command Opcodes.
Implement trivial Event: "Inquiry Response Notification"
and "Get MWS Transport Layer Configuration"
Change-Id: I4ca13878e2f972caae4320e9c0149dc3d75c45a5
Reviewed-on: https://code.wireshark.org/review/18668
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bthci_cmd.c')
-rw-r--r-- | epan/dissectors/packet-bthci_cmd.c | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bthci_cmd.c b/epan/dissectors/packet-bthci_cmd.c index 666e4380b2..f4a09cf516 100644 --- a/epan/dissectors/packet-bthci_cmd.c +++ b/epan/dissectors/packet-bthci_cmd.c @@ -668,7 +668,8 @@ value_string_ext bthci_cmd_ogf_vals_ext = VALUE_STRING_EXT_INIT(bthci_cmd_ogf_va { (base) | 0x041, "Set Connectionless Slave Broadcast" }, \ { (base) | 0x042, "Set Connectionless Slave Broadcast Receive" }, \ { (base) | 0x043, "Start Synchronization Train" }, \ - { (base) | 0x044, "Receive Synchronization Train" } + { (base) | 0x044, "Receive Synchronization Train" }, \ + { (base) | 0x045, "Remove OOB Extended Data Request Reply" } \ static const value_string bthci_cmd_ocf_link_control_vals[] = { LINK_CONTROL_VALS(0x0), \ @@ -800,7 +801,16 @@ value_string_ext bthci_cmd_ocf_link_policy_vals_ext = VALUE_STRING_EXT_INIT(bthc { (base) | 0x075, "Delete Reserved LT_ADDR" }, \ { (base) | 0x076, "Set Connectionless Slave Broadcast Data" }, \ { (base) | 0x077, "Read Synchronization Train Parameters" }, \ - { (base) | 0x078, "Write Synchronization Train Parameters" } + { (base) | 0x078, "Write Synchronization Train Parameters" }, \ + { (base) | 0x079, "Read Secure Connections Host Support" }, \ + { (base) | 0x07A, "Write Secure Connections Host Support" }, \ + { (base) | 0x07B, "Read Authenticated Payload Timeout" }, \ + { (base) | 0x07C, "Write Authenticated Payload Timeout" }, \ + { (base) | 0x07D, "Read Local OOB Extended Data" }, \ + { (base) | 0x07E, "Read Extended Page Timeout" }, \ + { (base) | 0x07F, "Write Extended Page Timeout" }, \ + { (base) | 0x080, "Read Extended Inquiry Length" }, \ + { (base) | 0x081, "Write Extended Inquiry Length" } static const value_string bthci_cmd_ocf_host_controller_and_baseband_vals[] = { HOST_CONTROLLER_AND_BASEBAND_VALS(0x0), @@ -862,7 +872,8 @@ value_string_ext bthci_cmd_ocf_status_vals_ext = VALUE_STRING_EXT_INIT(bthci_cmd { (base) | 0x004, "Write Simple Pairing Debug Mode" }, \ { (base) | 0x007, "Enable AMP Receiver Reports" }, \ { (base) | 0x008, "AMP Test End" }, \ - { (base) | 0x009, "AMP Test" } + { (base) | 0x009, "AMP Test" }, \ + { (base) | 0x00A, "Write Secure Connections Test Mode" } static const value_string bthci_cmd_ocf_testing_vals[] = { TESTING_VALS(0x0), @@ -2119,6 +2130,7 @@ dissect_link_control_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo, case 0x0042: /* Set Connectionless Slave Broadcast Receive */ case 0x0043: /* Start Synchronization Train */ case 0x0044: /* Receive Synchronization Train */ + case 0x0045: /* Remove OOB Extended Data Request Reply */ /* TODO: Implement above cases */ proto_tree_add_expert(tree, pinfo, &ei_command_undecoded, tvb, offset, -1); offset += tvb_reported_length_remaining(tvb, offset); @@ -2884,6 +2896,15 @@ dissect_host_controller_baseband_cmd(tvbuff_t *tvb, int offset, packet_info *pin case 0x076: /* Set Connectionless Slave Broadcast Data */ case 0x077: /* Read Synchronization Train Parameters */ case 0x078: /* Write Synchronization Train Parameters */ + case 0x079: /* Read Secure Connections Host Support */ + case 0x07A: /* Write Secure Connections Host Support */ + case 0x07B: /* Read Authenticated Payload Timeout */ + case 0x07C: /* Write Authenticated Payload Timeout */ + case 0x07D: /* Read Local OOB Extended Data */ + case 0x07E: /* Read Extended Page Timeout */ + case 0x07F: /* Write Extended Page Timeout */ + case 0x080: /* Read Extended Inquiry Length */ + case 0x081: /* Write Extended Inquiry Length */ /* TODO: Implement above cases */ proto_tree_add_expert(tree, pinfo, &ei_command_undecoded, tvb, offset, -1); offset += tvb_reported_length_remaining(tvb, offset); @@ -3020,9 +3041,11 @@ dissect_testing_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *t break; case 0x009: /* AMP Test */ -/* TODO: Implement above cases */ + case 0x00A: /* Write Secure Connections Test Mode */ +/* TODO */ proto_tree_add_expert(tree, pinfo, &ei_command_undecoded, tvb, offset, -1); offset += tvb_reported_length_remaining(tvb, offset); + break; default: |