Bluetooth: Convert SMP to use l2cap_chan
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Bluetooth: Add more L2CAP convenience callbacksinclude/ | +25 | 0 replies | |
| 2/4 | Bluetooth: Add SMP L2CAP channel skeletoninclude/ include/ net/ | +132 | 0 replies | |
| 3/4 | Bluetooth: Make AES crypto context private to SMPinclude/ net/ net/ +1 more | +32 | 0 replies | |
| 4/4 | Bluetooth: Convert SMP to use l2cap_chan infrastructureinclude/ net/ net/ +1 more | +66 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Bluetooth: Convert SMP to use l2cap_chan
Hi,
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(-)