xref: /freebsd/sys/dev/ath/if_ath_btcoex_mci.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*bcf5fc49SAdrian Chadd /*-
2*bcf5fc49SAdrian Chadd  * Copyright (c) 2016 Adrian Chadd <adrian@FreeBSD.org>
3*bcf5fc49SAdrian Chadd  * All rights reserved.
4*bcf5fc49SAdrian Chadd  *
5*bcf5fc49SAdrian Chadd  * Redistribution and use in source and binary forms, with or without
6*bcf5fc49SAdrian Chadd  * modification, are permitted provided that the following conditions
7*bcf5fc49SAdrian Chadd  * are met:
8*bcf5fc49SAdrian Chadd  * 1. Redistributions of source code must retain the above copyright
9*bcf5fc49SAdrian Chadd  *    notice, this list of conditions and the following disclaimer,
10*bcf5fc49SAdrian Chadd  *    without modification.
11*bcf5fc49SAdrian Chadd  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
12*bcf5fc49SAdrian Chadd  *    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
13*bcf5fc49SAdrian Chadd  *    redistribution must be conditioned upon including a substantially
14*bcf5fc49SAdrian Chadd  *    similar Disclaimer requirement for further binary redistribution.
15*bcf5fc49SAdrian Chadd  *
16*bcf5fc49SAdrian Chadd  * NO WARRANTY
17*bcf5fc49SAdrian Chadd  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18*bcf5fc49SAdrian Chadd  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19*bcf5fc49SAdrian Chadd  * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
20*bcf5fc49SAdrian Chadd  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
21*bcf5fc49SAdrian Chadd  * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22*bcf5fc49SAdrian Chadd  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23*bcf5fc49SAdrian Chadd  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24*bcf5fc49SAdrian Chadd  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25*bcf5fc49SAdrian Chadd  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26*bcf5fc49SAdrian Chadd  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27*bcf5fc49SAdrian Chadd  * THE POSSIBILITY OF SUCH DAMAGES.
28*bcf5fc49SAdrian Chadd  */
29*bcf5fc49SAdrian Chadd #ifndef	__IF_ATH_BTCOEX_MCI_H__
30*bcf5fc49SAdrian Chadd #define	__IF_ATH_BTCOEX_MCI_H__
31*bcf5fc49SAdrian Chadd 
32*bcf5fc49SAdrian Chadd #define	ATH_MCI_NUM_BT_CHANNELS		79
33*bcf5fc49SAdrian Chadd 
34*bcf5fc49SAdrian Chadd extern	int ath_btcoex_mci_attach(struct ath_softc *sc);
35*bcf5fc49SAdrian Chadd extern	int ath_btcoex_mci_detach(struct ath_softc *sc);
36*bcf5fc49SAdrian Chadd extern	int ath_btcoex_mci_enable(struct ath_softc *sc,
37*bcf5fc49SAdrian Chadd 	    const struct ieee80211_channel *chan);
38*bcf5fc49SAdrian Chadd extern	void ath_btcoex_mci_intr(struct ath_softc *sc);
39*bcf5fc49SAdrian Chadd 
40*bcf5fc49SAdrian Chadd #endif	/* __IF_ATH_BTCOEX_MCI_H__ */
41