Bluetooth: Add support for limited privacy mode
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Mar 2016 15:30:34 +0000 (17:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Mar 2016 18:51:30 +0000 (19:51 +0100)
commit82a37adeedd38880940e2772ec1ae27a09353e5a
tree1bcb7b13da9a469b99334e01090ea23bc62d29af
parentd43efbd0d545f476be0bbef30cbe18234f8a9631
Bluetooth: Add support for limited privacy mode

Introduce a limited privacy mode indicated by value 0x02 to the mgmt
Set Privacy command.

With value 0x02 the kernel will use privacy mode with a resolvable
private address. In case the controller is bondable and discoverable
the identity address will be used.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h
net/bluetooth/mgmt.c