#include <linux/module.h>
#include <linux/kernel.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <linux/unaligned.h>
#include <net/rsi_91x.h>
#define RSI_DMA_ALIGN …
#define RSI_FRAME_DESC_SIZE …
#define RSI_HEADROOM_FOR_BT_HAL …
struct rsi_hci_adapter { … };
static int rsi_hci_open(struct hci_dev *hdev)
{ … }
static int rsi_hci_close(struct hci_dev *hdev)
{ … }
static int rsi_hci_flush(struct hci_dev *hdev)
{ … }
static int rsi_hci_send_pkt(struct hci_dev *hdev, struct sk_buff *skb)
{ … }
static int rsi_hci_recv_pkt(void *priv, const u8 *pkt)
{ … }
static int rsi_hci_attach(void *priv, struct rsi_proto_ops *ops)
{ … }
static void rsi_hci_detach(void *priv)
{ … }
const struct rsi_mod_ops rsi_bt_ops = …;
EXPORT_SYMBOL(…);
static int rsi_91x_bt_module_init(void)
{ … }
static void rsi_91x_bt_module_exit(void)
{ … }
module_init(…) …;
module_exit(rsi_91x_bt_module_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;