linux/drivers/bluetooth/btrsi.c

/*
 * Copyright (c) 2017 Redpine Signals Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */
#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();