* [PATCH v2] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED
@ 2024-04-08 12:34 Werner Sembach
2024-04-09 14:23 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 3+ messages in thread
From: Werner Sembach @ 2024-04-08 12:34 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz
Cc: Christoffer Sandberg, Werner Sembach, linux-bluetooth, linux-kernel
From: Christoffer Sandberg <cs@tuxedo.de>
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 <cs@tuxedo.de>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: <stable@vger.kernel.org>
---
drivers/bluetooth/btintel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c
index cdc5c08824a0a..9f9c4696d082a 100644
--- a/drivers/bluetooth/btintel.c
+++ b/drivers/bluetooth/btintel.c
@@ -2881,6 +2881,9 @@ 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);
+ fallthrough;
case 0x1b:
case 0x1c:
/* Display version information of TLV type */
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED
2024-04-08 12:34 [PATCH v2] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED Werner Sembach
@ 2024-04-09 14:23 ` Luiz Augusto von Dentz
2024-08-09 15:51 ` Werner Sembach
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2024-04-09 14:23 UTC (permalink / raw)
To: Werner Sembach
Cc: Marcel Holtmann, Christoffer Sandberg, linux-bluetooth, linux-kernel
Hi Werner,
On Mon, Apr 8, 2024 at 8:35 AM Werner Sembach <wse@tuxedocomputers.com> wrote:
>
> From: Christoffer Sandberg <cs@tuxedo.de>
>
> 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.
Perhaps the following could be a proper fix for that:
https://patchwork.kernel.org/project/bluetooth/patch/20240405204037.3451091-1-luiz.dentz@gmail.com/
If you manage to test it please reply and add Tested-by to its thread.
> Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
> Cc: <stable@vger.kernel.org>
> ---
> drivers/bluetooth/btintel.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c
> index cdc5c08824a0a..9f9c4696d082a 100644
> --- a/drivers/bluetooth/btintel.c
> +++ b/drivers/bluetooth/btintel.c
> @@ -2881,6 +2881,9 @@ 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);
> + fallthrough;
> case 0x1b:
> case 0x1c:
> /* Display version information of TLV type */
> --
> 2.34.1
>
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED
2024-04-09 14:23 ` Luiz Augusto von Dentz
@ 2024-08-09 15:51 ` Werner Sembach
0 siblings, 0 replies; 3+ messages in thread
From: Werner Sembach @ 2024-08-09 15:51 UTC (permalink / raw)
To: luiz.dentz; +Cc: cs, linux-bluetooth, linux-kernel, marcel, wse
> Hi Werner,
>
> On Mon, Apr 8, 2024 at 8:35=E2=80=AFAM Werner Sembach <wse@tuxedocomputers.com> wrote:
>
> > From: Christoffer Sandberg <cs@tuxedo.de>
> >
> > 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.
>
> Perhaps the following could be a proper fix for that:
>
> https://patchwork.kernel.org/project/bluetooth/patch/20240405204037.3451091-1-luiz.dentz@gmail.com/
>
> If you manage to test it please reply and add Tested-by to its thread.
Sorry I never answered, but the problem seems to be gone with the current kernel version, don't know which patch fixed it exactly though.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-09 15:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08 12:34 [PATCH v2] Bluetooth: btintel: Add devices to HCI_QUIRK_BROKEN_LE_CODED Werner Sembach
2024-04-09 14:23 ` Luiz Augusto von Dentz
2024-08-09 15:51 ` Werner Sembach
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®