linux/drivers/net/wireless/marvell/mwifiex/usb.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This file contains definitions for mwifiex USB interface driver.
 *
 * Copyright 2011-2020 NXP
 */

#ifndef _MWIFIEX_USB_H
#define _MWIFIEX_USB_H

#include <linux/completion.h>
#include <linux/usb.h>

#define USB8XXX_VID

#define USB8766_PID_1
#define USB8766_PID_2
#define USB8797_PID_1
#define USB8797_PID_2
#define USB8801_PID_1
#define USB8801_PID_2
#define USB8997_PID_1
#define USB8997_PID_2


#define USB8XXX_FW_DNLD
#define USB8XXX_FW_READY
#define USB8XXX_FW_MAX_RETRY

#define MWIFIEX_TX_DATA_PORT
#define MWIFIEX_TX_DATA_URB
#define MWIFIEX_RX_DATA_URB
#define MWIFIEX_USB_TIMEOUT

#define USB8766_DEFAULT_FW_NAME
#define USB8797_DEFAULT_FW_NAME
#define USB8801_DEFAULT_FW_NAME
#define USB8997_DEFAULT_FW_NAME

#define FW_DNLD_TX_BUF_SIZE
#define FW_DNLD_RX_BUF_SIZE
#define FW_HAS_LAST_BLOCK
#define FW_CMD_7

#define FW_DATA_XMIT_SIZE

struct urb_context {};

#define MWIFIEX_USB_TX_AGGR_TMO_MIN
#define MWIFIEX_USB_TX_AGGR_TMO_MAX

struct tx_aggr_tmr_cnxt {};

struct usb_tx_aggr {};

struct usb_tx_data_port {};

struct usb_card_rec {};

struct fw_header {};

struct fw_sync_header {} __packed;

struct fw_data {} __packed;

#endif /*_MWIFIEX_USB_H */