@@ -35,7 +35,6 @@
#include "../ps.h"
#include "../pci.h"
-#include "halbtcoutsrc.h"
/* Interface type */
#define RT_PCI_INTERFACE 1
@@ -43,6 +42,9 @@
#define RT_SDIO_INTERFACE 3
#define DEV_BUS_TYPE RT_PCI_INTERFACE
+struct btc_coexist;
+struct wifi_only_cfg;
+
#include "halbtc8192e2ant.h"
#include "halbtc8723b1ant.h"
#include "halbtc8723b2ant.h"
@@ -52,6 +54,8 @@
#include "halbtc8822b2ant.h"
#include "halbtc8822bwifionly.h"
+#include "halbtcoutsrc.h"
+
#define GetDefaultAdapter(padapter) padapter
#define BIT0 0x00000001
@@ -693,6 +693,30 @@ struct btc_coexist {
enum btc_chip_interface chip_interface;
struct btc_bt_link_info bt_link_info;
+ /* context for each chip */
+ union {
+ struct coex_dm_8192e_2ant coex_dm_8192e_2ant;
+ struct coex_dm_8723b_1ant coex_dm_8723b_1ant;
+ struct coex_dm_8723b_2ant coex_dm_8723b_2ant;
+ struct coex_dm_8821a_1ant coex_dm_8821a_1ant;
+ struct coex_dm_8821a_2ant coex_dm_8821a_2ant;
+ struct coex_dm_8822b_1ant coex_dm_8822b_1ant;
+ struct coex_dm_8822b_2ant coex_dm_8822b_2ant;
+ };
+ union {
+ struct coex_sta_8192e_2ant coex_sta_8192e_2ant;
+ struct coex_sta_8723b_1ant coex_sta_8723b_1ant;
+ struct coex_sta_8723b_2ant coex_sta_8723b_2ant;
+ struct coex_sta_8821a_1ant coex_sta_8821a_1ant;
+ struct coex_sta_8821a_2ant coex_sta_8821a_2ant;
+ struct coex_sta_8822b_1ant coex_sta_8822b_1ant;
+ struct coex_sta_8822b_2ant coex_sta_8822b_2ant;
+ };
+ union {
+ struct rfe_type_8822b_1ant rfe_type_8822b_1ant;
+ struct rfe_type_8822b_2ant rfe_type_8822b_2ant;
+ };
+
/* boolean variables to replace BT_AUTO_REPORT_ONLY_XXXXY_ZANT
* configuration parameters
*/