From owner-cvs-src-old@FreeBSD.ORG Wed May 11 17:12:29 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 6A140106564A for ; Wed, 11 May 2011 17:12:29 +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 3EFDE8FC0A for ; Wed, 11 May 2011 17:12:29 +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 p4BHCTIL068805 for ; Wed, 11 May 2011 17:12:29 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4BHCTGs068804 for cvs-src-old@freebsd.org; Wed, 11 May 2011 17:12:29 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201105111712.p4BHCTGs068804@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 11 May 2011 13:40:13 +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: Wed, 11 May 2011 17:12:29 -0000 adrian 2011-05-11 13:40:13 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar5416 ar5416_cal.c Log: SVN rev 221779 on 2011-05-11 13:40:13Z by adrian Make the NF calibration logic (hopefully!) more resistive to noisy environments. In setups where NF calibration can take a while, don't load the CCA and kick off a new NF calibration if the previous one hasn't yet completed. This shouldn't happen unless the environment is noisy but those exist (hi phk!). Here, if the previous NF hasn't completed when ar5416LoadNf() is run (which reads the NF), it skips updating the history buffer, loading the NF CCA array and kicking off the next NF cal. It's hoped it'll occur in the next long calibration interval. Obtained from: Atheros, ath9k, my local HAL Revision Changes Path 1.29 +28 -12 src/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c