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)
committerGreg Wroblewski <musashi@google.com>
Tue, 30 Apr 2019 19:53:23 +0000 (12:53 -0700)
commita59a37963952d6dcb78ef2b9eb2265d40b14e699
tree8591376ff35aa3d612f0b8db82c6fcfcc64fce63
parent31df47ac458ad836e91dd09a7625dd40d6fc42ed
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
(cherry picked from commit 027532b3678e3d50ed41270d747df5eb06bc6a8d)
device/src/controller.c
stack/btu/btu_hcif.c
stack/hcic/hcicmds.c
stack/include/btm_ble_api.h
stack/include/hcimsgs.h