diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-02 18:49:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-02 18:49:37 +0000 |
commit | b5623bdd2a4e4ba6f426045596ec0e65c500edba (patch) | |
tree | ef0a334256f81a6b63020e74f5ff62d44f499055 /sys | |
parent | 16b82374ff8bcde21ec0b0309a4f3a2f133d07a0 (diff) |
Differential gain calibration makes the 6005 firmware crap out, so skip it for
now until we figure out why. This probably means the device won't function
optimally, but that's better than not functioning at all. Makes my
"Intel Centrinto Advanced-N 6205" work quite well.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index fba7401767a..d57835e6dcb 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.111 2011/09/01 18:49:56 kettenis Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.112 2011/09/02 18:49:36 kettenis Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -2161,6 +2161,14 @@ iwn_rx_statistics(struct iwn_softc *sc, struct iwn_rx_desc *desc, return; } + /* + * XXX Differential gain calibration makes the 6005 firmware + * crap out, so skip it for now. This effectively disables + * sensitivity tuning as well. + */ + if (sc->hw_type == IWN_HW_REV_TYPE_6005) + return; + if (calib->state == IWN_CALIB_STATE_ASSOC) iwn_collect_noise(sc, &stats->rx.general); else if (calib->state == IWN_CALIB_STATE_RUN) |