From 6e18bacb7d005d79d4ae03684d01a99f05999c48 Mon Sep 17 00:00:00 2001 From: Himanshu Rawat Date: Wed, 3 Apr 2024 21:28:10 +0000 Subject: Allow LE encryption while BR/EDR encryption is going on LE encryption request was rejected if the stack was encrypting BR/EDR transport. There is no such restriction in the specification. BT controllers should be able to encrypt both the transports at the same time. Added a system property to all platforms to allow LE encryption when BR/EDR encryption is going on. Test: mmm packages/modules/Bluetooth Bug: 330704060 Flag: EXEMPT guarded by system property Change-Id: Ia501de06a1c3f37627b3ae1422ac27ba7f83353c --- sysprop/ble.sysprop | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysprop') diff --git a/sysprop/ble.sysprop b/sysprop/ble.sysprop index ad2208f0b1..f6667551de 100644 --- a/sysprop/ble.sysprop +++ b/sysprop/ble.sysprop @@ -24,3 +24,11 @@ prop { access: Readonly prop_name: "bluetooth.ble.random_address_rotation_interval_max" } + +prop { + api_name: "allow_enc_with_bredr" + type: Boolean + scope: Internal + access: Readonly + prop_name: "bluetooth.ble.allow_enc_with_bredr" +} -- cgit v1.2.3-59-g8ed1b