]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add restarting to service discovery
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 2 Feb 2015 07:07:55 +0000 (23:07 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Feb 2015 07:52:34 +0000 (08:52 +0100)
commitd725cc290dcef9e22476e4c7fd9f49c61801adce
tree3a21e7bfb48f6b548337ad9a1758783d6c5dbd21
parenta3c1c5166c458345f2bdfcfe88c1724a4b8a133d
Bluetooth: Add restarting to service discovery

When using LE_SCAN_FILTER_DUP_ENABLE, some controllers would send
advertising report from each LE device only once. That means that we
don't get any updates on RSSI value, and makes Service Discovery very
slow. This patch adds restarting scan when in Service Discovery, and
device with filtered uuid is found, but it's not in RSSI range to send
event yet. This way if device moves into range, we will quickly get RSSI
update.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c