diff options
author | Anderson Briglia <anderson.briglia@openbossa.org> | 2011-06-09 17:50:45 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-06-13 14:48:24 -0400 |
commit | f01ead315785768cdb6e928646f90a47640bcdd9 (patch) | |
tree | f080c5a9c0b18d6638ed52fad4c3e9c947a2c4a4 /include/net | |
parent | d22ef0bc83c5a4e7ca9f2791e658dc8949d31ff4 (diff) |
Bluetooth: Add SMP confirmation structs
This patch adds initial support for verifying the confirmation value
that the remote side has sent.
Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index c284be027d9f..b03d9c4dfc78 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -395,6 +395,11 @@ struct l2cap_conn { | |||
395 | 395 | ||
396 | __u8 disc_reason; | 396 | __u8 disc_reason; |
397 | 397 | ||
398 | __u8 preq[7]; /* SMP Pairing Request */ | ||
399 | __u8 prsp[7]; /* SMP Pairing Response */ | ||
400 | __u8 prnd[16]; /* SMP Pairing Random */ | ||
401 | __u8 pcnf[16]; /* SMP Pairing Confirm */ | ||
402 | |||
398 | struct list_head chan_l; | 403 | struct list_head chan_l; |
399 | rwlock_t chan_lock; | 404 | rwlock_t chan_lock; |
400 | }; | 405 | }; |