From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> This set of patches enhances A2MP protocol and creates physical link between AMP controllers. This is further iteration towards Bluetooth High Speed. Changes: * p2: Remove HCI callbacks and use amp_mgr global list, refactor code. * p1: Fixed locking issues, added basic logical link preparation. * v3: Remove workqueue from callback processing; change callback functions names according to reviewers recommendations; create global amp_mgr_list to have lookup to amp manager, physical and logical links so for those HCI events which might be identified by __handler__ we have lookup; remove extensive hexdump from gen_amp_key. * v2: Fix typos and bugs, add functionality: now physical connection might be established. * v1: Fix typos, change debug prints, refactor code for better splitting functionality. Andrei Emeltchenko (21): Bluetooth: debug: Print refcnt for hci_dev Bluetooth: trivial: Remove empty line Bluetooth: Add HCI logical link cmds definitions Bluetooth: A2MP: Create amp_mgr global list Bluetooth: AMP: Use HCI cmd to Read AMP Info Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Bluetooth: A2MP: Process Discover Response Bluetooth: AMP: Physical link struct definitions Bluetooth: Add phylink lookup helper function Bluetooth: AMP: Remote AMP ctrl definitions Bluetooth: AMP: Use phylink in create/disc phylink req Bluetooth: A2MP: Process A2MP Getinfo Rsp Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Bluetooth: Choose connection based on capabilities Bluetooth: Close A2MP chan when deleting corr L2CAP chan Bluetooth: AMP: Add AMP key calculation Bluetooth: AMP: Create Physical Link Bluetooth: AMP: Write remote AMP Assoc Bluetooth: A2MP: Add fallback to normal l2cap init sequence Bluetooth: AMP: Process Chan Selected event Bluetooth: AMP: Process physical link complete event Dmitry Kasatkin (1): Bluetooth: Add function to derive AMP key using hmac include/net/bluetooth/a2mp.h | 23 +++ include/net/bluetooth/amp.h | 29 +++ include/net/bluetooth/hci.h | 39 +++- include/net/bluetooth/hci_core.h | 17 ++ include/net/bluetooth/l2cap.h | 2 + include/net/bluetooth/pal.h | 58 ++++++ net/bluetooth/Kconfig | 1 + net/bluetooth/Makefile | 2 +- net/bluetooth/a2mp.c | 421 +++++++++++++++++++++++++++++++++++--- net/bluetooth/amp.c | 156 ++++++++++++++ net/bluetooth/hci_core.c | 1 - net/bluetooth/hci_event.c | 156 +++++++++++++- net/bluetooth/l2cap_core.c | 44 +++- net/bluetooth/pal.c | 330 ++++++++++++++++++++++++++++++ 14 files changed, 1241 insertions(+), 38 deletions(-) create mode 100644 include/net/bluetooth/amp.h create mode 100644 include/net/bluetooth/pal.h create mode 100644 net/bluetooth/amp.c create mode 100644 net/bluetooth/pal.c -- 1.7.9.5 -- 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