Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2873042lqz; Wed, 3 Apr 2024 10:55:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7XbbWSE6pnHDZoxDHA+l45JUpgAtjjEi7VeGYoBWsJEsHBhH4PoQU8XvcdZjEqcuDhKFhPW5XC6TCW0cG0Vz0dZjNdP21nr3HjL2y6Q== X-Google-Smtp-Source: AGHT+IH2Cdt6W+2kcTVE9G8bvyDhw9zvwWxO0jML4M3TkL9WhNP0MwlogtXu2+IEss10Oc1jmEPu X-Received: by 2002:a05:6a00:909f:b0:6eb:3d37:ce7a with SMTP id jo31-20020a056a00909f00b006eb3d37ce7amr258907pfb.21.1712166923357; Wed, 03 Apr 2024 10:55:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712166923; cv=pass; d=google.com; s=arc-20160816; b=E5nQkfIu/n97S890HyX+P/FuahVX0E1j7VxmTdvMuK4smuhOyuvQu3DyrHkUG8KyQw 6oXsASWmOJMX/l8Z6Ll+WO9nCSTi8EmE0WRaMpP4Vz6DHuwQDGxagRNqLiuk0jfwy6Vz XJ9NyhuQlDSmvF8LxGFe3SSKquOldL+M+6ssZSXEwtFweImXR0U/fQ36PnuQTy+aTTeT MGWIe1zEoHmlkIHO0ygeyyZwtFuEuieEhnTSJ6c2vlQfElqe8ocKlRiQARM3VPYFDzz0 99jrxA61WDoilyJMoPBfo7jQQ/PTQwPSsCfJeG2r7WrVnnbyUOYtaCLsvIIhuufxctXe ey0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=tsYtlgX4H8Lnf7nDA9d4DGU/VUChSBTFLvN8JaBLeRw=; fh=fAVvqa29TMCSLQ1BWo+IkeTh9vOt2h2EvlnFWIq0DOI=; b=CD6sQtFMcIx7q9Aye53G4txHSCaulRS4RLV9ISDtrG6ZaMqhepmEXz05ws8TzIhLK1 Y2AbBbmEApAxmvu106gZtm1a8hk9M0ENq2L7i/DvrzS9RfhmQBS4uqAi6DW9KZV+rwCw n4tPxk/CsXjtE8g2/L2wrDIbtTRC/n6+DDUZfR9ETKmTX9U0Mtu9pxFfcQiO1q1F59l4 PfJbFfOyM7kK/cbqNSDahNCdEaPxri042lHZX6L2Tx7Sga+E9wmaBEzJ2/tIz97xEu44 WaeP5jYXoreNTXLZP4emEl6nFXkGPYD7aDCscrAUb3kecK83FViLZVaMYhtPPsVsYHK5 Yang==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=TgA0gmhU; arc=pass (i=1 spf=pass spfdomain=tuxedocomputers.com dkim=pass dkdomain=tuxedocomputers.com dmarc=pass fromdomain=tuxedocomputers.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3168-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g1-20020a62e301000000b006ead16f07d1si2572900pfh.119.2024.04.03.10.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 10:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3168-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=TgA0gmhU; arc=pass (i=1 spf=pass spfdomain=tuxedocomputers.com dkim=pass dkdomain=tuxedocomputers.com dmarc=pass fromdomain=tuxedocomputers.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3168-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DB5EB283CCF for ; Wed, 3 Apr 2024 17:51:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAE0B157489; Wed, 3 Apr 2024 17:32:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="TgA0gmhU" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16D71152187 for ; Wed, 3 Apr 2024 17:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=157.90.84.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165569; cv=none; b=ozaf5/b6Js7bvD1YEhlB8OcfJQErv6p1T+IF3hmMSTDjb1NebMVrAojdShMP8h76qceCbliforicvRcNLa28m7qXk8kOFNwyoJCji0zkd4X9U+IHZr3RWJo7vf9zVFtxPhKeZBorYl2kZFEHgpZRmmvssbp7cRjFWiOeUV5eJRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165569; c=relaxed/simple; bh=p2MY0oYE0BdehlhQIU11n7CS8rT0srtYbxj/rlbgyFQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nRjiqYEHleE5chL6TM2fve1W8u42zijyWwXM6ahazkaHrFWWjog/uRDuP/Y/hqGvAwaajlDPkjvZwoB9fVuSqSU3Pn7M0jQzimj4IZM02a61HKx3b/CwPi8353RJK3Kt4ZgTVO8jQOEWQ47godt+ePXIcFCS+AHlQqDWFUmuawY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com; spf=pass smtp.mailfrom=tuxedocomputers.com; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b=TgA0gmhU; arc=none smtp.client-ip=157.90.84.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Received: from [192.168.42.20] (p5b164b56.dip0.t-ipconnect.de [91.22.75.86]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPSA id 97EF12FC0064; Wed, 3 Apr 2024 19:32:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1712165563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tsYtlgX4H8Lnf7nDA9d4DGU/VUChSBTFLvN8JaBLeRw=; b=TgA0gmhUevA0S4Kxdm9gW+flq6i83Xn12Lcb68d4XaukfIQlqNsmw9ytVeMEAlc9xLvfcI WYUD8MqOlP16kScWTIorr3Gml4vYlRrDHLMWbLWKu6JYf/ykZYfcWnV9nuPDv7SLOCN73t cjZBl22VM6rcVrW1J/bdQbio6dwfpVA= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com Message-ID: Date: Wed, 3 Apr 2024 19:32:43 +0200 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED To: Pauli Virtanen Cc: linux-bluetooth@vger.kernel.org References: <20240328131800.63328-1-wse@tuxedocomputers.com> <29d54137-f3b9-4556-b99e-61a0f681f164@tuxedocomputers.com> <0fd88d1ed7704938f54460e0e42a2f934690bf01.camel@iki.fi> Content-Language: en-US From: Werner Sembach In-Reply-To: <0fd88d1ed7704938f54460e0e42a2f934690bf01.camel@iki.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 02.04.24 um 19:16 schrieb Pauli Virtanen: > pe, 2024-03-29 kello 00:20 +0100, Werner Sembach kirjoitti: >> Hi Luiz, >> >> Am 28.03.24 um 15:17 schrieb Luiz Augusto von Dentz: >>> Hi Werner, >>> >>> On Thu, Mar 28, 2024 at 9:18 AM Werner Sembach wrote: >>>> From: Christoffer Sandberg >>>> >>>> For HW variants 0x17, 0x18 and 0x19 LE Coded PHY causes scan and >>>> connection issues when enabled. This patch disables it through >>>> the existing quirk. >>>> >>>> Signed-off-by: Christoffer Sandberg >>>> Signed-off-by: Werner Sembach >>>> Cc: >>>> --- >>>> drivers/bluetooth/btintel.c | 2 ++ >>>> 1 file changed, 2 insertions(+) >>>> >>>> diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c >>>> index cdc5c08824a0a..6dbfb74d0adf9 100644 >>>> --- a/drivers/bluetooth/btintel.c >>>> +++ b/drivers/bluetooth/btintel.c >>>> @@ -2881,6 +2881,8 @@ static int btintel_setup_combined(struct hci_dev *hdev) >>>> case 0x17: >>>> case 0x18: >>>> case 0x19: >>>> + /* 0x17, 0x18 and 0x19 have issues when LE Coded PHY is enabled */ >>>> + set_bit(HCI_QUIRK_BROKEN_LE_CODED, &hdev->quirks); >>> If it is just these 3 then we are missing a break here. >> The cases are not added by the patch, the fallthrough was here before. This >> patch just adds this quirk for these 3 cases on top to the other things done >> below, aka the fallthrough is intentional. > See > > https://docs.kernel.org/next/process/deprecated.html#implicit-switch-case-fall-through Thanks for the link, will add the explicit fallthrough in a v2. > > >> Best regards, >> >> Werner >> >>>> case 0x1b: >>>> case 0x1c: >>>> /* Display version information of TLV type */ >>>> -- >>>> 2.34.1 >>>>