Bluetooth: Add support for handling LE Direct Advertising Report events
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 15:20:13 +0000 (16:20 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 16:16:41 +0000 (18:16 +0200)
commit2f010b55884efad9c2be572070cb7377a5388fcd
tree11bfd93e3bc198f1df783ed74244874a4683b320
parent4b71bba45c420065044bf040b2284893ab900d03
Bluetooth: Add support for handling LE Direct Advertising Report events

When the controller sends a LE Direct Advertising Report event, the host
must confirm that the resolvable random address provided matches with
its own identity resolving key. If it does, then that advertising report
needs to be processed. If it does not match, the report needs to be
ignored.

This patch adds full support for handling these new reports and using
them for device discovery and connection handling. This means when a
Bluetooth controller supports the Extended Scanner Filter Policies, it
is possible to use directed advertising with LE privacy.

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