aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2021-10-27 16:58:46 -0700
committerMarcel Holtmann <marcel@holtmann.org>2021-10-29 16:51:59 +0200
commit353a0249c3f60365c55d53e2d068de4f43669a22 (patch)
treeed0f3bd9318549e8edb6ba47b0aba131b70fb746 /include/net/bluetooth
parentBluetooth: hci_sync: Convert MGMT_OP_START_DISCOVERY (diff)
downloadlinux-dev-353a0249c3f60365c55d53e2d068de4f43669a22.tar.xz
linux-dev-353a0249c3f60365c55d53e2d068de4f43669a22.zip
Bluetooth: hci_sync: Convert MGMT_OP_SET_FAST_CONNECTABLE
This creates a synchronized Write Fast Connectable call and attaches it to the MGMT_OP_SET_FAST_CONNECTABLE management opcode. Signed-off-by: Brian Gix <brian.gix@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_sync.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_sync.h b/include/net/bluetooth/hci_sync.h
index c4fa77321b31..1fb66b6f8a34 100644
--- a/include/net/bluetooth/hci_sync.h
+++ b/include/net/bluetooth/hci_sync.h
@@ -68,6 +68,8 @@ int hci_disable_advertising_sync(struct hci_dev *hdev);
int hci_update_passive_scan_sync(struct hci_dev *hdev);
int hci_update_passive_scan(struct hci_dev *hdev);
+int hci_write_fast_connectable_sync(struct hci_dev *hdev, bool enable);
+
int hci_dev_open_sync(struct hci_dev *hdev);
int hci_dev_close_sync(struct hci_dev *hdev);