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)
commitbc292258c580a82c9baef0a64f66971e010a40a9
treecee0fabb651a8f66840c1dd0064bc214f3d4b52f
parenta479036041d6a1bcf98f72b16a425e8d45e20ae9
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