Skip to content

RFC RFC A2MP implementation

Emeltchenko Andrei linux-bluetooth 1 version In review

Get series with b4
b4 am 1320242568-372-1-git-send-email-Andrei.Emeltchenko.news@gmail.com

Versions newest first

  1. v0 RFC Latest20 patches 2 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20Bluetooth: A2MP: create A2MP socketinclude/net/bluetooth/l2cap.h net/bluetooth/a2mp.c net/bluetooth/l2cap_core.c+99 -10 replies
2/20Bluetooth: A2MP: sk_data_ready for a2mp socketinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c+63 -00 replies
3/20Bluetooth: A2MP: sk_state_change for a2mp socketinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c+33 -00 replies
4/20Bluetooth: A2MP: build and send msg helpersinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c+53 -00 replies
5/20Bluetooth: A2MP: AMP Manager basic functionsinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c+71 -00 replies
6/20Bluetooth: A2MP: Remove AMP manager in state_changenet/bluetooth/a2mp.c+13 -10 replies
7/20Bluetooth: A2MP: AMP manager initializationinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c net/bluetooth/l2cap_core.c+25 -00 replies
8/20Bluetooth: A2MP: Definitions for A2MP commandsinclude/net/bluetooth/a2mp.h+72 -00 replies
9/20Bluetooth: A2MP: process A2MP messagesnet/bluetooth/a2mp.c+56 -10 replies
10/20Bluetooth: A2MP: processing A2MP command rejectnet/bluetooth/a2mp.c+19 -00 replies
11/20Bluetooth: A2MP: helper functions to count HCI devsinclude/net/bluetooth/hci_core.h net/bluetooth/a2mp.c+41 -00 replies
12/20Bluetooth: A2MP: process A2MP Discover Requestinclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c+57 -00 replies
13/20Bluetooth: A2MP: process A2MP Change Notifynet/bluetooth/a2mp.c+19 -00 replies
14/20Bluetooth: A2MP: process A2MP Get Info Requestnet/bluetooth/a2mp.c+37 -00 replies
15/20Bluetooth: A2MP: process A2MP Get AMP Assoc Requestnet/bluetooth/a2mp.c+20 -00 replies
16/20Bluetooth: A2MP: process A2MP Create Physlink Requestnet/bluetooth/a2mp.c+19 -00 replies
17/20Bluetooth: A2MP: process A2MP Disc Physlink Requestnet/bluetooth/a2mp.c+42 -00 replies
18/20Bluetooth: A2MP: process A2MP Command Responsesnet/bluetooth/a2mp.c+12 -00 replies
19/20Bluetooth: A2MP: handling fixed channelinclude/net/bluetooth/l2cap.h net/bluetooth/a2mp.c net/bluetooth/l2cap_core.c+47 -170 replies
20/20Bluetooth: A2MP: manage incoming connectioninclude/net/bluetooth/a2mp.h net/bluetooth/a2mp.c net/bluetooth/l2cap_core.c+49 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.

Read the v0 thread

Cover letter [RFCv0 00/20] RFC A2MP implementation

From: Andrei Emeltchenko <[email protected]>

RFC meant to indicate our current development status.

Code based on Code Aurora (git://codeaurora.org/kernel/msm.git) and Atheros (search for: [PATCH 2/3] Add a2mp protocol/AMP manager, by Atheros Linux BT3) implementations (mostly Code Aurora). Main difference to the original code is
- code rebase against recent bluetooth-next
- rewritten way to send A2MP msgs
- handling fixed channel modifications
- I was trying to separate AMP vs A2MP name usage. AMP is used for "Alternate MAC PHY" controller, A2MP for "AMP Manager Protocol".
- fixes related to PTS beta A2MP tests

Andrei Emeltchenko (20):
Bluetooth: A2MP: create A2MP socket
Bluetooth: A2MP: sk_data_ready for a2mp socket
Bluetooth: A2MP: sk_state_change for a2mp socket
Bluetooth: A2MP: build and send msg helpers
Bluetooth: A2MP: AMP Manager basic functions
Bluetooth: A2MP: Remove AMP manager in state_change
Bluetooth: A2MP: AMP manager initialization
Bluetooth: A2MP: Definitions for A2MP commands
Bluetooth: A2MP: process A2MP messages
Bluetooth: A2MP: processing A2MP command reject
Bluetooth: A2MP: helper functions to count HCI devs
Bluetooth: A2MP: process A2MP Discover Request
Bluetooth: A2MP: process A2MP Change Notify
Bluetooth: A2MP: process A2MP Get Info Request
Bluetooth: A2MP: process A2MP Get AMP Assoc Request
Bluetooth: A2MP: process A2MP Create Physlink Request
Bluetooth: A2MP: process A2MP Disc Physlink Request
Bluetooth: A2MP: process A2MP Command Responses
Bluetooth: A2MP: handling fixed channel
Bluetooth: A2MP: manage incoming connection

 include/net/bluetooth/a2mp.h     |  135 ++++++++
 include/net/bluetooth/hci_core.h |   14 +
 include/net/bluetooth/l2cap.h    |    5 +
 net/bluetooth/a2mp.c             |  630 ++++++++++++++++++++++++++++++++++++++
 net/bluetooth/l2cap_core.c       |   81 ++++--
 5 files changed, 845 insertions(+), 20 deletions(-)
 create mode 100644 include/net/bluetooth/a2mp.h
 create mode 100644 net/bluetooth/a2mp.c
Signature · 1 line
1.7.4.1