linux/drivers/net/wireless/ath/ar5523/ar5523_hw.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.
 */

/* all fields are big endian */
struct ar5523_fwblock {} __packed;

#define AR5523_MAX_RXCMDSZ
#define AR5523_MAX_TXCMDSZ

struct ar5523_cmd_hdr {};

struct ar5523_cmd_host_available {} __packed;

#define ATH_SW_VER_MAJOR
#define ATH_SW_VER_MINOR
#define ATH_SW_VER_PATCH
#define ATH_SW_VER_BUILD

struct ar5523_chunk {} __packed;

/*
 * Message format for a WDCMSG_DATA_AVAIL message from Target to Host.
 */
struct ar5523_rx_desc {} __packed;

struct ar5523_tx_desc {} __packed;


#define AR5523_ID_BSS
#define AR5523_ID_BROADCAST

/* structure for command UATH_CMD_WRITE_MAC */
struct ar5523_write_mac {} __packed;

struct ar5523_cmd_rateset {};

struct ar5523_cmd_set_associd {} __packed;

/* structure for command WDCMSG_RESET */
struct ar5523_cmd_reset {} __packed;

/* structure for command WDCMSG_SET_BASIC_RATE */
struct ar5523_cmd_rates {} __packed;

enum {};

struct ar5523_cmd_connection_attr {} __packed;

/* structure for command AR5523_CREATE_CONNECTION */
struct ar5523_cmd_create_connection {} __packed;

struct ar5523_cmd_ledsteady {} __packed;

struct ar5523_cmd_ledblink {} __packed;

struct ar5523_cmd_ledstate {} __packed;

struct ar5523_cmd_txq_attr {} __packed;

struct ar5523_cmd_txq_setup {} __packed;

struct ar5523_cmd_rx_filter {} __packed;

enum {};

enum {};

enum {};

enum {};

/* this is in net/ieee80211.h, but that conflicts with the mac80211 headers */
#define IEEE80211_2ADDR_LEN

#define AR5523_MIN_RXBUFSZ