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:54 +0000 (18:29 +0000)
commit027532b3678e3d50ed41270d747df5eb06bc6a8d
treeb133e5d6e84f9f618e8847494c147d37a15492f3
parent9d0694a77f7ac79cbedd22c0a2d848ce93d93205
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.c
stack/btu/btu_hcif.c
stack/hcic/hcicmds.c
stack/include/btm_ble_api.h
stack/include/hcimsgs.h