diff options
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 262ebd1747d4..f2c8bdf08061 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -215,6 +215,18 @@ void bt_accept_unlink(struct sock *sk); | |||
215 | struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock); | 215 | struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock); |
216 | 216 | ||
217 | /* Skb helpers */ | 217 | /* Skb helpers */ |
218 | struct l2cap_ctrl { | ||
219 | unsigned int sframe : 1, | ||
220 | poll : 1, | ||
221 | final : 1, | ||
222 | fcs : 1, | ||
223 | sar : 2, | ||
224 | super : 2; | ||
225 | __u16 reqseq; | ||
226 | __u16 txseq; | ||
227 | __u8 retries; | ||
228 | }; | ||
229 | |||
218 | struct bt_skb_cb { | 230 | struct bt_skb_cb { |
219 | __u8 pkt_type; | 231 | __u8 pkt_type; |
220 | __u8 incoming; | 232 | __u8 incoming; |
@@ -223,6 +235,7 @@ struct bt_skb_cb { | |||
223 | __u8 retries; | 235 | __u8 retries; |
224 | __u8 sar; | 236 | __u8 sar; |
225 | __u8 force_active; | 237 | __u8 force_active; |
238 | struct l2cap_ctrl control; | ||
226 | }; | 239 | }; |
227 | #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) | 240 | #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) |
228 | 241 | ||