From owner-cvs-src-old@FreeBSD.ORG Wed Jun 1 20:01:11 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 3489D1065784 for ; Wed, 1 Jun 2011 20:01:11 +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 1F6798FC1F for ; Wed, 1 Jun 2011 20:01:11 +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 p51K1Bgf058455 for ; Wed, 1 Jun 2011 20:01:11 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p51K1BJI058454 for cvs-src-old@freebsd.org; Wed, 1 Jun 2011 20:01:11 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201106012001.p51K1BJI058454@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 1 Jun 2011 20:01:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal ah.c ah.h ah_desc.h ah_internal.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 ar5416phy.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: Wed, 01 Jun 2011 20:01:11 -0000 adrian 2011-06-01 20:01:02 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal ah.c ah.h ah_desc.h ah_internal.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 ar5416phy.h sys/dev/ath/ath_hal/ar9001 ar9130_attach.c ar9160_attach.c sys/dev/ath/ath_hal/ar9002 ar9280_attach.c ar9285_attach.c ar9287_attach.c Log: SVN rev 222584 on 2011-06-01 20:01:02Z by adrian Add some missing DFS chipset functionality to the FreeBSD HAL. Please note - this doesn't in any way constitute a full DFS implementation, it merely adds the relevant capability bits and radar detection threshold register access. The particulars: * Add new capability bits outlining what the DFS capabilities are of the various chipsets. * Add HAL methods to set and get the radar related register values. * Add AR5212 and AR5416+ DFS radar related register value routines. * Add a missing HAL phy error code that's related to radar event processing. * Add HAL_PHYERR_PARAM, a data type that encapsulates the radar register values. The AR5212 routines are just for completeness. The AR5416 routines are a super-set of those; I may later on do a drive-by pass to tidy up duplicate code. Obtained from: Linux, Atheros Revision Changes Path 1.34 +6 -0 src/sys/dev/ath/ath_hal/ah.c 1.36 +38 -0 src/sys/dev/ath/ath_hal/ah.h 1.4 +2 -1 src/sys/dev/ath/ath_hal/ah_desc.h 1.40 +2 -0 src/sys/dev/ath/ath_hal/ah_internal.h 1.14 +2 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212.h 1.17 +4 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 1.14 +51 -0 src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c 1.37 +2 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416.h 1.41 +5 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 1.15 +103 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c 1.10 +19 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416phy.h 1.4 +1 -0 src/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c 1.10 +1 -0 src/sys/dev/ath/ath_hal/ar9001/ar9160_attach.c 1.23 +2 -0 src/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c 1.22 +1 -0 src/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c 1.4 +3 -0 src/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c