1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_LINUX_VIRTIO_BT_H
8 #define _UAPI_LINUX_VIRTIO_BT_H
9 #include <linux/virtio_types.h>
10 #define VIRTIO_BT_F_VND_HCI 0
11 #define VIRTIO_BT_F_MSFT_EXT 1
12 #define VIRTIO_BT_F_AOSP_EXT 2
13 #define VIRTIO_BT_F_CONFIG_V2 3
14 enum virtio_bt_config_type {
15   VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
16 };
17 enum virtio_bt_config_vendor {
18   VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
19   VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
20   VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
21   VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
22 };
23 struct virtio_bt_config {
24   __u8 type;
25   __u16 vendor;
26   __u16 msft_opcode;
27 } __attribute__((packed));
28 struct virtio_bt_config_v2 {
29   __u8 type;
30   __u8 alignment;
31   __u16 vendor;
32   __u16 msft_opcode;
33 };
34 #endif
35