Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.
authorAlain Michaud <alainm@chromium.org>
Tue, 7 Jan 2020 00:43:17 +0000 (00:43 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Jan 2020 21:28:41 +0000 (22:28 +0100)
commit600a87490ff9823d065fc15e86c709e707033ecc
tree1c7e841f92e023430b9dc8928f4bd460a9bf53f7
parent5e6d8401ade984296ae9629cb06458c2784e1882
Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.

MGMT command is added to receive the list of blocked keys from
user-space.

The list is used to:
1) Block keys from being distributed by the device during
   the ke distribution phase of SMP.
2) Filter out any keys that were previously saved so
   they are no longer used.

Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_core.c
net/bluetooth/hci_debugfs.c
net/bluetooth/mgmt.c
net/bluetooth/smp.c