Re: [PATCH 0/4] Bluetooth: Convert SMP to use l2cap_chan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> With this patches we do the initial conversion of SMP to use l2cap_chan
> and its related callbacks. There are many more simplifications possible
> after this, but to keep the conversion minimal I haven't done those yet.
> To keep the code compiling and functional between each patch the code
> that introduces the initial callbacks uses a custom 0x1f CID not to
> intefere with the legacy SMP CID handling. Only in the last patch which
> adds fully functional SMP handling through l2cap_chan is this custom CID
> converted back to the proper L2CAP_CID_SMP.
> 
> Johan
> 
> ----------------------------------------------------------------
> Johan Hedberg (4):
>      Bluetooth: Add more L2CAP convenience callbacks
>      Bluetooth: Add SMP L2CAP channel skeleton
>      Bluetooth: Make AES crypto context private to SMP
>      Bluetooth: Convert SMP to use l2cap_chan infrastructure
> 
> include/net/bluetooth/hci_core.h |   2 +-
> include/net/bluetooth/l2cap.h    |  27 +++-
> net/bluetooth/hci_core.c         |  13 +-
> net/bluetooth/l2cap_core.c       |  10 --
> net/bluetooth/smp.c              | 280 +++++++++++++++++++++++++++--------
> net/bluetooth/smp.h              |   6 +-
> 6 files changed, 248 insertions(+), 90 deletions(-)

all 4 patches have been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux