]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for reading security information
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Apr 2020 19:44:05 +0000 (21:44 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 5 Apr 2020 11:53:13 +0000 (14:53 +0300)
commitec56f86b78959a873b080a79d4ec8d4c2d271c44
treecee0fabb651a8f66840c1dd0064bc214f3d4b52f
parent1f2a712b564d9f221c265c8583007b80031f1181
Bluetooth: Add support for reading security information

To allow userspace to make correcty security policy decision, the kernel
needs to export a few details of the supported security features and
encryption key size information. This command exports this information
and also allows future extensions if needed.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c