Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2013 01:40:23 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244947 - head/sys/dev/ath
Message-ID:  <201301020140.r021eNmi084338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Jan  2 01:40:23 2013
New Revision: 244947
URL: http://svnweb.freebsd.org/changeset/base/244947

Log:
  Add spectral HAL accessor methods.

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Wed Jan  2 01:36:10 2013	(r244946)
+++ head/sys/dev/ath/if_athvar.h	Wed Jan  2 01:40:23 2013	(r244947)
@@ -1299,4 +1299,13 @@ void	ath_intr(void *);
 #define	ath_hal_get_chan_ext_busy(_ah) \
 	((*(_ah)->ah_get11nExtBusy)((_ah)))
 
+#define	ath_hal_spectral_get_config(_ah, _p) \
+	((*(_ah)->ah_spectralGetConfig)((_ah), (_p)))
+#define	ath_hal_spectral_configure(_ah, _p) \
+	((*(_ah)->ah_spectralConfigure)((_ah), (_p)))
+#define	ath_hal_spectral_start(_ah) \
+	((*(_ah)->ah_spectralStart)((_ah)))
+#define	ath_hal_spectral_stop(_ah) \
+	((*(_ah)->ah_spectralStop)((_ah)))
+
 #endif /* _DEV_ATH_ATHVAR_H */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301020140.r021eNmi084338>