]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/net/bluetooth/hci.h
Bluetooth: Add new quirk for non-persistent diagnostic settings
[mirror_ubuntu-bionic-kernel.git] / include / net / bluetooth / hci.h
index a26ff28ca878930f663db6b681dadbe138cf97b0..b59971c5cb71c2659ae278f0742cc3b28d745eaa 100644 (file)
@@ -170,6 +170,15 @@ enum {
         * during the hdev->setup vendor callback.
         */
        HCI_QUIRK_SIMULTANEOUS_DISCOVERY,
+
+       /* When this quirk is set, the enabling of diagnostic mode is
+        * not persistent over HCI Reset. Every time the controller
+        * is brought up it needs to be reprogrammed.
+        *
+        * This quirk can be set before hci_register_dev is called or
+        * during the hdev->setup vendor callback.
+        */
+       HCI_QUIRK_NON_PERSISTENT_DIAG,
 };
 
 /* HCI device flags */