From owner-cvs-src-old@FreeBSD.ORG Wed Jun 1 20:10: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 6E92C10657C0 for ; Wed, 1 Jun 2011 20:10: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 5AE718FC1C for ; Wed, 1 Jun 2011 20:10: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 p51KAAv1060280 for ; Wed, 1 Jun 2011 20:10:10 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p51KAAx2060279 for cvs-src-old@freebsd.org; Wed, 1 Jun 2011 20:10:10 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201106012010.p51KAAx2060279@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:09:49 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/dev/ath if_ath.c if_athdfs.h if_athvar.h src/sys/dev/ath/ath_dfs/null dfs_null.c src/sys/modules/ath Makefile 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:10:11 -0000 adrian 2011-06-01 20:09:49 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/ath if_ath.c if_athvar.h sys/modules/ath Makefile Added files: sys/dev/ath if_athdfs.h sys/dev/ath/ath_dfs/null dfs_null.c Log: SVN rev 222585 on 2011-06-01 20:09:49Z by adrian Flesh out the radar detection related operations for the ath driver. This is in no way a complete DFS/radar detection implementation! It merely creates an abstracted interface which allows for future development of the DFS radar detection code. Note: Net80211 already handles the bulk of the DFS machinery, all we need to do here is figure out that a radar event has occured and inform it as such. It then drives the DFS state engine for us. The "null" DFS radar detection module is included by default; it doesn't require a device line. This commit: * Adds a simple abstracted layer for radar detection state - sys/dev/ath/ath_dfs/; * Implements a null DFS module which doesn't do anything; (ie, implements the exact behaviour at the moment); * Adds hooks to the ath driver to process received radar events and gives the DFS module a chance to determine whether a radar has been detected. Obtained from: Atheros Revision Changes Path 1.1603 +4 -1 src/sys/conf/files 1.1 +160 -0 src/sys/dev/ath/ath_dfs/null/dfs_null.c (new) 1.323 +51 -0 src/sys/dev/ath/if_ath.c 1.1 +47 -0 src/sys/dev/ath/if_athdfs.h (new) 1.104 +15 -0 src/sys/dev/ath/if_athvar.h 1.27 +4 -0 src/sys/modules/ath/Makefile