CHROMIUM: Bluetooth: Log Intel vendor specific HCI events

This logs Intel vendor specific HCI events (with event code 0xff) for
future debugging purpose. There are three events recognized:
- Fatal exception (0x01)
- Boot up         (0x02)
- Debug exception (0x08)

Example from HCI snoop log:
HCI_EVT_INTEL Rcvd Intel Vendor-Specific 04 ff 05 01 f2 00 02 01
HCI-Event: DebugEvent Code: 0xFF
ParameterLength: 0x05 (5)
EventSubOpcode: 0x01 (1) "Intel Fatel Execption"
LineNumber: 242
Module: 0x02 "HCI"
Reason: 0x01

BUG=b:70901688
TEST=Flash a special Fw(0x06) which allows us to trigger Intel vendor
specific HCI events including FatalException, Intel BootUP and Debug
Exception. Verified that HCI events are printed which issuing special
commands to trigger the events.

Change-Id: I741a5ad0a27d41e13a56bb848960db98053cd1d8
Signed-off-by: Miao-chen Chou <mcchou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/923180
Reviewed-by: Dmitry Grinberg <dmitrygr@google.com>
(cherry picked from commit 41447e71e4c49b957ed87551d72499dcf72bf41e)
Reviewed-on: https://chromium-review.googlesource.com/1179340
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
2 files changed