Date: Wed, 1 Jun 2011 20:09:49 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201106012010.p51KAAx2060279@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106012010.p51KAAx2060279>