/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
* Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
*
* 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 _RUM_VAR_H
#define _RUM_VAR_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DDI_NT_NET_WIFI
#endif
/*
* Bit flags in the ral_dbg_flags
*/
struct rum_amrr {
int txcnt;
int retrycnt;
int success;
int success_threshold;
int recovery;
};
struct rum_softc {
int sc_rx_no;
int sc_tx_no;
int tx_queued;
int rx_queued;
int sc_tx_timer;
int dwelltime;
#pragma pack(1)
struct {
#pragma pack()
int hw_radio;
int rx_ant;
int tx_ant;
int nb_ant;
int ext_2ghz_lna;
int ext_5ghz_lna;
int rssi_2ghz_corr;
int rssi_5ghz_corr;
int sifs;
/* kstats */
enum ieee80211_state, int);
};
#ifdef __cplusplus
}
#endif
#endif /* _RUM_VAR_H */