linux/drivers/net/wireless/ath/ar5523/ar5523.h

/*
 * Copyright (c) 2006 Damien Bergamini <[email protected]>
 * Copyright (c) 2006 Sam Leffler, Errno Consulting
 * Copyright (c) 2007 Christoph Hellwig <[email protected]>
 * Copyright (c) 2008-2009 Weongyo Jeong <[email protected]>
 * Copyright (c) 2012 Pontus Fuchs <[email protected]>
 *
 * 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.
 */

#define AR5523_FLAG_PRE_FIRMWARE
#define AR5523_FLAG_ABG

#define AR5523_FIRMWARE_FILE

#define AR5523_CMD_TX_PIPE
#define AR5523_DATA_TX_PIPE
#define AR5523_CMD_RX_PIPE
#define AR5523_DATA_RX_PIPE

#define ar5523_cmd_tx_pipe(dev)
#define ar5523_data_tx_pipe(dev)
#define ar5523_cmd_rx_pipe(dev)
#define ar5523_data_rx_pipe(dev)

#define AR5523_DATA_TIMEOUT
#define AR5523_CMD_TIMEOUT

#define AR5523_TX_DATA_COUNT
#define AR5523_TX_DATA_RESTART_COUNT
#define AR5523_RX_DATA_COUNT
#define AR5523_RX_DATA_REFILL_COUNT

#define AR5523_CMD_ID
#define AR5523_DATA_ID

#define AR5523_TX_WD_TIMEOUT
#define AR5523_FLUSH_TIMEOUT

enum AR5523_flags {};

struct ar5523_tx_cmd {};

/* This struct is placed in tx_info->driver_data. It must not be larger
 *  than IEEE80211_TX_INFO_DRIVER_DATA_SIZE.
 */
struct ar5523_tx_data {};

struct ar5523_rx_data {};

struct ar5523 {};

/* flags for sending firmware commands */
#define AR5523_CMD_FLAG_READ
#define AR5523_CMD_FLAG_MAGIC

#define ar5523_dbg(ar, format, arg...)

/* On USB hot-unplug there can be a lot of URBs in flight and they'll all
 * fail. Instead of dealing with them in every possible place just surpress
 * any messages on USB disconnect.
 */
#define ar5523_err(ar, format, arg...)
#define ar5523_info(ar, format, arg...)