linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.h

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 2012  Realtek Corporation.*/

#ifndef _HAL8723B_2_ANT
#define _HAL8723B_2_ANT

/************************************************************************
 * The following is for 8723B 2Ant BT Co-exist definition
 ************************************************************************/
#define BT_INFO_8723B_2ANT_B_FTP
#define BT_INFO_8723B_2ANT_B_A2DP
#define BT_INFO_8723B_2ANT_B_HID
#define BT_INFO_8723B_2ANT_B_SCO_BUSY
#define BT_INFO_8723B_2ANT_B_ACL_BUSY
#define BT_INFO_8723B_2ANT_B_INQ_PAGE
#define BT_INFO_8723B_2ANT_B_SCO_ESCO
#define BT_INFO_8723B_2ANT_B_CONNECTION

#define BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT

/* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
#define BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES
/* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
#define BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES

enum BT_INFO_SRC_8723B_2ANT {};

enum BT_8723B_2ANT_BT_STATUS {};

enum BT_8723B_2ANT_COEX_ALGO {};

struct coex_dm_8723b_2ant {};

struct coex_sta_8723b_2ant {};

/*********************************************************************
 * The following is interface which will notify coex module.
 *********************************************************************/
void ex_btc8723b2ant_init_hwconfig(struct btc_coexist *btcoexist);
void ex_btc8723b2ant_init_coex_dm(struct btc_coexist *btcoexist);
void ex_btc8723b2ant_ips_notify(struct btc_coexist *btcoexist, u8 type);
void ex_btc8723b2ant_lps_notify(struct btc_coexist *btcoexist, u8 type);
void ex_btc8723b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type);
void ex_btc8723b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type);
void ex_btc8723b2ant_media_status_notify(struct btc_coexist *btcoexist,
					 u8 type);
void ex_btc8723b2ant_special_packet_notify(struct btc_coexist *btcoexist,
					   u8 type);
void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist,
				    u8 *tmpbuf, u8 length);
void ex_btc8723b2ant_halt_notify(struct btc_coexist *btcoexist);
void ex_btc8723b2ant_periodical(struct btc_coexist *btcoexist);
void ex_btc8723b2ant_display_coex_info(struct btc_coexist *btcoexist,
				       struct seq_file *m);
void ex_btc8723b2ant_pnp_notify(struct btc_coexist *btcoexist, u8 pnp_state);
void ex_btc8723b2ant_pre_load_firmware(struct btc_coexist *btcoexist);
void ex_btc8723b2ant_power_on_setting(struct btc_coexist *btcoexist);

#endif