Bluetooth: Add extra discovery fields for storing filter information
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 5 Dec 2014 09:55:55 +0000 (10:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 10:37:33 +0000 (12:37 +0200)
commit37eab042be2196751ff108e6892951338b9a0969
tree57ad7718aa5ed5bfb7cb0e39c5bc76291861fc56
parent7e61df5423fe88a3e92bce59fb47686e52fb1d84
Bluetooth: Add extra discovery fields for storing filter information

With the upcoming addition of support for Start Service Discovery, the
discovery handling needs to filter on RSSI and UUID values. For that
they need to be stored in the discovery handling. This patch adds the
appropiate fields and also make sure they are reset when discovery
has been stopped.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c