diff options
author | Eduardo Habkost | 2021-06-03 21:15:41 +0200 |
---|---|---|
committer | Eduardo Habkost | 2021-06-17 20:11:06 +0200 |
commit | 278f064e452468d66ee15c3f453826e697ec6832 (patch) | |
tree | 902b9944f38428d955b0e9763556134bb0dd1b2f /include/standard-headers/linux/virtio_bt.h | |
parent | Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-c11-20210615' into... (diff) | |
download | qemu-278f064e452468d66ee15c3f453826e697ec6832.tar.gz qemu-278f064e452468d66ee15c3f453826e697ec6832.tar.xz qemu-278f064e452468d66ee15c3f453826e697ec6832.zip |
Update Linux headers to 5.13-rc4
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210603191541.2862286-1-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_bt.h')
-rw-r--r-- | include/standard-headers/linux/virtio_bt.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_bt.h b/include/standard-headers/linux/virtio_bt.h new file mode 100644 index 0000000000..245e1eff4b --- /dev/null +++ b/include/standard-headers/linux/virtio_bt.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + +#ifndef _LINUX_VIRTIO_BT_H +#define _LINUX_VIRTIO_BT_H + +#include "standard-headers/linux/virtio_types.h" + +/* Feature bits */ +#define VIRTIO_BT_F_VND_HCI 0 /* Indicates vendor command support */ +#define VIRTIO_BT_F_MSFT_EXT 1 /* Indicates MSFT vendor support */ +#define VIRTIO_BT_F_AOSP_EXT 2 /* Indicates AOSP vendor support */ + +enum virtio_bt_config_type { + VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0, + VIRTIO_BT_CONFIG_TYPE_AMP = 1, +}; + +enum virtio_bt_config_vendor { + VIRTIO_BT_CONFIG_VENDOR_NONE = 0, + VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1, + VIRTIO_BT_CONFIG_VENDOR_INTEL = 2, + VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3, +}; + +struct virtio_bt_config { + uint8_t type; + uint16_t vendor; + uint16_t msft_opcode; +} QEMU_PACKED; + +#endif /* _LINUX_VIRTIO_BT_H */ |