]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6593c169de5b45f5a298c23caa35f2dc807ace53
tree7e04801dc8623c17c415d1c14221682867be6389
parentcc3886e71f09ea2851ebeed885bca4672b6089d3
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