Re: [PATCH v1] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072
From: Shuai Zhang
Date: Wed Dec 02 2026 - 07:53:27 EST
Hi Konrad
On 12/2/2026 7:11 PM, Konrad Dybcio wrote:
On 12/2/26 12:09 PM, Shuai Zhang wrote:
The baudrate change command (0xfc48) is written straight to the UART, soThe tags are suspicious - is Cheng the owner? Or is a
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@xxxxxxxxxxxxxxxx>
Signed-off-by: Shuai Zhang <shuai.zhang@xxxxxxxxxxxxxxxx>
co-developed-by missing?
Konrad
I’ll add the Co-developed-by tag for cheng.
Thanks,
Shuai