From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <ku920601@realtek.com>, <linux-wireless@vger.kernel.org>
Subject: [PATCH 6/8] wifi: rtw89: coex: Correct A2DP exist variable source
Date: Tue, 17 Jan 2023 19:41:07 +0800 [thread overview]
Message-ID: <20230117114109.4298-7-pkshih@realtek.com> (raw)
In-Reply-To: <20230117114109.4298-1-pkshih@realtek.com>
From: Ching-Te Ku <ku920601@realtek.com>
When Wi-Fi enter and leave LPS, coexistence driver need to know
is there A2DP exist or not. And when Wi-Fi sleep in deep power save
state will not able to receive mailbox sent from Bluetooth. So update
the A2DP exist information from reading register.
Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
drivers/net/wireless/realtek/rtw89/coex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtw89/coex.c b/drivers/net/wireless/realtek/rtw89/coex.c
index bfeef1069318c..c0e8a0b2e0b75 100644
--- a/drivers/net/wireless/realtek/rtw89/coex.c
+++ b/drivers/net/wireless/realtek/rtw89/coex.c
@@ -4602,7 +4602,7 @@ static void _update_bt_scbd(struct rtw89_dev *rtwdev, bool only_update)
bt->whql_test = !!(val & BTC_BSCB_WHQL);
bt->btg_type = val & BTC_BSCB_BT_S1 ? BTC_BT_BTG : BTC_BT_ALONE;
- bt->link_info.a2dp_desc.active = !!(val & BTC_BSCB_A2DP_ACT);
+ bt->link_info.a2dp_desc.exist = !!(val & BTC_BSCB_A2DP_ACT);
/* if rfk run 1->0 */
if (bt->rfk_info.map.run && !(val & BTC_BSCB_RFK_RUN))
--
2.25.1
next prev parent reply other threads:[~2023-01-17 11:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 11:41 [PATCH 0/8] wifi: rtw89: coex: the last patchset to adapt BTC version Ping-Ke Shih
2023-01-17 11:41 ` [PATCH 1/8] wifi: rtw89: coex: Update Wi-Fi external control TDMA parameters/tables Ping-Ke Shih
2023-02-13 17:04 ` Kalle Valo
2023-01-17 11:41 ` [PATCH 2/8] wifi: rtw89: coex: Clear Bluetooth HW PTA counter when radio state change Ping-Ke Shih
2023-01-17 11:41 ` [PATCH 3/8] wifi: rtw89: coex: Force to update TDMA parameter " Ping-Ke Shih
2023-01-17 11:41 ` [PATCH 4/8] wifi: rtw89: coex: Refine coexistence log Ping-Ke Shih
2023-01-17 11:41 ` [PATCH 5/8] wifi: rtw89: coex: Set Bluetooth background scan PTA request priority Ping-Ke Shih
2023-01-17 11:41 ` Ping-Ke Shih [this message]
2023-01-17 11:41 ` [PATCH 7/8] wifi: rtw89: coex: Fix test fail when coexist with raspberryPI A2DP idle Ping-Ke Shih
2023-01-17 11:41 ` [PATCH 8/8] wifi: rtw89: coex: Update Wi-Fi Bluetooth coexistence version to 7.0.0 Ping-Ke Shih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230117114109.4298-7-pkshih@realtek.com \
--to=pkshih@realtek.com \
--cc=ku920601@realtek.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).