summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2860var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rt2860var.h')
-rw-r--r--sys/dev/ic/rt2860var.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860var.h b/sys/dev/ic/rt2860var.h
index de22fb9b5db..8fccfd0366f 100644
--- a/sys/dev/ic/rt2860var.h
+++ b/sys/dev/ic/rt2860var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860var.h,v 1.14 2010/02/08 18:46:47 damien Exp $ */
+/* $OpenBSD: rt2860var.h,v 1.15 2010/04/05 14:14:02 damien Exp $ */
/*-
* Copyright (c) 2007
@@ -117,10 +117,14 @@ struct rt2860_softc {
bus_space_tag_t sc_st;
bus_space_handle_t sc_sh;
+ uint16_t (*sc_srom_read)(struct rt2860_softc *,
+ uint16_t);
+
int sc_flags;
#define RT2860_ENABLED (1 << 0)
#define RT2860_FWLOADED (1 << 1)
#define RT2860_ADVANCED_PS (1 << 2)
+#define RT2860_PCIE (1 << 3)
uint32_t sc_ic_flags;
int fixed_ridx;
@@ -138,7 +142,8 @@ struct rt2860_softc {
int mgtqid;
uint8_t qfullmsk;
- uint32_t mac_rev;
+ uint16_t mac_ver;
+ uint16_t mac_rev;
uint8_t rf_rev;
uint8_t freq;
uint8_t ntxchains;
@@ -149,10 +154,16 @@ struct rt2860_softc {
int8_t rssi_2ghz[3];
int8_t rssi_5ghz[3];
uint8_t lna[4];
+ uint8_t rf24_20mhz;
+ uint8_t rf24_40mhz;
+ uint8_t patch_dac;
+ uint8_t rfswitch;
uint8_t ext_2ghz_lna;
uint8_t ext_5ghz_lna;
uint8_t calib_2ghz;
uint8_t calib_5ghz;
+ uint8_t txmixgain_2ghz;
+ uint8_t txmixgain_5ghz;
uint8_t tssi_2ghz[9];
uint8_t tssi_5ghz[9];
uint8_t step_2ghz;