diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-05-29 06:59:17 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-04 23:34:14 -0400 |
commit | 97e8e89d2d8185b7644c9941636d3682eedc517b (patch) | |
tree | b9db250da912d6185c03f2a93145ef9f69d4c32a /include | |
parent | 416fa7527d6bf658e5517ea36d2de9270be2c11e (diff) |
Bluetooth: A2MP: Manage incoming connections
Handle incoming A2MP connection by creating AMP manager and
processing A2MP messages.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/a2mp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h index 96f9cc2cf59b..6a76e0a0705e 100644 --- a/include/net/bluetooth/a2mp.h +++ b/include/net/bluetooth/a2mp.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef __A2MP_H | 15 | #ifndef __A2MP_H |
16 | #define __A2MP_H | 16 | #define __A2MP_H |
17 | 17 | ||
18 | #include <net/bluetooth/l2cap.h> | ||
19 | |||
18 | #define A2MP_FEAT_EXT 0x8000 | 20 | #define A2MP_FEAT_EXT 0x8000 |
19 | 21 | ||
20 | struct amp_mgr { | 22 | struct amp_mgr { |
@@ -118,5 +120,7 @@ struct a2mp_physlink_rsp { | |||
118 | 120 | ||
119 | void amp_mgr_get(struct amp_mgr *mgr); | 121 | void amp_mgr_get(struct amp_mgr *mgr); |
120 | int amp_mgr_put(struct amp_mgr *mgr); | 122 | int amp_mgr_put(struct amp_mgr *mgr); |
123 | struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, | ||
124 | struct sk_buff *skb); | ||
121 | 125 | ||
122 | #endif /* __A2MP_H */ | 126 | #endif /* __A2MP_H */ |