Skip to content

Commit 76f146b

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
rtlwifi: Add in_4way field for btcoexist
If wifi is in 4way, btcoex give wifi higher priority to use antenna. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Yan-Hsuan Chuang <yhchuang@realtek.com> Cc: Birming Chiu <birming@realtek.com> Cc: Shaofu <shaofu@realtek.com> Cc: Steven Ting <steventing@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
1 parent c76ab8e commit 76f146b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ static bool halbtc_get(void *void_btcoexist, u8 get_type, void *out_buf)
428428
*bool_tmp = false;
429429
break;
430430
case BTC_GET_BL_WIFI_4_WAY_PROGRESS:
431-
/* TODO */
432-
*bool_tmp = false;
431+
*bool_tmp = rtlpriv->btcoexist.btc_info.in_4way;
433432
break;
434433
case BTC_GET_BL_WIFI_UNDER_5G:
435434
if (rtlhal->current_bandtype == BAND_ON_5G)

drivers/net/wireless/realtek/rtlwifi/wifi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,6 +2484,7 @@ struct rtl_btc_info {
24842484
u8 single_ant_path;
24852485

24862486
u8 ap_num;
2487+
bool in_4way;
24872488
};
24882489

24892490
struct bt_coexist_info {

0 commit comments

Comments
 (0)