aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorPedro Nishiyama <nishiyama.pedro@gmail.com>2025-03-01 03:22:58 -0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-25 12:43:25 -0400
commitff26b2dd6568392f60fa67a4e58279938025c3af (patch)
tree0bde119d9ac674b472972eb2647a6113f4981d91 /include/net/bluetooth/hci.h
parentBluetooth: btintel_pcie: Read hardware exception data (diff)
downloadlinux-ff26b2dd6568392f60fa67a4e58279938025c3af.tar.gz
linux-ff26b2dd6568392f60fa67a4e58279938025c3af.zip
Bluetooth: Add quirk for broken READ_VOICE_SETTING
Some fake controllers cannot be initialized because they return a smaller report than expected for READ_VOICE_SETTING. Signed-off-by: Pedro Nishiyama <nishiyama.pedro@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 3ec915738112..295d97e312e1 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -354,6 +354,14 @@ enum {
* during the hdev->setup vendor callback.
*/
HCI_QUIRK_FIXUP_LE_EXT_ADV_REPORT_PHY,
+
+ /* When this quirk is set, the HCI_OP_READ_VOICE_SETTING command is
+ * skipped. This is required for a subset of the CSR controller clones
+ * which erroneously claim to support it.
+ *
+ * This quirk must be set before hci_register_dev is called.
+ */
+ HCI_QUIRK_BROKEN_READ_VOICE_SETTING,
};
/* HCI device flags */