From: Maxim Skokov <skokovmaksimevg@gmail.com>
To: pkshih@realtek.com
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
Maxim Skokov <skokovmaksimevg@gmail.com>
Subject: Re: rtw89: BT connect state differs between scoreboard and bt_info on RTL8851B
Date: Wed, 16 Sep 2026 08:32:28 +0300 [thread overview]
Message-ID: <20260916053228.10042-1-skokovmaksimevg@gmail.com> (raw)
In-Reply-To: <25270f2066784a02806daa352643be53@realtek.com>
> We found the problem recently, and ongoing to send out the patch.
> Please try the attachment.
Applied on 7.3.0-rc1, rebuilt the rtw89 modules only. RTL8851BE,
WL_FW 0.29.41.5.
The hardware read works. With RTW89_DBG_BTC on, during a radio state
change:
[BTC], read scbd bt0: 0x40000013
[BTC], read scbd bt0: 0xc0000013
BTC_BSCB_BT_CONNECT, BIT(16), is not set in either value, so the register
holds what the C2H path was already reporting.
status.map.connect still alternates. 90 samples of btc_info, one per
second, with the mechanism reason and the WL link mode beside it:
16 connect:Y reason:UPDATE_BT_INFO link_mode:STA
1 connect:Y reason:NTFY_SWBAND link_mode:STA
70 connect:N reason:NTFY_POWEROFF link_mode:STA
2 connect:N reason:UPDATE_BT_SCBD link_mode:STA
1 connect:N reason:NTFY_SCAN_START link_mode:STA
The same sampling on the unpatched module, 30 samples two seconds apart,
gave 28 N and 2 Y, so this part is unchanged.
The mailbox reports the device as connected throughout:
raw_data[49 01 c9 00 04 00], so raw_info[2] = 0x49 and lb2.connect = 1,
with A2DP_active:Y. The sink was connected and playing for all of the
above, and WL stayed in STA mode, retrying association without completing
it.
Is BTC_BSCB_BT_CONNECT expected to be set by BT firmware on this chip? If
not, status.map.connect will keep being overwritten from the scoreboard
after _update_bt_info() has written it from the mailbox.
next prev parent reply other threads:[~2026-09-16 5:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 12:26 rtw89: BT connect state differs between scoreboard and bt_info on RTL8851B Maxim Skokov
2026-09-15 12:36 ` Maxim Skokov
2026-09-16 2:39 ` Ping-Ke Shih
2026-09-16 5:32 ` Maxim Skokov [this message]
2026-09-17 0:30 ` Ping-Ke Shih
2026-09-17 7:06 ` Maxim Skokov
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=20260916053228.10042-1-skokovmaksimevg@gmail.com \
--to=skokovmaksimevg@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/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