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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  Copyright (C) 2008, cozybit Inc.
 *  Copyright (C) 2003-2006, Marvell International Ltd.
 */
#include <linux/wait.h>
#include <linux/timer.h>

struct lbtf_private;

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

#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

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