summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btqca.h
diff options
context:
space:
mode:
authorJakub Pawlowski2015-08-07 20:22:56 +0200
committerMarcel Holtmann2015-08-10 21:36:13 +0200
commitfa1422207756833096b54356a539e3a7d7edec4f (patch)
treec838a65b6ec3eaeb9484d030db72d43ae0ea508c /drivers/bluetooth/btqca.h
parentBluetooth: timeout handling in new connect procedure (diff)
downloadkernel-qcow2-linux-fa1422207756833096b54356a539e3a7d7edec4f.tar.gz
kernel-qcow2-linux-fa1422207756833096b54356a539e3a7d7edec4f.tar.xz
kernel-qcow2-linux-fa1422207756833096b54356a539e3a7d7edec4f.zip
Bluetooth: Enable new connection establishment procedure.
Currently, when trying to connect to already paired device that just rotated its RPA MAC address, old address would be used and connection would fail. In order to fix that, kernel must scan and receive advertisement with fresh RPA before connecting. This patch enables new connection establishment procedure. Instead of just sending HCI_OP_LE_CREATE_CONN to controller, "connect" will add device to kernel whitelist and start scan. If advertisement is received, it'll be compared against whitelist and then trigger connection if it matches. That fixes mentioned reconnect issue for already paired devices. It also make whole connection procedure more robust. We can try to connect to multiple devices at same time now, even though controller allow only one. Signed-off-by: Jakub Pawlowski <jpawlowski@google.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btqca.h')
0 files changed, 0 insertions, 0 deletions