mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Bluetooth: Add mgmt support for LE Secure Connections LTK types
We need a dedicated LTK type for LTK resulting from a Secure Connections based SMP pairing. This patch adds a new define for it and ensures that both the New LTK event as well as the Load LTKs command supports it. Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
d2eb9e10f7
commit
23fb8de376
3 changed files with 42 additions and 7 deletions
|
|
@ -184,6 +184,9 @@ struct mgmt_cp_load_link_keys {
|
|||
|
||||
#define MGMT_LTK_UNAUTHENTICATED 0x00
|
||||
#define MGMT_LTK_AUTHENTICATED 0x01
|
||||
#define MGMT_LTK_P256_UNAUTH 0x02
|
||||
#define MGMT_LTK_P256_AUTH 0x03
|
||||
#define MGMT_LTK_P256_DEBUG 0x04
|
||||
|
||||
struct mgmt_ltk_info {
|
||||
struct mgmt_addr_info addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue