From: Marcel Holtmann Date: Thu, 24 Jul 2014 13:20:57 +0000 (+0200) Subject: Bluetooth: Add support for using controller white list filtering X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~12^2~41^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8540f6c0364722b141547c6c7ac366c3ea77390b;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed