From owner-cvs-src-old@FreeBSD.ORG Sun Dec 7 19:26:50 2008 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 C2E0B1065678 for ; Sun, 7 Dec 2008 19:26:50 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AE6CD8FC27 for ; Sun, 7 Dec 2008 19:26:50 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mB7JQouo002639 for ; Sun, 7 Dec 2008 19:26:50 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mB7JQoW9002638 for cvs-src-old@freebsd.org; Sun, 7 Dec 2008 19:26:50 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200812071926.mB7JQoW9002638@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Sun, 7 Dec 2008 19:26:34 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h 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, 07 Dec 2008 19:26:50 -0000 sam 2008-12-07 19:26:34 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athvar.h Log: SVN rev 185744 on 2008-12-07 19:26:34Z by sam New periodic calibration scheme needed for 11n parts that have multiple algorithms and potentially collect multiple samples. Instead of a single calibration interval we now have short and long intervals; the long interval roughly corresponds to the previous single interval. The short interval is used to speedup collection of samples and happens much quicker. We make calls using the short interval until we're told the calibration work is complete at which point we fallback to the long interval. In addition there is a much longer reset interval used to flush all calibration state and cause everthing to start anew. With these changes you can also disable calibration entirely by setting the long interval to zero. Revision Changes Path 1.222 +78 -51 src/sys/dev/ath/if_ath.c 1.76 +14 -3 src/sys/dev/ath/if_athvar.h