summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/a2mp.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-09-27 16:26:08 +0200
committerGustavo Padovan2012-09-27 22:10:18 +0200
commit8e2a0d92c56ec6955526a8b60838c9b00f70540d (patch)
treea8a8796ad17d8450a82e16c7ecc82d2a42f9cf0e /include/net/bluetooth/a2mp.h
parentBluetooth: A2MP: Create amp_mgr global list (diff)
downloadkernel-qcow2-linux-8e2a0d92c56ec6955526a8b60838c9b00f70540d.tar.gz
kernel-qcow2-linux-8e2a0d92c56ec6955526a8b60838c9b00f70540d.tar.xz
kernel-qcow2-linux-8e2a0d92c56ec6955526a8b60838c9b00f70540d.zip
Bluetooth: AMP: Use HCI cmd to Read AMP Info
When receiving A2MP Get Info Request execute Read Local AMP Info HCI command to AMP controller with function to be executed upon receiving command complete event. Function will handle A2MP Get Info Response. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/a2mp.h')
-rw-r--r--include/net/bluetooth/a2mp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h
index 316c1c803676..af594685112e 100644
--- a/include/net/bluetooth/a2mp.h
+++ b/include/net/bluetooth/a2mp.h
@@ -132,5 +132,7 @@ int amp_mgr_put(struct amp_mgr *mgr);
struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
struct sk_buff *skb);
struct amp_mgr *amp_mgr_lookup_by_state(u8 state);
+void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data);
+void a2mp_send_getinfo_rsp(struct hci_dev *hdev);
#endif /* __A2MP_H */