/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2009, Intel Corporation
* All rights reserved.
*/
/*
* Copyright (c) 2006
* Copyright (c) 2007
* Damien Bergamini <damien.bergamini@free.fr>
*
* Permission to use, copy, modify, and 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.
*/
#ifndef _IWP_VAR_H
#define _IWP_VAR_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct iwp_dma_area {
/* >= product of above */
} iwp_dma_t;
typedef struct iwp_tx_data {
typedef struct iwp_tx_ring {
int count;
int window;
int queued;
int cur;
int desc_cur;
typedef struct iwp_rx_data {
typedef struct iwp_rx_ring {
int cur;
typedef struct iwp_amrr {
int recovery;
} iwp_amrr_t;
struct iwp_phy_rx {
};
struct iwp_beacon_missed {
};
#define PA_TYPE_SYSTEM (0)
struct iwp_chip_param {
};
typedef struct iwp_softc {
enum ieee80211_state, int);
int, int, uint16_t[4]);
/* shared area */
/* keep warm area */
/* tx scheduler base address */
/* firmware dma */
char *sc_boot;
/* kstats */
} iwp_sc_t;
#define SC_CMD_FLG_NONE (0)
#define IWP_SUCCESS 0
#ifdef __cplusplus
}
#endif
#endif /* _IWP_VAR_H */