Thread (6 messages) flat view 6 messages, 2 authors, 2014-02-27
STALE4577d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 0/4] Bluetooth: Fix initiator/responder addresses for SMP

From: <hidden>
Date: 2014-02-27 12:05:39

Hi,

I'm presenting this patch set as an alternative to the two patches from
Marcel. The main difference is that we trade some more complexity during
the connection creation phase with less complexity in looking up the
values in SMP when the time comes for calling the smp_c1 function.

One source of extra complexity is the attempt to handle the case of
whitelist initiated connections. Since we do not use those I'm not
completely sure it's worth to have code for it. If the handling is not
needed patch 3/4 gets a bit simpler and patch 2/4 can potentially be
dropped (I added that new function mainly to make 3/4 actually readable
with this extra whitelist handling logic).

Johan

----------------------------------------------------------------
Johan Hedberg (4):
      Bluetooth: Add tracking of advertising address type
      Bluetooth: Add hci_copy_identity_address convenience function
      Bluetooth: Track LE initiator and responder address information
      Bluetooth: Use hdev->init/resp_addr values for smp_c1 function

 include/net/bluetooth/hci_core.h |   7 +++
 net/bluetooth/hci_core.c         |  35 ++++++++---
 net/bluetooth/hci_event.c        | 114 ++++++++++++++++++++++++++++++-----
 net/bluetooth/smp.c              |  22 ++-----
 4 files changed, 136 insertions(+), 42 deletions(-)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help