From owner-cvs-src-old@FreeBSD.ORG Tue Jun 7 12:46:34 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 11487106566C for ; Tue, 7 Jun 2011 12:46:34 +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 D8BED8FC0A for ; Tue, 7 Jun 2011 12:46:33 +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 p57CkXWU063081 for ; Tue, 7 Jun 2011 12:46:33 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p57CkXEt063080 for cvs-src-old@freebsd.org; Tue, 7 Jun 2011 12:46:33 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201106071246.p57CkXEt063080@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Tue, 7 Jun 2011 09:03:28 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_athvar.h src/sys/dev/ath/ath_hal ah.h src/sys/dev/ath/ath_hal/ar5212 ar5212.h ar5212_attach.c ar5212_misc.c src/sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_attach.c ar5416_misc.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: Tue, 07 Jun 2011 12:46:34 -0000 adrian 2011-06-07 09:03:28 UTC FreeBSD src repository Modified files: sys/dev/ath if_athvar.h sys/dev/ath/ath_hal ah.h sys/dev/ath/ath_hal/ar5212 ar5212.h ar5212_attach.c ar5212_misc.c sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_attach.c ar5416_misc.c Log: SVN rev 222815 on 2011-06-07 09:03:28Z by adrian Flesh out a new HAL method to fetch the radar PHY error frame information. For the AR5211/AR5212, this is apparently a one byte pulse duration counter value. It is only coded up here for the AR5212 as I don't have any AR5211-series hardware to test it on. This information was extracted from the Madwifi DFS branch along with some local additions. Please note - all this does is extract out the radar event duration, it in no way reflects the presence of a radar. Further code is needed to take a set of radar events and filter them to extract out correct radar pulse trains (and ignore other events.) For further information, please see: http://wiki.freebsd.org/dev/ath_hal%284%29/RadarDetection This includes references to the relevant patents which describe what is going on. Obtained from: Madwifi Revision Changes Path 1.38 +14 -0 src/sys/dev/ath/ath_hal/ah.h 1.16 +3 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212.h 1.19 +1 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 1.16 +44 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c 1.39 +3 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416.h 1.43 +1 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 1.17 +16 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c 1.106 +2 -0 src/sys/dev/ath/if_athvar.h