rtlwifi: btcoex: Add variable ant_div_cfg to support antenna diversity
The variable will be used by btcoex of 8822be, so we prepare this variable in advance. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -1310,6 +1310,7 @@ bool exhalbtc_bind_bt_coex_withadapter(void *adapter)
|
|||||||
"[BTCoex], Package Type = Non-TFBGA\n");
|
"[BTCoex], Package Type = Non-TFBGA\n");
|
||||||
|
|
||||||
btcoexist->board_info.rfe_type = rtl_get_hwpg_rfe_type(rtlpriv);
|
btcoexist->board_info.rfe_type = rtl_get_hwpg_rfe_type(rtlpriv);
|
||||||
|
btcoexist->board_info.ant_div_cfg = 0;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -153,6 +153,7 @@ struct btc_board_info {
|
|||||||
bool tfbga_package;
|
bool tfbga_package;
|
||||||
|
|
||||||
u8 rfe_type;
|
u8 rfe_type;
|
||||||
|
u8 ant_div_cfg;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum btc_dbg_opcode {
|
enum btc_dbg_opcode {
|
||||||
|
Reference in New Issue
Block a user