diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/a2mp.h | 3 | ||||
-rw-r--r-- | include/net/bluetooth/amp.h | 2 | ||||
-rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h index 9fda7c94913f..e776ab2dc572 100644 --- a/include/net/bluetooth/a2mp.h +++ b/include/net/bluetooth/a2mp.h | |||
@@ -22,6 +22,7 @@ | |||
22 | enum amp_mgr_state { | 22 | enum amp_mgr_state { |
23 | READ_LOC_AMP_INFO, | 23 | READ_LOC_AMP_INFO, |
24 | READ_LOC_AMP_ASSOC, | 24 | READ_LOC_AMP_ASSOC, |
25 | READ_LOC_AMP_ASSOC_FINAL, | ||
25 | }; | 26 | }; |
26 | 27 | ||
27 | struct amp_mgr { | 28 | struct amp_mgr { |
@@ -134,6 +135,7 @@ extern struct mutex amp_mgr_list_lock; | |||
134 | 135 | ||
135 | void amp_mgr_get(struct amp_mgr *mgr); | 136 | void amp_mgr_get(struct amp_mgr *mgr); |
136 | int amp_mgr_put(struct amp_mgr *mgr); | 137 | int amp_mgr_put(struct amp_mgr *mgr); |
138 | u8 __next_ident(struct amp_mgr *mgr); | ||
137 | struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, | 139 | struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, |
138 | struct sk_buff *skb); | 140 | struct sk_buff *skb); |
139 | struct amp_mgr *amp_mgr_lookup_by_state(u8 state); | 141 | struct amp_mgr *amp_mgr_lookup_by_state(u8 state); |
@@ -141,5 +143,6 @@ void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data); | |||
141 | void a2mp_discover_amp(struct l2cap_chan *chan); | 143 | void a2mp_discover_amp(struct l2cap_chan *chan); |
142 | void a2mp_send_getinfo_rsp(struct hci_dev *hdev); | 144 | void a2mp_send_getinfo_rsp(struct hci_dev *hdev); |
143 | void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); | 145 | void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); |
146 | void a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status); | ||
144 | 147 | ||
145 | #endif /* __A2MP_H */ | 148 | #endif /* __A2MP_H */ |
diff --git a/include/net/bluetooth/amp.h b/include/net/bluetooth/amp.h index 8f8032965eaf..70496c07afaa 100644 --- a/include/net/bluetooth/amp.h +++ b/include/net/bluetooth/amp.h | |||
@@ -37,6 +37,8 @@ int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); | |||
37 | void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr); | 37 | void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr); |
38 | void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle); | 38 | void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle); |
39 | void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); | 39 | void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); |
40 | void amp_read_loc_assoc_final_data(struct hci_dev *hdev, | ||
41 | struct hci_conn *hcon); | ||
40 | void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, | 42 | void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, |
41 | struct hci_conn *hcon); | 43 | struct hci_conn *hcon); |
42 | void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle); | 44 | void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle); |
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 0967f9e33750..ab58b81fb7c5 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -508,6 +508,8 @@ struct l2cap_chan { | |||
508 | __u32 remote_acc_lat; | 508 | __u32 remote_acc_lat; |
509 | __u32 remote_flush_to; | 509 | __u32 remote_flush_to; |
510 | 510 | ||
511 | __u8 ctrl_id; | ||
512 | |||
511 | struct delayed_work chan_timer; | 513 | struct delayed_work chan_timer; |
512 | struct delayed_work retrans_timer; | 514 | struct delayed_work retrans_timer; |
513 | struct delayed_work monitor_timer; | 515 | struct delayed_work monitor_timer; |