diff options
author | pengcheng chen - Sun Microsystems - Beijing China <Pengcheng.Chen@Sun.COM> | 2009-02-26 10:14:53 +0800 |
---|---|---|
committer | pengcheng chen - Sun Microsystems - Beijing China <Pengcheng.Chen@Sun.COM> | 2009-02-26 10:14:53 +0800 |
commit | 6f12def440a1ce798ab128210a43414d173669f0 (patch) | |
tree | 7d820f809317aa540febc13edc328a59530da69c /usr/src/uts/common/io/wpi/wpivar.h | |
parent | b53ab68f29007cf9b7aa9b93883a0a35750986a4 (diff) | |
download | illumos-joyent-6f12def440a1ce798ab128210a43414d173669f0.tar.gz |
6805726 Intel wireless drivers periodically reports "fatal firmware error" and link down
Diffstat (limited to 'usr/src/uts/common/io/wpi/wpivar.h')
-rw-r--r-- | usr/src/uts/common/io/wpi/wpivar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/wpi/wpivar.h b/usr/src/uts/common/io/wpi/wpivar.h index 3a53442764..4150c52852 100644 --- a/usr/src/uts/common/io/wpi/wpivar.h +++ b/usr/src/uts/common/io/wpi/wpivar.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* @@ -65,6 +65,10 @@ typedef struct wpi_tx_radiotap_header { (void) ddi_dma_sync((area).dma_hdl, (area).offset, \ (area).alength, (flag)) +#define WPI_CHK_FAST_RECOVER(sc) \ + (sc->sc_ic.ic_state == IEEE80211_S_RUN && \ + sc->sc_ic.ic_opmode == IEEE80211_M_STA) + typedef struct wpi_dma_area { ddi_acc_handle_t acc_hdl; /* handle for memory */ caddr_t mem_va; /* CPU VA of memory */ @@ -164,6 +168,8 @@ typedef struct wpi_softc { ddi_iblock_cookie_t sc_iblk; wpi_config_t sc_config; + wpi_config_t sc_config_save; + uint16_t sc_pwr1[14]; uint16_t sc_pwr2[14]; |