Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / rtl8723au / include / rtl8723a_bt_intf.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
4  * Copyright(c) 2014, Jes Sorensen <Jes.Sorensen@redhat.com>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of version 2 of the GNU General Public License as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  ******************************************************************************/
16 #ifndef __RTL8723A_BT_INTF_H__
17 #define __RTL8723A_BT_INTF_H__
18
19 #include <drv_types.h>
20
21 #ifdef CONFIG_8723AU_BT_COEXIST
22 enum rt_media_status;
23 bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter);
24 bool rtl8723a_BT_enabled(struct rtw_adapter *padapter);
25 bool rtl8723a_BT_coexist(struct rtw_adapter *padapter);
26 void rtl8723a_BT_do_coexist(struct rtw_adapter *padapter);
27 void rtl8723a_BT_wifiscan_notify(struct rtw_adapter *padapter, u8 scanType);
28 void rtl8723a_BT_mediastatus_notify(struct rtw_adapter *padapter,
29                                     enum rt_media_status mstatus);
30 void rtl8723a_BT_specialpacket_notify(struct rtw_adapter *padapter);
31 void rtl8723a_BT_lps_leave(struct rtw_adapter *padapter);
32 void rtl8723a_BT_disable_coexist(struct rtw_adapter *padapter);
33 bool rtl8723a_BT_disable_EDCA_turbo(struct rtw_adapter *padapter);
34 void rtl8723a_dual_antenna_detection(struct rtw_adapter *padapter);
35 void rtl8723a_BT_init_hwconfig(struct rtw_adapter *padapter);
36 void rtl8723a_BT_wifiassociate_notify(struct rtw_adapter *padapter, u8 action);
37 void rtl8723a_BT_init_hal_vars(struct rtw_adapter *padapter);
38 void rtl8723a_fw_c2h_BT_info(struct rtw_adapter *padapter, u8 *tmpBuf, u8 length);
39 #else
40 static inline bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter)
41 {
42         return false;
43 }
44 static inline bool rtl8723a_BT_enabled(struct rtw_adapter *padapter)
45 {
46         return false;
47 }
48 static inline bool rtl8723a_BT_coexist(struct rtw_adapter *padapter)
49 {
50         return false;
51 }
52 #define rtl8723a_BT_do_coexist(padapter)                        do {} while(0)
53 #define rtl8723a_BT_wifiscan_notify(padapter, scanType)         do {} while(0)
54 #define rtl8723a_BT_mediastatus_notify(padapter, mstatus)       do {} while(0)
55 #define rtl8723a_BT_specialpacket_notify(padapter)              do {} while(0)
56 #define rtl8723a_BT_lps_leave(padapter)                         do {} while(0)
57 #define rtl8723a_BT_disable_coexist(padapter)                   do {} while(0)
58 static inline bool rtl8723a_BT_disable_EDCA_turbo(struct rtw_adapter *padapter)
59 {
60         return false;
61 }
62 #define rtl8723a_dual_antenna_detection(padapter)               do {} while(0)
63 #define rtl8723a_BT_init_hwconfig(padapter)                     do {} while(0)
64 #define rtl8723a_BT_wifiassociate_notify(padapter, action)      do {} while(0)
65 #define rtl8723a_BT_init_hal_vars(padapter)                     do {} while(0)
66 #define rtl8723a_fw_c2h_BT_info(padapter, tmpBuf, length)       do {} while(0)
67 #endif
68
69 #endif