#include "main.h"
#include "usb.h"
#define USB_VERSION …
static struct mwifiex_if_ops usb_ops;
static const struct usb_device_id mwifiex_usb_table[] = …;
MODULE_DEVICE_TABLE(usb, mwifiex_usb_table);
static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size);
static int mwifiex_usb_recv(struct mwifiex_adapter *adapter,
struct sk_buff *skb, u8 ep)
{ … }
static void mwifiex_usb_rx_complete(struct urb *urb)
{ … }
static void mwifiex_usb_tx_complete(struct urb *urb)
{ … }
static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size)
{ … }
static void mwifiex_usb_free(struct usb_card_rec *card)
{ … }
static int mwifiex_usb_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{ … }
static int mwifiex_usb_suspend(struct usb_interface *intf, pm_message_t message)
{ … }
static int mwifiex_usb_resume(struct usb_interface *intf)
{ … }
static void mwifiex_usb_disconnect(struct usb_interface *intf)
{ … }
static void mwifiex_usb_coredump(struct device *dev)
{ … }
static struct usb_driver mwifiex_usb_driver = …;
static int mwifiex_write_data_sync(struct mwifiex_adapter *adapter, u8 *pbuf,
u32 *len, u8 ep, u32 timeout)
{ … }
static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *pbuf,
u32 *len, u8 ep, u32 timeout)
{ … }
static void mwifiex_usb_port_resync(struct mwifiex_adapter *adapter)
{ … }
static bool mwifiex_usb_is_port_ready(struct mwifiex_private *priv)
{ … }
static inline u8 mwifiex_usb_data_sent(struct mwifiex_adapter *adapter)
{ … }
static int mwifiex_usb_construct_send_urb(struct mwifiex_adapter *adapter,
struct usb_tx_data_port *port, u8 ep,
struct urb_context *context,
struct sk_buff *skb_send)
{ … }
static int mwifiex_usb_prepare_tx_aggr_skb(struct mwifiex_adapter *adapter,
struct usb_tx_data_port *port,
struct sk_buff **skb_send)
{ … }
static int mwifiex_usb_aggr_tx_data(struct mwifiex_adapter *adapter, u8 ep,
struct sk_buff *skb,
struct mwifiex_tx_param *tx_param,
struct usb_tx_data_port *port)
{ … }
static void mwifiex_usb_tx_aggr_tmo(struct timer_list *t)
{ … }
static int mwifiex_usb_host_to_card(struct mwifiex_adapter *adapter, u8 ep,
struct sk_buff *skb,
struct mwifiex_tx_param *tx_param)
{ … }
static int mwifiex_usb_tx_init(struct mwifiex_adapter *adapter)
{ … }
static int mwifiex_usb_rx_init(struct mwifiex_adapter *adapter)
{ … }
static int mwifiex_register_dev(struct mwifiex_adapter *adapter)
{ … }
static void mwifiex_usb_cleanup_tx_aggr(struct mwifiex_adapter *adapter)
{ … }
static void mwifiex_unregister_dev(struct mwifiex_adapter *adapter)
{ … }
static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
struct mwifiex_fw_image *fw)
{ … }
static int mwifiex_usb_dnld_fw(struct mwifiex_adapter *adapter,
struct mwifiex_fw_image *fw)
{ … }
static void mwifiex_submit_rx_urb(struct mwifiex_adapter *adapter, u8 ep)
{ … }
static int mwifiex_usb_cmd_event_complete(struct mwifiex_adapter *adapter,
struct sk_buff *skb)
{ … }
static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter)
{ … }
static void mwifiex_usb_submit_rem_rx_urbs(struct mwifiex_adapter *adapter)
{ … }
static inline int
mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter)
{ … }
static struct mwifiex_if_ops usb_ops = …;
module_usb_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_VERSION(…);
MODULE_LICENSE(…) …;
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);