diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-02-18 10:19:36 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-18 00:47:03 -0800 |
commit | fd349c020c5b6f7a6e17cb8b4e821ff9b6f71ba6 (patch) | |
tree | fd713b8b491c9971c4a9a099b14c8d18c501bb2f /net/bluetooth/smp.h | |
parent | 41edf1601af3b25461d91e73834dc89510bca8e5 (diff) | |
download | linux-fd349c020c5b6f7a6e17cb8b4e821ff9b6f71ba6.tar.bz2 |
Bluetooth: Enable support for remote IRK distribution
This patch does the necessary changes to request the remote device to
distribute its IRK to us during the SMP pairing procedure. This includes
setting the right key distribution values in the pairing
request/response and handling of the two related SMP PDUs, i.e. Identity
Information and Identity Address Information.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r-- | net/bluetooth/smp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h index 950d039c2ea2..4f373bc56ad7 100644 --- a/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h @@ -128,6 +128,10 @@ struct smp_chan { u8 pcnf[16]; /* SMP Pairing Confirm */ u8 tk[16]; /* SMP Temporary Key */ u8 enc_key_size; + u8 remote_key_dist; + bdaddr_t id_addr; + u8 id_addr_type; + u8 irk[16]; unsigned long smp_flags; struct crypto_blkcipher *tfm; struct work_struct confirm; |