summaryrefslogtreecommitdiff
path: root/emulator/vhci.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-09-25 12:56:00 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-02-03 13:26:40 -0800
commitfc1e36b3005eae8c7461bcfddd18c8e9e7dc2609 (patch)
treed3c25c6d36a23b262a1ec629b10c6b8ac488863f /emulator/vhci.c
parent91e49fbf01472e6c7d0f7ca4f1e21e1f9c316e9e (diff)
downloadbluez-fc1e36b3005eae8c7461bcfddd18c8e9e7dc2609.tar.gz
emulator: Add initial support for BT 5.2
This adds the initial command/event decoding for 5.2.
Diffstat (limited to 'emulator/vhci.c')
-rw-r--r--emulator/vhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulator/vhci.c b/emulator/vhci.c
index 8dec20a08..7a69b484e 100644
--- a/emulator/vhci.c
+++ b/emulator/vhci.c
@@ -89,6 +89,7 @@ static void vhci_read_callback(int fd, uint32_t events, void *user_data)
case BT_H4_CMD_PKT:
case BT_H4_ACL_PKT:
case BT_H4_SCO_PKT:
+ case BT_H4_ISO_PKT:
btdev_receive_h4(vhci->btdev, buf, len);
break;
}
@@ -104,7 +105,7 @@ struct vhci *vhci_open(enum vhci_type type)
switch (type) {
case VHCI_TYPE_BREDRLE:
- btdev_type = BTDEV_TYPE_BREDRLE;
+ btdev_type = BTDEV_TYPE_BREDRLE60;
ctrl_type = HCI_PRIMARY;
break;
case VHCI_TYPE_BREDR: