Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 lines
925 B
C
39 lines
925 B
C
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
|
|
#ifndef _UAPI_LINUX_VIRTIO_BT_H
|
|
#define _UAPI_LINUX_VIRTIO_BT_H
|
|
|
|
#include <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 */
|
|
#define VIRTIO_BT_F_CONFIG_V2 3 /* Use second version configuration */
|
|
|
|
enum virtio_bt_config_type {
|
|
VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
|
|
};
|
|
|
|
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 {
|
|
__u8 type;
|
|
__u16 vendor;
|
|
__u16 msft_opcode;
|
|
} __attribute__((packed));
|
|
|
|
struct virtio_bt_config_v2 {
|
|
__u8 type;
|
|
__u8 alignment;
|
|
__u16 vendor;
|
|
__u16 msft_opcode;
|
|
};
|
|
|
|
#endif /* _UAPI_LINUX_VIRTIO_BT_H */
|