aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-04 10:54:37 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-04 11:09:32 -0400
commit89bc22d23f63c2d437f677d7eae0fa922bedcdcb (patch)
tree2c797d8fe591af18be6f453abcfa2c14b74ead1a /include/net/bluetooth/hci.h
parent118305b50a73b46ff6c1c0453d7ae642b26dff82 (diff)
Bluetooth: Add quirk for invalid controller address setting
When a Bluetooth controller does not have a valid public Bluetooth address, then allow the driver to indicate this. If the quirk is set, the Bluetooth core will switch to unconfigured state first and will allow userspace to configure the address before starting the full initialization of the controller. 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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 744713cd5335..148b21699446 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -110,6 +110,16 @@ enum {
110 * This quirk must be set before hci_register_dev is called. 110 * This quirk must be set before hci_register_dev is called.
111 */ 111 */
112 HCI_QUIRK_BROKEN_STORED_LINK_KEY, 112 HCI_QUIRK_BROKEN_STORED_LINK_KEY,
113
114 /* When this quirk is set, the public Bluetooth address
115 * initially reported by HCI Read BD Address command
116 * is considered invalid. Controller configuration is
117 * required before this device can be used.
118 *
119 * This quirk can be set before hci_register_dev is called or
120 * during the hdev->setup vendor callback.
121 */
122 HCI_QUIRK_INVALID_BDADDR,
113}; 123};
114 124
115/* HCI device flags */ 125/* HCI device flags */