From owner-svn-src-head@FreeBSD.ORG Fri Jun 7 05:18:08 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5CE4AAB9; Fri, 7 Jun 2013 05:18:08 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 50E0F19A3; Fri, 7 Jun 2013 05:18:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r575I8Gq057412; Fri, 7 Jun 2013 05:18:08 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r575I8JX057411; Fri, 7 Jun 2013 05:18:08 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201306070518.r575I8JX057411@svn.freebsd.org> From: Adrian Chadd Date: Fri, 7 Jun 2013 05:18:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251484 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 05:18:08 -0000 Author: adrian Date: Fri Jun 7 05:18:07 2013 New Revision: 251484 URL: http://svnweb.freebsd.org/changeset/base/251484 Log: Add accessor macros for the bluetooth coexistence routines. Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h ============================================================================== --- head/sys/dev/ath/if_athvar.h Fri Jun 7 05:17:58 2013 (r251483) +++ head/sys/dev/ath/if_athvar.h Fri Jun 7 05:18:07 2013 (r251484) @@ -1437,4 +1437,25 @@ void ath_intr(void *); #define ath_hal_spectral_stop(_ah) \ ((*(_ah)->ah_spectralStop)((_ah))) +#define ath_hal_btcoex_supported(_ah) \ + (ath_hal_getcapability(_ah, HAL_CAP_BT_COEX, 0, NULL) == HAL_OK) +#define ath_hal_btcoex_set_info(_ah, _info) \ + ((*(_ah)->ah_btCoexSetInfo)((_ah), (_info))) +#define ath_hal_btcoex_set_config(_ah, _cfg) \ + ((*(_ah)->ah_btCoexSetConfig)((_ah), (_cfg))) +#define ath_hal_btcoex_set_qcu_thresh(_ah, _qcuid) \ + ((*(_ah)->ah_btCoexSetQcuThresh)((_ah), (_qcuid))) +#define ath_hal_btcoex_set_weights(_ah, _weight) \ + ((*(_ah)->ah_btCoexSetWeights)((_ah), (_weight))) +#define ath_hal_btcoex_set_weights(_ah, _weight) \ + ((*(_ah)->ah_btCoexSetWeights)((_ah), (_weight))) +#define ath_hal_btcoex_set_bmiss_thresh(_ah, _thr) \ + ((*(_ah)->ah_btCoexSetBmissThresh)((_ah), (_thr))) +#define ath_hal_btcoex_set_parameter(_ah, _attrib, _val) \ + ((*(_ah)->ah_btCoexSetParameter)((_ah), (_attrib), (_val))) +#define ath_hal_btcoex_enable(_ah) \ + ((*(_ah)->ah_btCoexEnable)((_ah))) +#define ath_hal_btcoex_disable(_ah) \ + ((*(_ah)->ah_btCoexDisable)((_ah))) + #endif /* _DEV_ATH_ATHVAR_H */