From owner-cvs-src-old@FreeBSD.ORG Fri Jan 21 05:21:20 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 21EEB1065698 for ; Fri, 21 Jan 2011 05:21:20 +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 E7A7F8FC16 for ; Fri, 21 Jan 2011 05:21:19 +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 p0L5LJep002724 for ; Fri, 21 Jan 2011 05:21:19 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0L5LJas002723 for cvs-src-old@freebsd.org; Fri, 21 Jan 2011 05:21:19 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201101210521.p0L5LJas002723@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Fri, 21 Jan 2011 05:21:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c if_athioctl.h if_athvar.h src/sys/dev/ath/ath_hal ah.h src/sys/dev/ath/ath_hal/ar5210 ar5210.h ar5210_attach.c ar5210_misc.c src/sys/dev/ath/ath_hal/ar5211 ar5211.h ar5211_attach.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: Fri, 21 Jan 2011 05:21:20 -0000 adrian 2011-01-21 05:21:00 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athioctl.h if_athvar.h sys/dev/ath/ath_hal ah.h sys/dev/ath/ath_hal/ar5210 ar5210.h ar5210_attach.c ar5210_misc.c sys/dev/ath/ath_hal/ar5211 ar5211.h ar5211_attach.c ar5211_misc.c sys/dev/ath/ath_hal/ar5212 ar5212.h ar5212_ani.c ar5212_attach.c sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_ani.c ar5416_attach.c sys/dev/ath/ath_hal/ar9002 ar9280_attach.c Log: SVN rev 217684 on 2011-01-21 05:21:00Z by adrian ANI changes #1 - split out the ANI polling from the RxMonitor hook. The rxmonitor hook is called on each received packet. This can get very, very busy as the tx/rx/chanbusy registers are thus read each time a packet is received. Instead, shuffle out the true per-packet processing which is needed and move the rest of the ANI processing into a periodic event which runs every 100ms by default. Revision Changes Path 1.17 +2 -0 src/sys/dev/ath/ath_hal/ah.h 1.5 +2 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210.h 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c 1.4 +6 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210_misc.c 1.6 +2 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211.h 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c 1.5 +6 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5212/ar5212.h 1.5 +9 -4 src/sys/dev/ath/ath_hal/ar5212/ar5212_ani.c 1.13 +2 -1 src/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 1.12 +2 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416.h 1.4 +14 -4 src/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c 1.16 +2 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 1.3 +4 -0 src/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c 1.284 +47 -12 src/sys/dev/ath/if_ath.c 1.26 +2 -1 src/sys/dev/ath/if_athioctl.h 1.94 +5 -0 src/sys/dev/ath/if_athvar.h