net: wireless: rockchip_wlan: add rtl8723cs support
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723cs / hal / btc / halbtc8821c1ant.h
1
2 #if (BT_SUPPORT == 1 && COEX_SUPPORT == 1)
3
4 #if (RTL8821C_SUPPORT == 1)
5
6 /* *******************************************
7  * The following is for 8821C 1ANT BT Co-exist definition
8  * ******************************************* */
9 #define BT_8821C_1ANT_COEX_DBG                                  0
10 #define BT_AUTO_REPORT_ONLY_8821C_1ANT                          1
11
12 #define BT_INFO_8821C_1ANT_B_FTP                                                BIT(7)
13 #define BT_INFO_8821C_1ANT_B_A2DP                                       BIT(6)
14 #define BT_INFO_8821C_1ANT_B_HID                                                BIT(5)
15 #define BT_INFO_8821C_1ANT_B_SCO_BUSY                           BIT(4)
16 #define BT_INFO_8821C_1ANT_B_ACL_BUSY                           BIT(3)
17 #define BT_INFO_8821C_1ANT_B_INQ_PAGE                           BIT(2)
18 #define BT_INFO_8821C_1ANT_B_SCO_ESCO                           BIT(1)
19 #define BT_INFO_8821C_1ANT_B_CONNECTION                         BIT(0)
20
21 #define BT_INFO_8821C_1ANT_A2DP_BASIC_RATE(_BT_INFO_EXT_)       \
22         (((_BT_INFO_EXT_&BIT(0))) ? true : false)
23
24 #define BTC_RSSI_COEX_THRESH_TOL_8821C_1ANT             2
25
26 #define  BT_8821C_1ANT_WIFI_NOISY_THRESH                                                        30   /* max: 255 */
27 #define  BT_8821C_1ANT_DEFAULT_ISOLATION                                                15       /*  unit: dB */
28
29
30 /* for Antenna detection */
31 #define BT_8821C_1ANT_ANTDET_PSDTHRES_BACKGROUND                                        50
32 #define BT_8821C_1ANT_ANTDET_PSDTHRES_2ANT_BADISOLATION                         70
33 #define BT_8821C_1ANT_ANTDET_PSDTHRES_2ANT_GOODISOLATION                        55
34 #define BT_8821C_1ANT_ANTDET_PSDTHRES_1ANT                                                      35
35 #define BT_8821C_1ANT_ANTDET_RETRY_INTERVAL                                                     10      /* retry timer if ant det is fail, unit: second */
36 #define BT_8821C_1ANT_ANTDET_SWEEPPOINT_DELAY                                                   60000
37 #define BT_8821C_1ANT_ANTDET_ENABLE                                                                     0
38 #define BT_8821C_1ANT_ANTDET_BTTXTIME                                                                   100
39 #define BT_8821C_1ANT_ANTDET_BTTXCHANNEL                                                                39
40 #define BT_8821C_1ANT_ANTDET_PSD_SWWEEPCOUNT                                            50
41
42 #define BT_8821C_1ANT_LTECOEX_INDIRECTREG_ACCESS_TIMEOUT                30000
43
44 enum bt_8821c_1ant_signal_state {
45         BT_8821C_1ANT_SIG_STA_SET_TO_LOW                = 0x0,
46         BT_8821C_1ANT_SIG_STA_SET_BY_HW         = 0x0,
47         BT_8821C_1ANT_SIG_STA_SET_TO_HIGH               = 0x1,
48         BT_8821C_1ANT_SIG_STA_MAX
49 };
50
51 enum bt_8821c_1ant_path_ctrl_owner {
52         BT_8821C_1ANT_PCO_BTSIDE                = 0x0,
53         BT_8821C_1ANT_PCO_WLSIDE        = 0x1,
54         BT_8821C_1ANT_PCO_MAX
55 };
56
57 enum bt_8821c_1ant_gnt_ctrl_type {
58         BT_8821C_1ANT_GNT_TYPE_CTRL_BY_PTA              = 0x0,
59         BT_8821C_1ANT_GNT_TYPE_CTRL_BY_SW               = 0x1,
60         BT_8821C_1ANT_GNT_TYPE_MAX
61 };
62
63 enum bt_8821c_1ant_gnt_ctrl_block {
64         BT_8821C_1ANT_GNT_BLOCK_RFC_BB          = 0x0,
65         BT_8821C_1ANT_GNT_BLOCK_RFC                     = 0x1,
66         BT_8821C_1ANT_GNT_BLOCK_BB                      = 0x2,
67         BT_8821C_1ANT_GNT_BLOCK_MAX
68 };
69
70 enum bt_8821c_1ant_lte_coex_table_type {
71         BT_8821C_1ANT_CTT_WL_VS_LTE                     = 0x0,
72         BT_8821C_1ANT_CTT_BT_VS_LTE                     = 0x1,
73         BT_8821C_1ANT_CTT_MAX
74 };
75
76 enum bt_8821c_1ant_lte_break_table_type {
77         BT_8821C_1ANT_LBTT_WL_BREAK_LTE                 = 0x0,
78         BT_8821C_1ANT_LBTT_BT_BREAK_LTE                         = 0x1,
79         BT_8821C_1ANT_LBTT_LTE_BREAK_WL                 = 0x2,
80         BT_8821C_1ANT_LBTT_LTE_BREAK_BT                         = 0x3,
81         BT_8821C_1ANT_LBTT_MAX
82 };
83
84 enum bt_info_src_8821c_1ant {
85         BT_INFO_SRC_8821C_1ANT_WIFI_FW                  = 0x0,
86         BT_INFO_SRC_8821C_1ANT_BT_RSP                           = 0x1,
87         BT_INFO_SRC_8821C_1ANT_BT_ACTIVE_SEND           = 0x2,
88         BT_INFO_SRC_8821C_1ANT_MAX
89 };
90
91 enum bt_8821c_1ant_bt_status {
92         BT_8821C_1ANT_BT_STATUS_NON_CONNECTED_IDLE      = 0x0,
93         BT_8821C_1ANT_BT_STATUS_CONNECTED_IDLE          = 0x1,
94         BT_8821C_1ANT_BT_STATUS_INQ_PAGE                                = 0x2,
95         BT_8821C_1ANT_BT_STATUS_ACL_BUSY                                = 0x3,
96         BT_8821C_1ANT_BT_STATUS_SCO_BUSY                                = 0x4,
97         BT_8821C_1ANT_BT_STATUS_ACL_SCO_BUSY                    = 0x5,
98         BT_8821C_1ANT_BT_STATUS_MAX
99 };
100
101 enum bt_8821c_1ant_wifi_status {
102         BT_8821C_1ANT_WIFI_STATUS_NON_CONNECTED_IDLE                            = 0x0,
103         BT_8821C_1ANT_WIFI_STATUS_NON_CONNECTED_ASSO_AUTH_SCAN          = 0x1,
104         BT_8821C_1ANT_WIFI_STATUS_CONNECTED_SCAN                                        = 0x2,
105         BT_8821C_1ANT_WIFI_STATUS_CONNECTED_SPECIFIC_PKT                                = 0x3,
106         BT_8821C_1ANT_WIFI_STATUS_CONNECTED_IDLE                                        = 0x4,
107         BT_8821C_1ANT_WIFI_STATUS_CONNECTED_BUSY                                        = 0x5,
108         BT_8821C_1ANT_WIFI_STATUS_MAX
109 };
110
111 enum bt_8821c_1ant_coex_algo {
112         BT_8821C_1ANT_COEX_ALGO_UNDEFINED                       = 0x0,
113         BT_8821C_1ANT_COEX_ALGO_SCO                             = 0x1,
114         BT_8821C_1ANT_COEX_ALGO_HID                             = 0x2,
115         BT_8821C_1ANT_COEX_ALGO_A2DP                            = 0x3,
116         BT_8821C_1ANT_COEX_ALGO_A2DP_PANHS              = 0x4,
117         BT_8821C_1ANT_COEX_ALGO_PANEDR                  = 0x5,
118         BT_8821C_1ANT_COEX_ALGO_PANHS                   = 0x6,
119         BT_8821C_1ANT_COEX_ALGO_PANEDR_A2DP             = 0x7,
120         BT_8821C_1ANT_COEX_ALGO_PANEDR_HID              = 0x8,
121         BT_8821C_1ANT_COEX_ALGO_HID_A2DP_PANEDR = 0x9,
122         BT_8821C_1ANT_COEX_ALGO_HID_A2DP                        = 0xa,
123         BT_8821C_1ANT_COEX_ALGO_MAX                             = 0xb,
124 };
125
126 enum bt_8821c_1ant_ext_ant_switch_type {
127         BT_8821C_1ANT_EXT_ANT_SWITCH_USE_DPDT           = 0x0,
128         BT_8821C_1ANT_EXT_ANT_SWITCH_USE_SPDT           = 0x1,
129         BT_8821C_1ANT_EXT_ANT_SWITCH_NONE                       = 0x2,
130         BT_8821C_1ANT_EXT_ANT_SWITCH_MAX
131 };
132
133
134 enum bt_8821c_1ant_ext_ant_switch_ctrl_type {
135         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_BY_BBSW       = 0x0,
136         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_BY_PTA                = 0x1,
137         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_BY_ANTDIV     = 0x2,
138         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_BY_MAC                = 0x3,
139         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_BY_BT         = 0x4,
140         BT_8821C_1ANT_EXT_ANT_SWITCH_CTRL_MAX
141 };
142
143 enum bt_8821c_1ant_ext_ant_switch_pos_type {
144         BT_8821C_1ANT_EXT_ANT_SWITCH_TO_BT                      = 0x0,
145         BT_8821C_1ANT_EXT_ANT_SWITCH_TO_WLG                     = 0x1,
146         BT_8821C_1ANT_EXT_ANT_SWITCH_TO_WLA                     = 0x2,
147         BT_8821C_1ANT_EXT_ANT_SWITCH_TO_NOCARE          = 0x3,
148         BT_8821C_1ANT_EXT_ANT_SWITCH_TO_MAX
149 };
150
151 enum bt_8821c_1ant_ext_band_switch_pos_type {
152         BT_8821C_1ANT_EXT_BAND_SWITCH_TO_WLG                    = 0x0,
153         BT_8821C_1ANT_EXT_BAND_SWITCH_TO_WLA                    = 0x1,
154         BT_8821C_1ANT_EXT_BAND_SWITCH_TO_MAX
155 };
156
157 enum bt_8821c_1ant_int_block {
158         BT_8821C_1ANT_INT_BLOCK_SWITCH_TO_WLG_OF_BTG                    = 0x0,
159         BT_8821C_1ANT_INT_BLOCK_SWITCH_TO_WLG_OF_WLAG           = 0x1,
160         BT_8821C_1ANT_INT_BLOCK_SWITCH_TO_WLA_OF_WLAG           = 0x2,
161         BT_8821C_1ANT_INT_BLOCK_SWITCH_TO_MAX
162 };
163
164 enum bt_8821c_1ant_phase {
165         BT_8821C_1ANT_PHASE_COEX_INIT                                                           = 0x0,
166         BT_8821C_1ANT_PHASE_WLANONLY_INIT                                                       = 0x1,
167         BT_8821C_1ANT_PHASE_WLAN_OFF                                                            = 0x2,
168         BT_8821C_1ANT_PHASE_2G_RUNTIME                                                          = 0x3,
169         BT_8821C_1ANT_PHASE_5G_RUNTIME                                                          = 0x4,
170         BT_8821C_1ANT_PHASE_BTMPMODE                                                                    = 0x5,
171         BT_8821C_1ANT_PHASE_ANTENNA_DET                                                         = 0x6,
172         BT_8821C_1ANT_PHASE_COEX_POWERON                                                        = 0x7,
173         BT_8821C_1ANT_PHASE_MAX
174 };
175
176 enum bt_8821c_1ant_Scoreboard {
177         BT_8821C_1ANT_SCOREBOARD_ACTIVE                                                         = BIT(0),
178         BT_8821C_1ANT_SCOREBOARD_ONOFF                                                          = BIT(1),
179         BT_8821C_1ANT_SCOREBOARD_SCAN                                                           = BIT(2)
180 };
181
182 struct coex_dm_8821c_1ant {
183         /* hw setting */
184         u32             pre_ant_pos_type;
185         u32             cur_ant_pos_type;
186         /* fw mechanism */
187         boolean         cur_ignore_wlan_act;
188         boolean         pre_ignore_wlan_act;
189         u8              pre_ps_tdma;
190         u8              cur_ps_tdma;
191         u8              ps_tdma_para[5];
192         u8              ps_tdma_du_adj_type;
193         boolean         pre_ps_tdma_on;
194         boolean         cur_ps_tdma_on;
195         boolean         pre_bt_auto_report;
196         boolean         cur_bt_auto_report;
197         u8              pre_lps;
198         u8              cur_lps;
199         u8              pre_rpwm;
200         u8              cur_rpwm;
201
202         /* sw mechanism */
203         boolean pre_low_penalty_ra;
204         boolean         cur_low_penalty_ra;
205         u32             pre_val0x6c0;
206         u32             cur_val0x6c0;
207         u32             pre_val0x6c4;
208         u32             cur_val0x6c4;
209         u32             pre_val0x6c8;
210         u32             cur_val0x6c8;
211         u8              pre_val0x6cc;
212         u8              cur_val0x6cc;
213         boolean         limited_dig;
214
215         u32             backup_arfr_cnt1;       /* Auto Rate Fallback Retry cnt */
216         u32             backup_arfr_cnt2;       /* Auto Rate Fallback Retry cnt */
217         u16             backup_retry_limit;
218         u8              backup_ampdu_max_time;
219
220         /* algorithm related */
221         u8              pre_algorithm;
222         u8              cur_algorithm;
223         u8              bt_status;
224         u8              wifi_chnl_info[3];
225
226         u32             pre_ra_mask;
227         u32             cur_ra_mask;
228         u8              pre_arfr_type;
229         u8              cur_arfr_type;
230         u8              pre_retry_limit_type;
231         u8              cur_retry_limit_type;
232         u8              pre_ampdu_time_type;
233         u8              cur_ampdu_time_type;
234         u32             arp_cnt;
235
236         u32             pre_ext_ant_switch_status;
237         u32             cur_ext_ant_switch_status;
238
239         u8              pre_ext_band_switch_status;
240         u8              cur_ext_band_switch_status;
241
242         u8              pre_int_block_status;
243         u8              cur_int_block_status;
244
245         u8              error_condition;
246 };
247
248 struct coex_sta_8821c_1ant {
249         boolean                                 bt_disabled;
250         boolean                                 bt_link_exist;
251         boolean                                 sco_exist;
252         boolean                                 a2dp_exist;
253         boolean                                 hid_exist;
254         boolean                                 pan_exist;
255         boolean                                 bt_hi_pri_link_exist;
256         u8                                      num_of_profile;
257
258         boolean                                 under_lps;
259         boolean                                 under_ips;
260         u32                                     specific_pkt_period_cnt;
261         u32                                     high_priority_tx;
262         u32                                     high_priority_rx;
263         u32                                     low_priority_tx;
264         u32                                     low_priority_rx;
265         s8                                      bt_rssi;
266         boolean                                 bt_tx_rx_mask;
267         u8                                      pre_bt_rssi_state;
268         u8                                      pre_wifi_rssi_state[4];
269         boolean                                 c2h_bt_info_req_sent;
270         u8                                      bt_info_c2h[BT_INFO_SRC_8821C_1ANT_MAX][10];
271         u32                                     bt_info_c2h_cnt[BT_INFO_SRC_8821C_1ANT_MAX];
272         boolean                                 bt_whck_test;
273         boolean                                 c2h_bt_inquiry_page;
274         boolean                         c2h_bt_remote_name_req;
275         boolean                                 c2h_bt_page;                            /* Add for win8.1 page out issue */
276         boolean                                 wifi_is_high_pri_task;          /* Add for win8.1 page out issue */
277         u8                                      bt_retry_cnt;
278         u8                                      bt_info_ext;
279         u8                                      bt_info_ext2;
280         u32                                     pop_event_cnt;
281         u8                                      scan_ap_num;
282
283         u32                                     crc_ok_cck;
284         u32                                     crc_ok_11g;
285         u32                                     crc_ok_11n;
286         u32                                     crc_ok_11n_vht;
287
288         u32                                     crc_err_cck;
289         u32                                     crc_err_11g;
290         u32                                     crc_err_11n;
291         u32                                     crc_err_11n_vht;
292
293         boolean                                 cck_lock;
294         boolean                                 pre_ccklock;
295         boolean                                 cck_ever_lock;
296         u8                                      coex_table_type;
297
298         boolean                                 force_lps_on;
299         u32                                     wrong_profile_notification;
300
301         boolean                                 concurrent_rx_mode_on;
302
303         u16                                     score_board;
304         u8                                      isolation_btween_wb;   /* 0~ 50 */
305
306         u8                                      a2dp_bit_pool;
307         u8                                      cut_version;
308         boolean                         acl_busy;
309         boolean                         wl_rf_off_on_event;
310         boolean                         bt_create_connection;
311
312         u32                                     bt_coex_supported_feature;
313         u32                                     bt_coex_supported_version;
314
315         u8                                      bt_ble_scan_type;
316         u8                                      bt_ble_scan_para[3];
317
318         boolean                         run_time_state;
319         boolean                         freeze_coexrun_by_btinfo;
320
321         boolean                         is_A2DP_3M;
322         boolean                         voice_over_HOGP;
323         u8                  bt_info;
324         boolean                         is_autoslot;
325         u8                                      forbidden_slot;
326         u8                                      hid_busy_num;
327         u8                                      hid_pair_cnt;
328
329         u32                                     cnt_RemoteNameReq;
330         u32                                     cnt_setupLink;
331         u32                                     cnt_ReInit;
332         u32                                     cnt_IgnWlanAct;
333         u32                                     cnt_Page;
334
335         u16                                     bt_reg_vendor_ac;
336         u16                                     bt_reg_vendor_ae;
337
338         boolean                         is_setupLink;
339 };
340
341
342 #define  BT_8821C_1ANT_EXT_BAND_SWITCH_USE_DPDT 0
343 #define  BT_8821C_1ANT_EXT_BAND_SWITCH_USE_SPDT 1
344
345
346 struct rfe_type_8821c_1ant {
347
348         u8                      rfe_module_type;
349         boolean         ext_ant_switch_exist;
350         u8                      ext_ant_switch_type;                    /* 0:DPDT, 1:SPDT */
351         u8                      ext_ant_switch_ctrl_polarity;           /*  iF 0: DPDT_P=0, DPDT_N=1 => BTG to Main, WL_A+G to Aux */
352
353         boolean         ext_band_switch_exist;
354         u8                      ext_band_switch_type;                   /* 0:DPDT, 1:SPDT */
355         u8                      ext_band_switch_ctrl_polarity;
356
357         boolean         wlg_Locate_at_btg;                              /*  If true:  WLG at BTG, If false: WLG at WLAG */
358
359         boolean         ext_ant_switch_diversity;               /* If diversity on */
360 };
361
362 #define  BT_8821C_1ANT_ANTDET_PSD_POINTS                        256     /* MAX:1024 */
363 #define  BT_8821C_1ANT_ANTDET_PSD_AVGNUM                        1       /* MAX:3 */
364 #define BT_8821C_1ANT_ANTDET_BUF_LEN                            16
365
366 struct psdscan_sta_8821c_1ant {
367
368         u32                     ant_det_bt_le_channel;  /* BT LE Channel ex:2412 */
369         u32                     ant_det_bt_tx_time;
370         u32                     ant_det_pre_psdscan_peak_val;
371         boolean                 ant_det_is_ant_det_available;
372         u32                     ant_det_psd_scan_peak_val;
373         boolean                 ant_det_is_btreply_available;
374         u32                     ant_det_psd_scan_peak_freq;
375
376         u8                      ant_det_result;
377         u8                      ant_det_peak_val[BT_8821C_1ANT_ANTDET_BUF_LEN];
378         u8                      ant_det_peak_freq[BT_8821C_1ANT_ANTDET_BUF_LEN];
379         u32                     ant_det_try_count;
380         u32                     ant_det_fail_count;
381         u32                     ant_det_inteval_count;
382         u32                     ant_det_thres_offset;
383
384         u32                     real_cent_freq;
385         s32                     real_offset;
386         u32                     real_span;
387
388         u32                     psd_band_width;  /* unit: Hz */
389         u32                     psd_point;              /* 128/256/512/1024 */
390         u32                     psd_report[1024];  /* unit:dB (20logx), 0~255 */
391         u32                     psd_report_max_hold[1024];  /* unit:dB (20logx), 0~255 */
392         u32                     psd_start_point;
393         u32                     psd_stop_point;
394         u32                     psd_max_value_point;
395         u32                     psd_max_value;
396         u32                     psd_max_value2;
397         u32                     psd_avg_value;   /* filter loop_max_value that below BT_8821C_1ANT_ANTDET_PSDTHRES_1ANT, and average the rest*/
398         u32                     psd_loop_max_value[BT_8821C_1ANT_ANTDET_PSD_SWWEEPCOUNT];  /*max value in each loop */
399         u32                     psd_start_base;
400         u32                     psd_avg_num;    /* 1/8/16/32 */
401         u32                     psd_gen_count;
402         boolean                 is_AntDet_running;
403         boolean                 is_psd_show_max_only;
404 };
405
406 /* *******************************************
407  * The following is interface which will notify coex module.
408  * ******************************************* */
409 void ex_halbtc8821c1ant_power_on_setting(IN struct btc_coexist *btcoexist);
410 void ex_halbtc8821c1ant_pre_load_firmware(IN struct btc_coexist *btcoexist);
411 void ex_halbtc8821c1ant_init_hw_config(IN struct btc_coexist *btcoexist,
412                                        IN boolean wifi_only);
413 void ex_halbtc8821c1ant_init_coex_dm(IN struct btc_coexist *btcoexist);
414 void ex_halbtc8821c1ant_ips_notify(IN struct btc_coexist *btcoexist,
415                                    IN u8 type);
416 void ex_halbtc8821c1ant_lps_notify(IN struct btc_coexist *btcoexist,
417                                    IN u8 type);
418 void ex_halbtc8821c1ant_scan_notify(IN struct btc_coexist *btcoexist,
419                                     IN u8 type);
420 void ex_halbtc8821c1ant_switchband_notify(IN struct btc_coexist *btcoexist,
421                 IN u8 type);
422 void ex_halbtc8821c1ant_connect_notify(IN struct btc_coexist *btcoexist,
423                                        IN u8 type);
424 void ex_halbtc8821c1ant_media_status_notify(IN struct btc_coexist *btcoexist,
425                 IN u8 type);
426 void ex_halbtc8821c1ant_specific_packet_notify(IN struct btc_coexist *btcoexist,
427                 IN u8 type);
428 void ex_halbtc8821c1ant_bt_info_notify(IN struct btc_coexist *btcoexist,
429                                        IN u8 *tmp_buf, IN u8 length);
430 void ex_halbtc8821c1ant_rf_status_notify(IN struct btc_coexist *btcoexist,
431                 IN u8 type);
432 void ex_halbtc8821c1ant_halt_notify(IN struct btc_coexist *btcoexist);
433 void ex_halbtc8821c1ant_pnp_notify(IN struct btc_coexist *btcoexist,
434                                    IN u8 pnp_state);
435 void ex_halbtc8821c1ant_coex_dm_reset(IN struct btc_coexist *btcoexist);
436 void ex_halbtc8821c1ant_periodical(IN struct btc_coexist *btcoexist);
437 void ex_halbtc8821c1ant_display_coex_info(IN struct btc_coexist *btcoexist);
438 void ex_halbtc8821c1ant_antenna_detection(IN struct btc_coexist *btcoexist,
439                 IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
440 void ex_halbtc8821c1ant_antenna_isolation(IN struct btc_coexist *btcoexist,
441                 IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
442
443 void ex_halbtc8821c1ant_psd_scan(IN struct btc_coexist *btcoexist,
444                  IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
445 void ex_halbtc8821c1ant_display_ant_detection(IN struct btc_coexist *btcoexist);
446
447 #else
448 #define ex_halbtc8821c1ant_power_on_setting(btcoexist)
449 #define ex_halbtc8821c1ant_pre_load_firmware(btcoexist)
450 #define ex_halbtc8821c1ant_init_hw_config(btcoexist, wifi_only)
451 #define ex_halbtc8821c1ant_init_coex_dm(btcoexist)
452 #define ex_halbtc8821c1ant_ips_notify(btcoexist, type)
453 #define ex_halbtc8821c1ant_lps_notify(btcoexist, type)
454 #define ex_halbtc8821c1ant_scan_notify(btcoexist, type)
455 #define   ex_halbtc8821c1ant_switchband_notify(btcoexist,type)
456 #define ex_halbtc8821c1ant_connect_notify(btcoexist, type)
457 #define ex_halbtc8821c1ant_media_status_notify(btcoexist, type)
458 #define ex_halbtc8821c1ant_specific_packet_notify(btcoexist, type)
459 #define ex_halbtc8821c1ant_bt_info_notify(btcoexist, tmp_buf, length)
460 #define ex_halbtc8821c1ant_rf_status_notify(btcoexist, type)
461 #define ex_halbtc8821c1ant_halt_notify(btcoexist)
462 #define ex_halbtc8821c1ant_pnp_notify(btcoexist, pnp_state)
463 #define ex_halbtc8821c1ant_coex_dm_reset(btcoexist)
464 #define ex_halbtc8821c1ant_periodical(btcoexist)
465 #define ex_halbtc8821c1ant_display_coex_info(btcoexist)
466 #define ex_halbtc8821c1ant_antenna_detection(btcoexist, cent_freq, offset, span, seconds)
467 #define ex_halbtc8821c1ant_antenna_isolation(btcoexist, cent_freq, offset, span, seconds)
468 #define ex_halbtc8821c1ant_psd_scan(btcoexist, cent_freq, offset, span, seconds)
469 #define ex_halbtc8821c1ant_display_ant_detection(btcoexist)
470 #endif
471
472 #endif
473