linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 01/11] mgmt-api: Update the commands for exchanging LTK's
@ 2012-01-17 23:28 Vinicius Costa Gomes
  2012-01-17 23:28 ` [PATCH BlueZ 02/11] Add messages to the mgmt interface to handle SMP key storage Vinicius Costa Gomes
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Vinicius Costa Gomes @ 2012-01-17 23:28 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

For restoring the device from storage we need to have the Address type
of the device, the LTK is a good place for this.

In some cases, we may be notified of keys that were generated in the
Host, that key key would be used when the Host is the slave role in
a later connection, we should be able to differentiate this type of
key because it doesn't mean that we have a bonding with the Remote
Device.
---
 doc/mgmt-api.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 3e188c2..8fe7c94 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -477,7 +477,9 @@ Load Long Term Keys Command
 	Command Parameters:	Key Count (2 Octets)
 				Key1 {
 					Address (6 Octets)
+					Type (1 Octet)
 					Authenticated (1 Octet)
+					Master (1 Octet)
 					Encryption Size (1 Octet)
 					Enc. Diversifier (2 Octets)
 					Random Number (8 Octets)
@@ -758,7 +760,9 @@ Controller Index	<controller id>
 Event Parameters	Store Hint (1 Octet)
 			Key {
 				Address (6 Octets)
+				Type (1 Octet)
 				Authenticated (1 Octet)
+				Master (1 Octet)
 				Encryption Size (1 Octet)
 				Enc. Diversifier (2 Octets)
 				Random Number (8 Octets)
-- 
1.7.8.1


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-01-18 22:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 23:28 [PATCH BlueZ 01/11] mgmt-api: Update the commands for exchanging LTK's Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 02/11] Add messages to the mgmt interface to handle SMP key storage Vinicius Costa Gomes
2012-01-18 11:57   ` Johan Hedberg
2012-01-18 14:26     ` Vinicius Costa Gomes
2012-01-18 14:37       ` Johan Hedberg
2012-01-17 23:28 ` [PATCH BlueZ 03/11] Add storage functions to handle SMP keys Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 04/11] Add macros for the possible link key types Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 05/11] Fix using "magic" values for the " Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 06/11] Add support for storing a LTK when it enters bluetoothd Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 07/11] Add support for handing the New LTK mgmt event Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 08/11] Add support for sending the Load Long Term Keys commands Vinicius Costa Gomes
2012-01-18 22:34   ` Johan Hedberg
2012-01-17 23:28 ` [PATCH BlueZ 09/11] Add support for creating devices from the stored LTK's Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 10/11] Fix memory leak when loading keys Vinicius Costa Gomes
2012-01-17 23:28 ` [PATCH BlueZ 11/11] Remove the SMP Long Term Key when the device is removed Vinicius Costa Gomes
2012-01-18  7:17 ` [PATCH BlueZ 01/11] mgmt-api: Update the commands for exchanging LTK's Ganir, Chen
2012-01-18 10:40   ` Anderson Lizardo
2012-01-18 14:41     ` Ganir, Chen
2012-01-18 14:51       ` Anderson Lizardo
2012-01-18 17:12 ` [PATCH BlueZ 02/11] Add messages to the mgmt interface to handle SMP key storage Vinicius Costa Gomes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).