halbtc8822b1ant.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. #if (BT_SUPPORT == 1 && COEX_SUPPORT == 1)
  2. #if (RTL8822B_SUPPORT == 1)
  3. /* *******************************************
  4. * The following is for 8822B 1ANT BT Co-exist definition
  5. * ******************************************* */
  6. #define BT_AUTO_REPORT_ONLY_8822B_1ANT 1
  7. #define BT_INFO_8822B_1ANT_B_FTP BIT(7)
  8. #define BT_INFO_8822B_1ANT_B_A2DP BIT(6)
  9. #define BT_INFO_8822B_1ANT_B_HID BIT(5)
  10. #define BT_INFO_8822B_1ANT_B_SCO_BUSY BIT(4)
  11. #define BT_INFO_8822B_1ANT_B_ACL_BUSY BIT(3)
  12. #define BT_INFO_8822B_1ANT_B_INQ_PAGE BIT(2)
  13. #define BT_INFO_8822B_1ANT_B_SCO_ESCO BIT(1)
  14. #define BT_INFO_8822B_1ANT_B_CONNECTION BIT(0)
  15. #define BT_INFO_8822B_1ANT_A2DP_BASIC_RATE(_BT_INFO_EXT_) \
  16. (((_BT_INFO_EXT_&BIT(0))) ? true : false)
  17. #define BTC_RSSI_COEX_THRESH_TOL_8822B_1ANT 2
  18. #define BT_8822B_1ANT_WIFI_NOISY_THRESH 150 /* max: 255 */
  19. /* for Antenna detection */
  20. #define BT_8822B_1ANT_ANTDET_PSDTHRES_BACKGROUND 50
  21. #define BT_8822B_1ANT_ANTDET_PSDTHRES_2ANT_BADISOLATION 70
  22. #define BT_8822B_1ANT_ANTDET_PSDTHRES_2ANT_GOODISOLATION 55
  23. #define BT_8822B_1ANT_ANTDET_PSDTHRES_1ANT 35
  24. #define BT_8822B_1ANT_ANTDET_RETRY_INTERVAL 10 /* retry timer if ant det is fail, unit: second */
  25. #define BT_8822B_1ANT_ANTDET_ENABLE 0
  26. #define BT_8822B_1ANT_ANTDET_COEXMECHANISMSWITCH_ENABLE 0
  27. #define BT_8822B_1ANT_LTECOEX_INDIRECTREG_ACCESS_TIMEOUT 30000
  28. enum bt_8822b_1ant_signal_state {
  29. BT_8822B_1ANT_SIG_STA_SET_TO_LOW = 0x0,
  30. BT_8822B_1ANT_SIG_STA_SET_BY_HW = 0x0,
  31. BT_8822B_1ANT_SIG_STA_SET_TO_HIGH = 0x1,
  32. BT_8822B_1ANT_SIG_STA_MAX
  33. };
  34. enum bt_8822b_1ant_path_ctrl_owner {
  35. BT_8822B_1ANT_PCO_BTSIDE = 0x0,
  36. BT_8822B_1ANT_PCO_WLSIDE = 0x1,
  37. BT_8822B_1ANT_PCO_MAX
  38. };
  39. enum bt_8822b_1ant_gnt_ctrl_type {
  40. BT_8822B_1ANT_GNT_CTRL_BY_PTA = 0x0,
  41. BT_8822B_1ANT_GNT_CTRL_BY_SW = 0x1,
  42. BT_8822B_1ANT_GNT_CTRL_MAX
  43. };
  44. enum bt_8822b_1ant_gnt_ctrl_block {
  45. BT_8822B_1ANT_GNT_BLOCK_RFC_BB = 0x0,
  46. BT_8822B_1ANT_GNT_BLOCK_RFC = 0x1,
  47. BT_8822B_1ANT_GNT_BLOCK_BB = 0x2,
  48. BT_8822B_1ANT_GNT_BLOCK_MAX
  49. };
  50. enum bt_8822b_1ant_lte_coex_table_type {
  51. BT_8822B_1ANT_CTT_WL_VS_LTE = 0x0,
  52. BT_8822B_1ANT_CTT_BT_VS_LTE = 0x1,
  53. BT_8822B_1ANT_CTT_MAX
  54. };
  55. enum bt_8822b_1ant_lte_break_table_type {
  56. BT_8822B_1ANT_LBTT_WL_BREAK_LTE = 0x0,
  57. BT_8822B_1ANT_LBTT_BT_BREAK_LTE = 0x1,
  58. BT_8822B_1ANT_LBTT_LTE_BREAK_WL = 0x2,
  59. BT_8822B_1ANT_LBTT_LTE_BREAK_BT = 0x3,
  60. BT_8822B_1ANT_LBTT_MAX
  61. };
  62. enum bt_info_src_8822b_1ant {
  63. BT_INFO_SRC_8822B_1ANT_WIFI_FW = 0x0,
  64. BT_INFO_SRC_8822B_1ANT_BT_RSP = 0x1,
  65. BT_INFO_SRC_8822B_1ANT_BT_ACTIVE_SEND = 0x2,
  66. BT_INFO_SRC_8822B_1ANT_MAX
  67. };
  68. enum bt_8822b_1ant_bt_status {
  69. BT_8822B_1ANT_BT_STATUS_NON_CONNECTED_IDLE = 0x0,
  70. BT_8822B_1ANT_BT_STATUS_CONNECTED_IDLE = 0x1,
  71. BT_8822B_1ANT_BT_STATUS_INQ_PAGE = 0x2,
  72. BT_8822B_1ANT_BT_STATUS_ACL_BUSY = 0x3,
  73. BT_8822B_1ANT_BT_STATUS_SCO_BUSY = 0x4,
  74. BT_8822B_1ANT_BT_STATUS_ACL_SCO_BUSY = 0x5,
  75. BT_8822B_1ANT_BT_STATUS_MAX
  76. };
  77. enum bt_8822b_1ant_wifi_status {
  78. BT_8822B_1ANT_WIFI_STATUS_NON_CONNECTED_IDLE = 0x0,
  79. BT_8822B_1ANT_WIFI_STATUS_NON_CONNECTED_ASSO_AUTH_SCAN = 0x1,
  80. BT_8822B_1ANT_WIFI_STATUS_CONNECTED_SCAN = 0x2,
  81. BT_8822B_1ANT_WIFI_STATUS_CONNECTED_SPECIFIC_PKT = 0x3,
  82. BT_8822B_1ANT_WIFI_STATUS_CONNECTED_IDLE = 0x4,
  83. BT_8822B_1ANT_WIFI_STATUS_CONNECTED_BUSY = 0x5,
  84. BT_8822B_1ANT_WIFI_STATUS_MAX
  85. };
  86. enum bt_8822b_1ant_coex_algo {
  87. BT_8822B_1ANT_COEX_ALGO_UNDEFINED = 0x0,
  88. BT_8822B_1ANT_COEX_ALGO_SCO = 0x1,
  89. BT_8822B_1ANT_COEX_ALGO_HID = 0x2,
  90. BT_8822B_1ANT_COEX_ALGO_A2DP = 0x3,
  91. BT_8822B_1ANT_COEX_ALGO_A2DP_PANHS = 0x4,
  92. BT_8822B_1ANT_COEX_ALGO_PANEDR = 0x5,
  93. BT_8822B_1ANT_COEX_ALGO_PANHS = 0x6,
  94. BT_8822B_1ANT_COEX_ALGO_PANEDR_A2DP = 0x7,
  95. BT_8822B_1ANT_COEX_ALGO_PANEDR_HID = 0x8,
  96. BT_8822B_1ANT_COEX_ALGO_HID_A2DP_PANEDR = 0x9,
  97. BT_8822B_1ANT_COEX_ALGO_HID_A2DP = 0xa,
  98. BT_8822B_1ANT_COEX_ALGO_MAX = 0xb,
  99. };
  100. enum bt_8822b_1ant_ext_ant_switch_type {
  101. BT_8822B_1ANT_EXT_ANT_SWITCH_USE_SPDT = 0x0,
  102. BT_8822B_1ANT_EXT_ANT_SWITCH_USE_SP3T = 0x1,
  103. BT_8822B_1ANT_EXT_ANT_SWITCH_MAX
  104. };
  105. enum bt_8822b_1ant_ext_ant_switch_ctrl_type {
  106. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_BY_BBSW = 0x0,
  107. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_BY_PTA = 0x1,
  108. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_BY_ANTDIV = 0x2,
  109. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_BY_MAC = 0x3,
  110. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_BY_BT = 0x4,
  111. BT_8822B_1ANT_EXT_ANT_SWITCH_CTRL_MAX
  112. };
  113. enum bt_8822b_1ant_ext_ant_switch_pos_type {
  114. BT_8822B_1ANT_EXT_ANT_SWITCH_TO_BT = 0x0,
  115. BT_8822B_1ANT_EXT_ANT_SWITCH_TO_WLG = 0x1,
  116. BT_8822B_1ANT_EXT_ANT_SWITCH_TO_WLA = 0x2,
  117. BT_8822B_1ANT_EXT_ANT_SWITCH_TO_NOCARE = 0x3,
  118. BT_8822B_1ANT_EXT_ANT_SWITCH_TO_MAX
  119. };
  120. enum bt_8822b_1ant_phase {
  121. BT_8822B_1ANT_PHASE_COEX_INIT = 0x0,
  122. BT_8822B_1ANT_PHASE_WLANONLY_INIT = 0x1,
  123. BT_8822B_1ANT_PHASE_WLAN_OFF = 0x2,
  124. BT_8822B_1ANT_PHASE_2G_RUNTIME = 0x3,
  125. BT_8822B_1ANT_PHASE_5G_RUNTIME = 0x4,
  126. BT_8822B_1ANT_PHASE_BTMPMODE = 0x5,
  127. BT_8822B_1ANT_PHASE_MAX
  128. };
  129. /*ADD SCOREBOARD TO FIX BT LPS 32K ISSUE WHILE WL BUSY*/
  130. enum bt_8822b_1ant_Scoreboard {
  131. BT_8822B_1ANT_SCOREBOARD_ACTIVE = BIT(0),
  132. BT_8822B_1ANT_SCOREBOARD_ONOFF = BIT(1),
  133. BT_8822B_1ANT_SCOREBOARD_SCAN = BIT(2),
  134. BT_8822B_1ANT_SCOREBOARD_UNDERTEST = BIT(3),
  135. BT_8822B_1ANT_SCOREBOARD_WLBUSY = BIT(6)
  136. };
  137. struct coex_dm_8822b_1ant {
  138. /* hw setting */
  139. u32 pre_ant_pos_type;
  140. u32 cur_ant_pos_type;
  141. /* fw mechanism */
  142. boolean cur_ignore_wlan_act;
  143. boolean pre_ignore_wlan_act;
  144. u8 pre_ps_tdma;
  145. u8 cur_ps_tdma;
  146. u8 ps_tdma_para[5];
  147. u8 ps_tdma_du_adj_type;
  148. boolean auto_tdma_adjust;
  149. boolean pre_ps_tdma_on;
  150. boolean cur_ps_tdma_on;
  151. boolean pre_bt_auto_report;
  152. boolean cur_bt_auto_report;
  153. u8 pre_lps;
  154. u8 cur_lps;
  155. u8 pre_rpwm;
  156. u8 cur_rpwm;
  157. /* sw mechanism */
  158. boolean pre_low_penalty_ra;
  159. boolean cur_low_penalty_ra;
  160. u32 pre_val0x6c0;
  161. u32 cur_val0x6c0;
  162. u32 pre_val0x6c4;
  163. u32 cur_val0x6c4;
  164. u32 pre_val0x6c8;
  165. u32 cur_val0x6c8;
  166. u8 pre_val0x6cc;
  167. u8 cur_val0x6cc;
  168. boolean limited_dig;
  169. u32 backup_arfr_cnt1; /* Auto Rate Fallback Retry cnt */
  170. u32 backup_arfr_cnt2; /* Auto Rate Fallback Retry cnt */
  171. u16 backup_retry_limit;
  172. u8 backup_ampdu_max_time;
  173. /* algorithm related */
  174. u8 pre_algorithm;
  175. u8 cur_algorithm;
  176. u8 bt_status;
  177. u8 wifi_chnl_info[3];
  178. u32 pre_ra_mask;
  179. u32 cur_ra_mask;
  180. u8 pre_arfr_type;
  181. u8 cur_arfr_type;
  182. u8 pre_retry_limit_type;
  183. u8 cur_retry_limit_type;
  184. u8 pre_ampdu_time_type;
  185. u8 cur_ampdu_time_type;
  186. u32 arp_cnt;
  187. u32 pre_ext_ant_switch_status;
  188. u32 cur_ext_ant_switch_status;
  189. u8 error_condition;
  190. };
  191. struct coex_sta_8822b_1ant {
  192. boolean bt_disabled;
  193. boolean bt_link_exist;
  194. boolean sco_exist;
  195. boolean a2dp_exist;
  196. boolean hid_exist;
  197. boolean pan_exist;
  198. boolean bt_hi_pri_link_exist;
  199. u8 num_of_profile;
  200. boolean under_lps;
  201. boolean under_ips;
  202. u32 specific_pkt_period_cnt;
  203. u32 high_priority_tx;
  204. u32 high_priority_rx;
  205. u32 low_priority_tx;
  206. u32 low_priority_rx;
  207. s8 bt_rssi;
  208. boolean bt_tx_rx_mask;
  209. u8 pre_bt_rssi_state;
  210. u8 pre_wifi_rssi_state[4];
  211. boolean c2h_bt_info_req_sent;
  212. u8 bt_info_c2h[BT_INFO_SRC_8822B_1ANT_MAX][10];
  213. u32 bt_info_c2h_cnt[BT_INFO_SRC_8822B_1ANT_MAX];
  214. boolean bt_whck_test;
  215. boolean c2h_bt_inquiry_page;
  216. boolean c2h_bt_page; /* Add for win8.1 page out issue */
  217. boolean wifi_is_high_pri_task; /* Add for win8.1 page out issue */
  218. u8 bt_retry_cnt;
  219. u8 bt_info_ext;
  220. u32 pop_event_cnt;
  221. u8 scan_ap_num;
  222. u32 crc_ok_cck;
  223. u32 crc_ok_11g;
  224. u32 crc_ok_11n;
  225. u32 crc_ok_11n_agg;
  226. u32 crc_ok_11n_vht;
  227. u32 crc_err_cck;
  228. u32 crc_err_11g;
  229. u32 crc_err_11n;
  230. u32 crc_err_11n_agg;
  231. u32 crc_err_11n_vht;
  232. boolean cck_lock;
  233. boolean pre_ccklock;
  234. boolean cck_ever_lock;
  235. u8 coex_table_type;
  236. boolean force_lps_on;
  237. u32 wrong_profile_notification;
  238. boolean concurrent_rx_mode_on;
  239. u32 special_pkt_period_cnt;
  240. u16 score_board;
  241. u8 a2dp_bit_pool;
  242. u8 cut_version;
  243. boolean acl_busy;
  244. boolean wl_rf_off_on_event;
  245. boolean bt_create_connection;
  246. boolean run_time_state;
  247. u32 bt_coex_supported_feature;
  248. u32 bt_coex_supported_version;
  249. boolean rf4ce_enabled;
  250. };
  251. struct rfe_type_8822b_1ant {
  252. u8 rfe_module_type;
  253. boolean ext_ant_switch_exist;
  254. u8 ext_ant_switch_type;
  255. u8 ext_ant_switch_ctrl_polarity; /* iF 0: ANTSW(rfe_sel9)=0, ANTSWB(rfe_sel8)=1 => Ant to BT/5G */
  256. };
  257. #define BT_8822B_1ANT_ANTDET_PSD_POINTS 256 /* MAX:1024 */
  258. #define BT_8822B_1ANT_ANTDET_PSD_AVGNUM 1 /* MAX:3 */
  259. #define BT_8822B_1ANT_ANTDET_BUF_LEN 16
  260. struct psdscan_sta_8822b_1ant {
  261. u32 ant_det_bt_le_channel; /* BT LE Channel ex:2412 */
  262. u32 ant_det_bt_tx_time;
  263. u32 ant_det_pre_psdscan_peak_val;
  264. boolean ant_det_is_ant_det_available;
  265. u32 ant_det_psd_scan_peak_val;
  266. boolean ant_det_is_btreply_available;
  267. u32 ant_det_psd_scan_peak_freq;
  268. u8 ant_det_result;
  269. u8 ant_det_peak_val[BT_8822B_1ANT_ANTDET_BUF_LEN];
  270. u8 ant_det_peak_freq[BT_8822B_1ANT_ANTDET_BUF_LEN];
  271. u32 ant_det_try_count;
  272. u32 ant_det_fail_count;
  273. u32 ant_det_inteval_count;
  274. u32 ant_det_thres_offset;
  275. u32 real_cent_freq;
  276. s32 real_offset;
  277. u32 real_span;
  278. u32 psd_band_width; /* unit: Hz */
  279. u32 psd_point; /* 128/256/512/1024 */
  280. u32 psd_report[1024]; /* unit:dB (20logx), 0~255 */
  281. u32 psd_report_max_hold[1024]; /* unit:dB (20logx), 0~255 */
  282. u32 psd_start_point;
  283. u32 psd_stop_point;
  284. u32 psd_max_value_point;
  285. u32 psd_max_value;
  286. u32 psd_start_base;
  287. u32 psd_avg_num; /* 1/8/16/32 */
  288. u32 psd_gen_count;
  289. boolean is_psd_running;
  290. boolean is_psd_show_max_only;
  291. };
  292. /* *******************************************
  293. * The following is interface which will notify coex module.
  294. * ******************************************* */
  295. void ex_halbtc8822b1ant_power_on_setting(IN struct btc_coexist *btcoexist);
  296. void ex_halbtc8822b1ant_pre_load_firmware(IN struct btc_coexist *btcoexist);
  297. void ex_halbtc8822b1ant_init_hw_config(IN struct btc_coexist *btcoexist,
  298. IN boolean wifi_only);
  299. void ex_halbtc8822b1ant_init_coex_dm(IN struct btc_coexist *btcoexist);
  300. void ex_halbtc8822b1ant_ips_notify(IN struct btc_coexist *btcoexist,
  301. IN u8 type);
  302. void ex_halbtc8822b1ant_lps_notify(IN struct btc_coexist *btcoexist,
  303. IN u8 type);
  304. void ex_halbtc8822b1ant_scan_notify(IN struct btc_coexist *btcoexist,
  305. IN u8 type);
  306. void ex_halbtc8822b1ant_scan_notify_without_bt(IN struct btc_coexist *btcoexist,
  307. IN u8 type);
  308. void ex_halbtc8822b1ant_switchband_notify(IN struct btc_coexist *btcoexist,
  309. IN u8 type);
  310. void ex_halbtc8822b1ant_switchband_notify_without_bt(IN struct btc_coexist
  311. *btcoexist,
  312. IN u8 type);
  313. void ex_halbtc8822b1ant_connect_notify(IN struct btc_coexist *btcoexist,
  314. IN u8 type);
  315. void ex_halbtc8822b1ant_media_status_notify(IN struct btc_coexist *btcoexist,
  316. IN u8 type);
  317. void ex_halbtc8822b1ant_specific_packet_notify(IN struct btc_coexist *btcoexist,
  318. IN u8 type);
  319. void ex_halbtc8822b1ant_bt_info_notify(IN struct btc_coexist *btcoexist,
  320. IN u8 *tmp_buf, IN u8 length);
  321. void ex_halbtc8822b1ant_rf_status_notify(IN struct btc_coexist *btcoexist,
  322. IN u8 type);
  323. void ex_halbtc8822b1ant_halt_notify(IN struct btc_coexist *btcoexist);
  324. void ex_halbtc8822b1ant_pnp_notify(IN struct btc_coexist *btcoexist,
  325. IN u8 pnp_state);
  326. void ex_halbtc8822b1ant_ScoreBoardStatusNotify(IN struct btc_coexist *btcoexist,
  327. IN u8 *tmp_buf, IN u8 length);
  328. void ex_halbtc8822b1ant_coex_dm_reset(IN struct btc_coexist *btcoexist);
  329. void ex_halbtc8822b1ant_periodical(IN struct btc_coexist *btcoexist);
  330. void ex_halbtc8822b1ant_display_coex_info(IN struct btc_coexist *btcoexist);
  331. void ex_halbtc8822b1ant_antenna_detection(IN struct btc_coexist *btcoexist,
  332. IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
  333. void ex_halbtc8822b1ant_antenna_isolation(IN struct btc_coexist *btcoexist,
  334. IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
  335. void ex_halbtc8822b1ant_psd_scan(IN struct btc_coexist *btcoexist,
  336. IN u32 cent_freq, IN u32 offset, IN u32 span, IN u32 seconds);
  337. void ex_halbtc8822b1ant_display_ant_detection(IN struct btc_coexist *btcoexist);
  338. void ex_halbtc8822b1ant_dbg_control(IN struct btc_coexist *btcoexist,
  339. IN u8 op_code, IN u8 op_len, IN u8 *pdata);
  340. #else
  341. #define ex_halbtc8822b1ant_power_on_setting(btcoexist)
  342. #define ex_halbtc8822b1ant_pre_load_firmware(btcoexist)
  343. #define ex_halbtc8822b1ant_init_hw_config(btcoexist, wifi_only)
  344. #define ex_halbtc8822b1ant_init_coex_dm(btcoexist)
  345. #define ex_halbtc8822b1ant_ips_notify(btcoexist, type)
  346. #define ex_halbtc8822b1ant_lps_notify(btcoexist, type)
  347. #define ex_halbtc8822b1ant_scan_notify(btcoexist, type)
  348. #define ex_halbtc8822b1ant_scan_notify_without_bt(btcoexist, type)
  349. #define ex_halbtc8822b1ant_switchband_notify(btcoexist, type)
  350. #define ex_halbtc8822b1ant_switchband_notify_without_bt(btcoexist, type)
  351. #define ex_halbtc8822b1ant_connect_notify(btcoexist, type)
  352. #define ex_halbtc8822b1ant_media_status_notify(btcoexist, type)
  353. #define ex_halbtc8822b1ant_specific_packet_notify(btcoexist, type)
  354. #define ex_halbtc8822b1ant_bt_info_notify(btcoexist, tmp_buf, length)
  355. #define ex_halbtc8822b1ant_rf_status_notify(btcoexist, type)
  356. #define ex_halbtc8822b1ant_halt_notify(btcoexist)
  357. #define ex_halbtc8822b1ant_pnp_notify(btcoexist, pnp_state)
  358. #define ex_halbtc8822b1ant_ScoreBoardStatusNotify(btcoexist, tmp_buf, length)
  359. #define ex_halbtc8822b1ant_coex_dm_reset(btcoexist)
  360. #define ex_halbtc8822b1ant_periodical(btcoexist)
  361. #define ex_halbtc8822b1ant_display_coex_info(btcoexist)
  362. #define ex_halbtc8822b1ant_antenna_detection(btcoexist, cent_freq, offset, span, seconds)
  363. #define ex_halbtc8822b1ant_antenna_isolation(btcoexist, cent_freq, offset, span, seconds)
  364. #define ex_halbtc8822b1ant_psd_scan(btcoexist, cent_freq, offset, span, seconds)
  365. #define ex_halbtc8822b1ant_display_ant_detection(btcoexist)
  366. #define ex_halbtc8822b1ant_dbg_control(btcoexist, op_code, op_len, pdata)
  367. #endif
  368. #else
  369. void ex_halbtc8822b1ant_init_hw_config_without_bt(IN struct btc_coexist
  370. *btcoexist);
  371. void ex_halbtc8822b1ant_switch_band_without_bt(IN struct btc_coexist *btcoexist,
  372. IN boolean wifi_only_5g);
  373. #endif