summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bcwvar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-22 17:04:32 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-22 17:04:32 +0000
commit6bdea381936509e0b8f1edb572f03fdb02617d55 (patch)
tree22adb4f460e2a82a73d3794372cc022900e217d2 /sys/dev/ic/bcwvar.h
parentb47af686f9faa8b6446ed84166e96503000752bb (diff)
Halftime for PHY init code, another ~1000 new lines.
Diffstat (limited to 'sys/dev/ic/bcwvar.h')
-rw-r--r--sys/dev/ic/bcwvar.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/dev/ic/bcwvar.h b/sys/dev/ic/bcwvar.h
index 7e547eca329..28f093e73b0 100644
--- a/sys/dev/ic/bcwvar.h
+++ b/sys/dev/ic/bcwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcwvar.h,v 1.16 2007/02/20 21:24:36 mglocker Exp $ */
+/* $OpenBSD: bcwvar.h,v 1.17 2007/02/22 17:04:31 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -71,6 +71,7 @@ enum {
BCW_LED_BCM4303_3 = 0x19,
};
+#define BCW_RADIO_INTERFMODE_NONWLAN 1
#define BCW_RADIO_DEFAULT_CHANNEL 6
#define BCW_RADIO_MAX 2
struct bcw_radio {
@@ -229,13 +230,24 @@ struct bcw_softc {
uint16_t sc_phy_version;
uint16_t sc_phy_type;
uint16_t sc_phy_rev;
+ uint8_t sc_phy_connected:1, /* XXX */
+ calibrated:1,
+ is_locked:1,
+ dyn_tssi_tbl:1;
uint16_t sc_phy_loopback_gain[2];
struct bcw_lopair *sc_phy_lopairs;
+ uint16_t sc_phy_savedpctlreg;
// uint16_t sc_corerev;
uint32_t sc_radio_mnf;
uint16_t sc_radio_rev;
uint16_t sc_radio_ver;
uint16_t sc_radio_initval;
+ int16_t sc_radio_nrssi[2];
+ int sc_radio_interfmode;
+ uint8_t sc_radio_aci_enable:1,
+ sc_radio_aci_wlan_automatic:1,
+ sc_radio_aci_hw_rssi;
+ int32_t sc_radio_nrssislope;
uint32_t sc_phyinfo;
uint16_t sc_numcores;
uint16_t sc_havecommon;
@@ -252,6 +264,7 @@ struct bcw_softc {
uint16_t sc_radio_radio_atten;
uint16_t sc_radio_txctl1;
uint16_t sc_radio_txctl2;
+ uint8_t sc_radio_channel;
uint8_t sc_idletssi;
uint8_t sc_spromrev;
uint16_t sc_boardflags;