From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796216005; b=OmWR/Bju7U0bsMuu/ItsOwTn/Wu2Ul+xJu0Fqw2K+2TtC+Ba7EN1dtTWTJR/PbitEPEd g3/TNv5kKS5pj/vGHc3D+PR/bTgW7RMre/huMpmUrP4WLRsF2zxdduGDN/3P1p+bv92Dq nTz24yE3CA9QG/UR09jslnBbc6M1B7q7XPUV6cfRzjP11yLIUWQVP2gbyzYxZk0nEOEZT ZNDfj1uEOl0MK7VhynNFX5ui96Uy3CVmcSwyzS5HOUurWHkSXWuoquUaNCRmv75UfegDB 1TTFxpG+JgWNNh0sM7R+MqBhxdoiaCE8O08dtntsjZHKXY/fCuftcZvJe+T/6n+o3zQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796216005; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=XutZ+ZQkVF7aLy77biO/T8bUzZ/bLHdU3vRFiDZYMPU=; b=rQTj6x8PsNCevatbTZuiU26zfrbK3ZxUMZ9hqITXyizk0bx+82SbTMsWGx7wUkGzPwnI 5tbYRdtfz+Kv9S0B3ZexC3vO2OIBB3YTlP/bCpO+6eQG1wfR406/GHPhFQ7jVhYpy7a5F yv94Lr/W3yrodAQXl2M/PduhOM6ClOFR3XMyV65Uqh+9pQI/vadk2F/b8ImxtssU4ZIxe QJVOQBkcUPkA9V/4s89jKNA3lDN6BTv3yTNo3LU5QxVbT3RaNZRlppjwZaIBSqnAQYw5L yyD77n+Yi+iikcE+1rn4+oFbCyj3ni0zEYkO4+tDsjxXy6b9T2aNYTjCdAI50DpAlTQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=QJM106DP; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=axSivD30; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 857FB606A329 for ; Wed, 2 Dec 2026 12:53:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 857FB606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=QJM106DP; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=axSivD30 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2Btl6e672446 for ; Wed, 2 Dec 2026 12:53:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= XutZ+ZQkVF7aLy77biO/T8bUzZ/bLHdU3vRFiDZYMPU=; b=QJM106DPKV0DQPwx ibcIhfQ3okcE6W/kUqRUdXpLZIb247cz2Ivu952o4zu5ouE8SOp+CbTYk4Zags/v fc46QX0qjySbh2SPOoBHDb6MgxGM6qRidd/vFBdmFr2nvxWM4M6evYfypcXNUrwp S772ky08IAwc4iDio5d/r3yokW9GcMDVhR00pSotqhcn+08WF1XKROMHoIJz7gw8 R1PY8/CdwY7nuD4BERbE5CNFn30aIVGQJtabgMzwboocFZi3YzF2kBUS3IQlzFj2 hRfhYo7anxdL/X56GadM+rZdR/+208jTEPlxxpjknzBQgI+9bpsRd/g4pqMUWraP //I+lA== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja4jm3mf6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 12:53:23 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2f045e399acso119011665ad.2 for ; Wed, 02 Dec 2026 04:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796216003; x=1796820803; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XutZ+ZQkVF7aLy77biO/T8bUzZ/bLHdU3vRFiDZYMPU=; b=axSivD30G9vbmHSfP8SKU08jMYP+5dL5V3DmTKVTDM4bvroouF6yvacFLRcwnLmudJ 8uIc0xAlODHVSk2A3rDZTq8YvxV+zaE4uJ7GDbQYSVvUe6qVxxSAUdVZ1BAiVFNt1afk YOwTGomHlYwdkWt+PlGvmwKDuxdvWKTGxjTwwKvGool3PE8ZYb3l9tE+aoKnc3bAM/H1 oskrue89QVKj/mNWq7ocfi6YexMFI/v6JQ7u4QWoqkhuWryGhCm3UVmAdy5yQcrjtdJK UdzNRwQopOJZ/7USWtK6LMdTYl5yesTsAVX4tFda8EQjpjVEOrtNfOSUPfB6ZErmNTnE 05Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796216003; x=1796820803; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=XutZ+ZQkVF7aLy77biO/T8bUzZ/bLHdU3vRFiDZYMPU=; b=0iQ4FjwSMHpAoSnTQiVWQmG+8wkS+21Z9izpNn5s2NYPOFQbzQ4p2TL2MSdzm85xR7 GGAaz3qGfeZEcdpDWMYq4ao/lPJjozwSLZa6US8JKvF9+vYN8KTuY4eojm761EqketyV Qp3dmomdzcOTPsoOp2NIQKJhUNif2cBAMXlz9WdGuBRCoEhdP/0Mdrr9sZlmm7tsejXU 6eOQvzv1o4tr6XgTn2ijKUfPrW3hK7EMkOiUkd6zqClk4gK75ObqfBrAJDONlAX/MUOn w/XKh+7dmhfdaRFeQ1lPvxGJpvHHmg1G4ibuH0cS0mIoHh/ARVK3wHAd1kZy9RswTERc F1Sg== X-Forwarded-Encrypted: i=1; AL+hErH6OG0oC6uXXXwWuzhWM732P16hJuiJkgNIiCVTFBYEpqeBbSXP0TwyJi3FHspMR7hgfumSIEgwn4jwGss=@vger.kernel.org X-Gm-Message-State: APuU4Z9bkL/GuLRMM6p66YjBzoRXwQrqzf5wLIq1Uq6KytSI3g5taFBI OVlowInsnN1RHx1jbmoVSvcAydtKGFlCY1BSiwj1wxTNHX5PkrafoI+vtY6HmRI/eDkkonxQZ5I Yq1TgktI/vWTvf4z+yqbJmBXIG/sSHbvUYN9obhS1F54dY2BHPiZbE6W4qPT07G2DEvQ= X-Gm-Gg: AZFdTZc9tLLUbkW7y3eXilr9TYKWxmu0SjAcnGO7Z+XIIpN1k5PJx8L4TvuwMFJXJa+ XsiLUiFXneuvCPgvQYaiwRVtLKcAUBEMrqQroyIFQMlwG47TYBqQVQQO9Kg1EObEi668VGoAKIY LCsftCXELLY0ndWEHmCLRDvMlUATRrZo1zNJZldYhMY3XAVj30IzAOuGc8FVaydfaBgt0SFwaea GRSiFTiZ6sgpNjuPfEGK66HkxqwBF0jyLy7O6SAvPazYDlVVDLzz+DFsGKiIQs2MonNdJXDLO6Y NT3YdRwNmWJQwx8YrB7VRLSPKl8dTHrYi4KAwN7wmyZGAfv+7W464HwK36sXYphZgye48D3xOka DAWG7uLmhgaTNkHXqj8GESczww4bu+Gh3jbgJM3EW6xJv+JF59t+2FDDfExzNBTO6lf+tD898aa w= X-Received: by 2002:a17:902:f708:b0:2ee:1f51:32ea with SMTP id d9443c01a7336-2f03f1ec76fmr406964005ad.25.1796216002596; Wed, 02 Dec 2026 04:53:22 -0800 (PST) X-Received: by 2002:a17:902:f708:b0:2ee:1f51:32ea with SMTP id d9443c01a7336-2f03f1ec76fmr406963745ad.25.1796216002117; Wed, 02 Dec 2026 04:53:22 -0800 (PST) Received: from [10.239.97.158] ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f03f0dbe86sm201569465ad.32.2026.12.02.04.53.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 04:53:21 -0800 (PST) Message-ID: <4693c25b-15ec-4f1e-91ae-d462e78151fd@oss.qualcomm.com> Date: Wed, 2 Dec 2026 20:53:14 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072 To: Konrad Dybcio , Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz 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 References: <20261202110933.2986272-1-shuai.zhang@oss.qualcomm.com> Content-Language: en-US From: Shuai Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA1MSBTYWx0ZWRfX8xWenEyzJqKT 1Q+SN7yXj8iXcHRXCHtpXunViGPsLAylq8Bkqpbe6RjwDJW6tELUrYbtaVsK1rqruLQfFhODdM8 Qh8AQduChoes9KkLIpny+0oiSuWGdyE= X-Proofpoint-ORIG-GUID: Z-4l6y73lHfO3fWf5-Uc7iCpCzCtftz_ X-Proofpoint-GUID: Z-4l6y73lHfO3fWf5-Uc7iCpCzCtftz_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA1MSBTYWx0ZWRfX4x2k9PSqKUcv Y4U3pFssPcnCg13TIE19rhcclBezv/dV8OaDjumfHiuCyfvgDEOWA9IKXkHLl2bDthF0Y3ZxVU1 YoFza0tw8XagRy4h7yz/Vhu1MaAUQfjqfZxh4dHcHqjOdH3XTX1rsJIyhjvUhbAmlWVilKMg4x/ H636Bv/k3DhgF6pzDRxn1mk1/mZOjr17g4I06s8Tm/uyj2m9I5tGWNpOEQ/baUXiqlY4eD8gl/c wH79rTkA45eni0ob2y7W0O97rtZmyD7RAVYZ7tcV0wjSjwBJbXd9en555Os/X01in8wCy0W3Q/d tXjlIa97XjeV4IhsguHnInF1OClmpUu2WectjzGRB5AhnXUwLCUVSP8TSdfYN4zFjPw6Esz4Og8 guiuaAei+nVBURPW/6iiggJw16ncLSESU+F1ZLCag+ulS6Fncl7Qb6WrwAWlUUUf/ALNcDap0n8 /pKFIhn1GFgdP2YBnUQ== X-Authority-Analysis: v=2.4 cv=KYBHIgYD c=1 sm=1 tr=0 ts=6b1014c3 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=A-N0-C0XlEn8mUo205MA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020051 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, 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 >> Signed-off-by: Shuai Zhang > The tags are suspicious - is Cheng the owner? Or is a > co-developed-by missing? > > Konrad I’ll add the Co-developed-by tag for cheng. Thanks, Shuai >