]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for using controller white list filtering
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Jul 2014 13:20:57 +0000 (15:20 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 26 Jul 2014 11:13:17 +0000 (14:13 +0300)
commitc253666932cd7b6a2ddd493e4c5c390d499951e9
tree6296e647dbbac5e9ef94ba2c275bb4e048c13871
parent47b7898b020ebb48cf6cb413541a69defd575e51
Bluetooth: Add support for using controller white list filtering

The Bluetooth controller can use a white list filter when scanning
to avoid waking up the host for devices that are of no interest.

Devices marked as reporting, direct connection (incoming) or general
connection are now added to the controller white list. The update of
the white list happens just before enabling passive scanning.

In case the white list is full and can not hold all devices, the
white list is not used and the filter policy set to accept all
advertisements.

Using the white list for scanning allows for power saving with
controllers that do not handle the duplicate filtering correctly.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c