blob: 8799b66053a2f024af2b510472a75c4c0eb34d8d [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 */
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +00007#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
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080013#define VIRTIO_BT_F_CONFIG_V2 3
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000014enum virtio_bt_config_type {
15 VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000016};
17enum 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};
23struct virtio_bt_config {
24 __u8 type;
25 __u16 vendor;
26 __u16 msft_opcode;
27} __attribute__((packed));
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080028struct virtio_bt_config_v2 {
29 __u8 type;
30 __u8 alignment;
31 __u16 vendor;
32 __u16 msft_opcode;
33};
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000034#endif