]> 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)
commit3a871720415efddf32eb78043d0f473682d5cdc8
treecee0fabb651a8f66840c1dd0064bc214f3d4b52f
parent4336ed4a2236605e1a30729cb9def52f0b05d488
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