OSDN Git Service

Add Moto Key Link to blacklist for LE secure connections
authorNitin Arora <niarora@codeaurora.org>
Fri, 10 Jul 2015 18:24:47 +0000 (11:24 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 17 Jul 2015 00:17:09 +0000 (17:17 -0700)
This change allows the host to mask the Cross key bit in
the key distribution fields of the pairing request and
response while pairing with the Moto key link. This is
needed since this specific remote device performs
calculations of the pairing confirm after masking the
cross key bit in the key distribtuin field which results
in a mismatch of the pairing confirm calcualted by the host
DUT and the remote.

Bug: 22539807
Change-Id: I7d758b05023cf346c97939883edda9d3adb08e1a

device/include/interop_database.h

index 8b4018f..9b065d6 100644 (file)
@@ -36,6 +36,9 @@ static const interop_entry_t interop_database[] = {
   {{0xac, 0x9e, 0x17,       0,0,0}, 3, INTEROP_DISABLE_LE_SECURE_CONNECTIONS},
   {{0xf0, 0x79, 0x59,       0,0,0}, 3, INTEROP_DISABLE_LE_SECURE_CONNECTIONS},
 
+  // Motorola Key Link
+  {{0x1c, 0x96, 0x5a,       0,0,0}, 3, INTEROP_DISABLE_LE_SECURE_CONNECTIONS},
+
   // BMW car kits (Harman/Becker)
   {{0x9c, 0xdf, 0x03,       0,0,0}, 3, INTEROP_AUTO_RETRY_PAIRING}
 };