Bluetooth: Add support for Read Local Simple Pairing Options
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Apr 2020 19:44:04 +0000 (21:44 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 5 Apr 2020 11:53:11 +0000 (14:53 +0300)
commita479036041d6a1bcf98f72b16a425e8d45e20ae9
tree70fa2579fd3c8253570f1150b2771108b98afd11
parentfc04590e3d39213a22b7afd46c4bd5d95a6cab1f
Bluetooth: Add support for Read Local Simple Pairing Options

With the Read Local Simple Pairing Options command it is possible to
retrieve the support for max encryption key size supported by the
controller and also if the controller correctly verifies the ECDH public
key during pairing.

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/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c