]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - drivers/bluetooth/btrtl.h
2 * Bluetooth support for Realtek devices
4 * Copyright (C) 2015 Endless Mobile, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #define RTL_FRAG_LEN 252
20 struct rtl_download_cmd
{
22 __u8 data
[RTL_FRAG_LEN
];
25 struct rtl_download_response
{
30 struct rtl_rom_version_evt
{
35 struct rtl_epatch_header
{
41 #if IS_ENABLED(CONFIG_BT_RTL)
43 int btrtl_setup_realtek(struct hci_dev
*hdev
);
47 static inline int btrtl_setup_realtek(struct hci_dev
*hdev
)