blob: 7e29eaa7f729bc656f6eb8fa81f9916f6de8dbce [file] [log] [blame]
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +00001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_VIRTIO_BT_H
20#define _UAPI_LINUX_VIRTIO_BT_H
21#include <linux/virtio_types.h>
22#define VIRTIO_BT_F_VND_HCI 0
23#define VIRTIO_BT_F_MSFT_EXT 1
24#define VIRTIO_BT_F_AOSP_EXT 2
25enum virtio_bt_config_type {
26 VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
27 VIRTIO_BT_CONFIG_TYPE_AMP = 1,
28};
29enum virtio_bt_config_vendor {
30 VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
31 VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
32 VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
33 VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
34};
35struct virtio_bt_config {
36 __u8 type;
37 __u16 vendor;
38 __u16 msft_opcode;
39} __attribute__((packed));
40#endif