Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 27 Sep 2012 14:26:09 +0000 (17:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 27 Sep 2012 20:10:32 +0000 (17:10 -0300)
commit903e45411099ae8292f5ce637ad0c72f6fef61db
tree7e04801dc8623c17c415d1c14221682867be6389
parent8e2a0d92c56ec6955526a8b60838c9b00f70540d
Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc

When receiving A2MP Get AMP Assoc Request execute Read Local AMP Assoc
HCI command to AMP controller. If the AMP Assoc data is larger than it
can fit to HCI event only fragment is read. When all fragments are read
send A2MP Get AMP Assoc Response.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/a2mp.h
include/net/bluetooth/amp.h [new file with mode: 0644]
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/Makefile
net/bluetooth/a2mp.c
net/bluetooth/amp.c [new file with mode: 0644]
net/bluetooth/hci_event.c