]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Filter duplicated reports in LE scan
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 31 May 2012 23:01:41 +0000 (20:01 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:16 +0000 (06:34 +0300)
commitcf767a16fc20aab7602b2f64aa4fe627ab411056
tree8403fa7bc7bbd525ded419ea0194b4db50db329e
parent2492d990b5d62b606e8a9594dc3d1cd2d53dbea6
Bluetooth: Filter duplicated reports in LE scan

This patch enables filtering duplicated advertising reports during
LE scan.

Some LE devices advertise using very small intervals generating lots
of equal advertising report events to the host. Each event generates
a mgmt_device_found event which is copied to userspace.

Enabling this feature, duplicated advertising reports are filtered
at controller's link layer. This way, the controller doesn't wake up
the host to report duplicated advertising reports and, consequently,
less data is copied to userspace.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c