linux/drivers/net/wireless/rsi/rsi_usb.h

/*
 * @section LICENSE
 * Copyright (c) 2014 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.
 */

#ifndef __RSI_USB_INTF__
#define __RSI_USB_INTF__

#include <linux/usb.h>
#include "rsi_main.h"
#include "rsi_common.h"

#define RSI_USB_VENDOR_ID
#define RSI_USB_PID_9113
#define RSI_USB_PID_9116

#define USB_INTERNAL_REG_1
#define RSI_USB_READY_MAGIC_NUM
#define FW_STATUS_REG
#define RSI_TA_HOLD_REG
#define RSI_FW_WDT_DISABLE_REQ

#define USB_VENDOR_REGISTER_READ
#define USB_VENDOR_REGISTER_WRITE
#define RSI_USB_TX_HEAD_ROOM

#define MAX_RX_URBS
#define MAX_BULK_EP
#define WLAN_EP
#define BT_EP

#define RSI_USB_BUF_SIZE
#define RSI_USB_CTRL_BUF_SIZE

#define RSI_MAX_RX_USB_PKT_SIZE

struct rx_usb_ctrl_block {};

struct rsi_91x_usbdev {};

static inline int rsi_usb_check_queue_status(struct rsi_hw *adapter, u8 q_num)
{}

static inline int rsi_usb_event_timeout(struct rsi_hw *adapter)
{}

void rsi_usb_rx_thread(struct rsi_common *common);
#endif