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

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

/*===========================================
 * The following is for 8821A 2Ant BT Co-exist definition
 *===========================================
*/
#define BT_INFO_8821A_2ANT_B_FTP
#define BT_INFO_8821A_2ANT_B_A2DP
#define BT_INFO_8821A_2ANT_B_HID
#define BT_INFO_8821A_2ANT_B_SCO_BUSY
#define BT_INFO_8821A_2ANT_B_ACL_BUSY
#define BT_INFO_8821A_2ANT_B_INQ_PAGE
#define BT_INFO_8821A_2ANT_B_SCO_ESCO
#define BT_INFO_8821A_2ANT_B_CONNECTION

#define BTC_RSSI_COEX_THRESH_TOL_8821A_2ANT

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

enum _BT_INFO_SRC_8821A_2ANT {};

enum _BT_8821A_2ANT_BT_STATUS {};

enum _BT_8821A_2ANT_COEX_ALGO {};

struct coex_dm_8821a_2ant {};

struct coex_sta_8821a_2ant {};

/*===========================================
 *	The following is interface which will notify coex module.
 *===========================================
 */
void
ex_btc8821a2ant_init_hwconfig(
	struct btc_coexist *btcoexist
	);
void
ex_btc8821a2ant_init_coex_dm(
	struct btc_coexist *btcoexist
	);
void
ex_btc8821a2ant_ips_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_lps_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_scan_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_connect_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_media_status_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_special_packet_notify(
	struct btc_coexist *btcoexist,
	u8 type
	);
void
ex_btc8821a2ant_bt_info_notify(
	struct btc_coexist *btcoexist,
	u8 *tmp_buf,
	u8 length
	);
void
ex_btc8821a2ant_halt_notify(
	struct btc_coexist *btcoexist
	);
void
ex_btc8821a2ant_periodical(
	struct btc_coexist *btcoexist
	);
void
ex_btc8821a2ant_display_coex_info(
	struct btc_coexist *btcoexist,
	struct seq_file *m
	);
void ex_btc8821a2ant_pnp_notify(struct btc_coexist *btcoexist, u8 pnp_state);
void ex_btc8821a2ant_pre_load_firmware(struct btc_coexist *btcoexist);