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 VIRTIO_BT_CONFIG_TYPE_AMP = 1, 17 }; 18 enum virtio_bt_config_vendor { 19 VIRTIO_BT_CONFIG_VENDOR_NONE = 0, 20 VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1, 21 VIRTIO_BT_CONFIG_VENDOR_INTEL = 2, 22 VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3, 23 }; 24 struct virtio_bt_config { 25 __u8 type; 26 __u16 vendor; 27 __u16 msft_opcode; 28 } __attribute__((packed)); 29 struct virtio_bt_config_v2 { 30 __u8 type; 31 __u8 alignment; 32 __u16 vendor; 33 __u16 msft_opcode; 34 }; 35 #endif 36