From b5623bdd2a4e4ba6f426045596ec0e65c500edba Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 2 Sep 2011 18:49:37 +0000 Subject: 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. --- sys/dev/pci/if_iwn.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys') 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 @@ -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) -- cgit v1.2.3