From owner-cvs-src-old@FreeBSD.ORG Sun Mar 20 09:08:59 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BE8510657D1 for ; Sun, 20 Mar 2011 09:08:59 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5BEE88FC1C for ; Sun, 20 Mar 2011 09:08:59 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p2K98xgM020287 for ; Sun, 20 Mar 2011 09:08:59 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2K98x9M020286 for cvs-src-old@freebsd.org; Sun, 20 Mar 2011 09:08:59 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201103200908.p2K98x9M020286@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Sun, 20 Mar 2011 09:08:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5416 ar5416_cal.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 09:08:59 -0000 adrian 2011-03-20 09:08:45 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar5416 ar5416_cal.c Log: SVN rev 219794 on 2011-03-20 09:08:45Z by adrian Cave in and disable the ADC DC gain/offset calibrations if they're not needed. These calibrations are only applicable if the chip operating mode engages both interleaved RX ADCs (ie, it's compensating for the differences in DC gain and DC offset -between- the two ADCs.) Otherwise the chip reads values of 0x0 for the secondary ADC (as I guess it's not enabled here) and thus writes potentially bogus info into the chip. I've tested this on the AR9160 and AR9280; both behave themselves in 11g mode with these calibrations disabled. Revision Changes Path 1.20 +6 -3 src/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c