.travis.yml: Remove the unused xfslib-dev package
[qemu/kevin.git] / include / standard-headers / linux / virtio_bt.h
bloba11ecc3f92df1adfec255979da3b166057a8a3bf
1 /* SPDX-License-Identifier: BSD-3-Clause */
3 #ifndef _LINUX_VIRTIO_BT_H
4 #define _LINUX_VIRTIO_BT_H
6 #include "standard-headers/linux/virtio_types.h"
8 /* Feature bits */
9 #define VIRTIO_BT_F_VND_HCI 0 /* Indicates vendor command support */
10 #define VIRTIO_BT_F_MSFT_EXT 1 /* Indicates MSFT vendor support */
11 #define VIRTIO_BT_F_AOSP_EXT 2 /* Indicates AOSP vendor support */
12 #define VIRTIO_BT_F_CONFIG_V2 3 /* Use second version configuration */
14 enum virtio_bt_config_type {
15 VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
16 VIRTIO_BT_CONFIG_TYPE_AMP = 1,
19 enum virtio_bt_config_vendor {
20 VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
21 VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
22 VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
23 VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
26 struct virtio_bt_config {
27 uint8_t type;
28 uint16_t vendor;
29 uint16_t msft_opcode;
30 } QEMU_PACKED;
32 struct virtio_bt_config_v2 {
33 uint8_t type;
34 uint8_t alignment;
35 uint16_t vendor;
36 uint16_t msft_opcode;
39 #endif /* _LINUX_VIRTIO_BT_H */