summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-04 17:23:33 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-04 21:08:15 +0300
commiteb1904f49d3e11468997e0667e6ec332a66697c9 (patch)
tree15d50031dbd8245166bebb14ec73fc4b0337ba7a /include/net/bluetooth/hci.h
parent42a9bc148960b2c85f9ec5ef1abe3a87e0155c60 (diff)
downloadblackbird-obmc-linux-eb1904f49d3e11468997e0667e6ec332a66697c9.tar.gz
blackbird-obmc-linux-eb1904f49d3e11468997e0667e6ec332a66697c9.zip
Bluetooth: Add quirk for external configuration requirement
When a controller requires external configuration, then setting this quirk will allow indicating this. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 148b21699446..4f1c4c7e2f00 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -111,6 +111,15 @@ enum {
*/
HCI_QUIRK_BROKEN_STORED_LINK_KEY,
+ /* When this quirk is set, an external configuration step
+ * is required and will be indicated with the controller
+ * configuation.
+ *
+ * This quirk can be set before hci_register_dev is called or
+ * during the hdev->setup vendor callback.
+ */
+ HCI_QUIRK_EXTERNAL_CONFIG,
+
/* When this quirk is set, the public Bluetooth address
* initially reported by HCI Read BD Address command
* is considered invalid. Controller configuration is
OpenPOWER on IntegriCloud