logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

virtio_bt.h (910B)


  1. /* SPDX-License-Identifier: BSD-3-Clause */
  2. #ifndef _LINUX_VIRTIO_BT_H
  3. #define _LINUX_VIRTIO_BT_H
  4. #include <linux/virtio_types.h>
  5. /* Feature bits */
  6. #define VIRTIO_BT_F_VND_HCI 0 /* Indicates vendor command support */
  7. #define VIRTIO_BT_F_MSFT_EXT 1 /* Indicates MSFT vendor support */
  8. #define VIRTIO_BT_F_AOSP_EXT 2 /* Indicates AOSP vendor support */
  9. #define VIRTIO_BT_F_CONFIG_V2 3 /* Use second version configuration */
  10. enum virtio_bt_config_type {
  11. VIRTIO_BT_CONFIG_TYPE_PRIMARY = 0,
  12. };
  13. enum virtio_bt_config_vendor {
  14. VIRTIO_BT_CONFIG_VENDOR_NONE = 0,
  15. VIRTIO_BT_CONFIG_VENDOR_ZEPHYR = 1,
  16. VIRTIO_BT_CONFIG_VENDOR_INTEL = 2,
  17. VIRTIO_BT_CONFIG_VENDOR_REALTEK = 3,
  18. };
  19. struct virtio_bt_config {
  20. __u8 type;
  21. __u16 vendor;
  22. __u16 msft_opcode;
  23. } __attribute__((packed));
  24. struct virtio_bt_config_v2 {
  25. __u8 type;
  26. __u8 alignment;
  27. __u16 vendor;
  28. __u16 msft_opcode;
  29. };
  30. #endif /* _LINUX_VIRTIO_BT_H */