]> 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)
commitbdb1cb3500af738bd29165b246b15ff53242d9c5
tree3a21e7bfb48f6b548337ad9a1758783d6c5dbd21
parent95268f51198a4f59b5fccbc97ff52468dae068bd
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