From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Shuai Zhang <shuai.zhang@oss.qualcomm.com>,
Bartosz Golaszewski <brgl@kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org,
linux-kernel@vger.kernel.org, chejiang@qti.qualcomm.com,
quic_chezhou@quicinc.com, wei.deng@oss.qualcomm.com,
jinwang.li@oss.qualcomm.com, mengshi.wu@oss.qualcomm.com,
Cheng Jiang <cheng.jiang@oss.qualcomm.com>
Subject: Re: [PATCH v1] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072
Date: Wed, 2 Dec 2026 12:11:30 +0100 [thread overview]
Message-ID: <a559fcb8-481c-40e9-aad1-c99034a88a5b@oss.qualcomm.com> (raw)
In-Reply-To: <20261202110933.2986272-1-shuai.zhang@oss.qualcomm.com>
On 12/2/26 12:09 PM, Shuai Zhang wrote:
> The baudrate change command (0xfc48) is written straight to the UART, so
> the HCI core does not track it. WCN6750, WCN6855, WCN7850 and QCC2072
> answer it with a Command Complete event. The event arrives while the
> first firmware download command is pending and ends up as:
>
> Bluetooth: hci0: unexpected event for opcode 0xfc48
>
> Handle these SoCs like WCN3988/WCN3990: drop the event in
> qca_recv_event() and wait for it in qca_set_speed().
>
> Getting the event also confirms that the controller really switched to
> the new baudrate. Without the wait, a mismatch between host and
> controller only shows up later as a firmware download timeout.
>
> Signed-off-by: Cheng Jiang <cheng.jiang@oss.qualcomm.com>
> Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
The tags are suspicious - is Cheng the owner? Or is a
co-developed-by missing?
Konrad
next prev parent reply other threads:[~2026-12-02 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 11:09 Shuai Zhang
2026-12-02 11:11 ` Konrad Dybcio [this message]
2026-12-02 12:53 ` Shuai Zhang
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=a559fcb8-481c-40e9-aad1-c99034a88a5b@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=chejiang@qti.qualcomm.com \
--cc=cheng.jiang@oss.qualcomm.com \
--cc=jinwang.li@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=mengshi.wu@oss.qualcomm.com \
--cc=quic_chezhou@quicinc.com \
--cc=shuai.zhang@oss.qualcomm.com \
--cc=wei.deng@oss.qualcomm.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
all inboxes | Powered by JetHome®