]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851
authorRaul Cheleguini <raul.cheleguini@gmail.com>
Thu, 23 Mar 2023 13:45:39 +0000 (10:45 -0300)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 9 Aug 2023 09:37:57 +0000 (11:37 +0200)
commit430498873fb6c4b2e6c88a87a6a72366f7e2772f
tree251eff0af92f5472129a06c5402882a079e6c40f
parentb1fc10358dbebd5c07883c9a5aac6f62af9840e2
Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851

BugLink: https://bugs.launchpad.net/bugs/2028808
[ Upstream commit 91b6d02ddcd113352bdd895990b252065c596de7 ]

The ATS2851 based controller advertises support for command "LE Set Random
Private Address Timeout" but does not actually implement it, impeding the
controller initialization.

Add the quirk HCI_QUIRK_BROKEN_SET_RPA_TIMEOUT to unblock the controller
initialization.

< HCI Command: LE Set Resolvable Private... (0x08|0x002e) plen 2
        Timeout: 900 seconds
> HCI Event: Command Status (0x0f) plen 4
      LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 1
        Status: Unknown HCI Command (0x01)

Co-developed-by: imoc <wzj9912@gmail.com>
Signed-off-by: imoc <wzj9912@gmail.com>
Signed-off-by: Raul Cheleguini <raul.cheleguini@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/bluetooth/btusb.c
include/net/bluetooth/hci.h
net/bluetooth/hci_sync.c