linux/drivers/net/wireless/marvell/libertas/if_usb.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LBS_IF_USB_H
#define _LBS_IF_USB_H

#include <linux/wait.h>
#include <linux/timer.h>

struct lbs_private;

/*
 * This file contains definition for USB interface.
 */
#define CMD_TYPE_REQUEST
#define CMD_TYPE_DATA
#define CMD_TYPE_INDICATION

#define IPFIELD_ALIGN_OFFSET

#define BOOT_CMD_FW_BY_USB
#define BOOT_CMD_FW_IN_EEPROM
#define BOOT_CMD_UPDATE_BOOT2
#define BOOT_CMD_UPDATE_FW
#define BOOT_CMD_MAGIC_NUMBER

struct bootcmd
{};

#define BOOT_CMD_RESP_OK
#define BOOT_CMD_RESP_FAIL
#define BOOT_CMD_RESP_NOT_SUPPORTED

struct bootcmdresp
{};

/* USB card description structure*/
struct if_usb_card {};

/* fwheader */
struct fwheader {};

#define FW_MAX_DATA_BLK_SIZE
/* FWData */
struct fwdata {};

/* fwsyncheader */
struct fwsyncheader {};

#define FW_HAS_DATA_TO_RECV
#define FW_HAS_LAST_BLOCK


#endif