OSDN Git Service

DO NOT MERGE Drop Bluetooth connection with weak encryption key
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 22 Mar 2019 18:29:41 +0000 (18:29 +0000)
commite32d4aa7a4b02dd39e918b3b3efae0ccc60ef588
tree7b5e10e75a6669e6e1cee507c5bd283c05f2b802
parentaa03b4979189098e6907e08af4ef118acf5f1f16
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b
device/src/controller.cc
stack/btu/btu_hcif.cc
stack/hcic/hcicmds.cc
stack/include/btm_ble_api.h
stack/include/hcimsgs.h