Re: [PATCH v1] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072

From: Konrad Dybcio

Date: Wed Dec 02 2026 - 06:11:43 EST


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@xxxxxxxxxxxxxxxx>
> Signed-off-by: Shuai Zhang <shuai.zhang@xxxxxxxxxxxxxxxx>

The tags are suspicious - is Cheng the owner? Or is a
co-developed-by missing?

Konrad