diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-13 14:57:03 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-27 17:51:35 -0400 |
commit | 47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1 (patch) | |
tree | 7f7c5288d420cf84cf38ba55ca36bcc052066e92 /include/net/bluetooth/l2cap.h | |
parent | 4343478f3a4806394136d8141b2e451aa5443f03 (diff) |
Bluetooth: Move more vars to struct l2cap_chan
In this commit all ERTM and Streaming Mode specific vars.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 684deee6ec52..02db90210f8d 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -297,6 +297,14 @@ struct l2cap_chan { | |||
297 | __u8 num_conf_req; | 297 | __u8 num_conf_req; |
298 | __u8 num_conf_rsp; | 298 | __u8 num_conf_rsp; |
299 | 299 | ||
300 | __u8 fcs; | ||
301 | |||
302 | __u8 tx_win; | ||
303 | __u8 max_tx; | ||
304 | __u16 retrans_timeout; | ||
305 | __u16 monitor_timeout; | ||
306 | __u16 mps; | ||
307 | |||
300 | __u8 conf_state; | 308 | __u8 conf_state; |
301 | __u16 conn_state; | 309 | __u16 conn_state; |
302 | 310 | ||
@@ -376,14 +384,6 @@ struct l2cap_pinfo { | |||
376 | __u16 flush_to; | 384 | __u16 flush_to; |
377 | __u8 mode; | 385 | __u8 mode; |
378 | 386 | ||
379 | __u8 fcs; | ||
380 | |||
381 | __u8 tx_win; | ||
382 | __u8 max_tx; | ||
383 | __u16 retrans_timeout; | ||
384 | __u16 monitor_timeout; | ||
385 | __u16 mps; | ||
386 | |||
387 | __le16 sport; | 387 | __le16 sport; |
388 | 388 | ||
389 | struct l2cap_conn *conn; | 389 | struct l2cap_conn *conn; |
@@ -452,7 +452,7 @@ int __l2cap_wait_ack(struct sock *sk); | |||
452 | 452 | ||
453 | struct sk_buff *l2cap_create_connless_pdu(struct sock *sk, struct msghdr *msg, size_t len); | 453 | struct sk_buff *l2cap_create_connless_pdu(struct sock *sk, struct msghdr *msg, size_t len); |
454 | struct sk_buff *l2cap_create_basic_pdu(struct sock *sk, struct msghdr *msg, size_t len); | 454 | struct sk_buff *l2cap_create_basic_pdu(struct sock *sk, struct msghdr *msg, size_t len); |
455 | struct sk_buff *l2cap_create_iframe_pdu(struct sock *sk, struct msghdr *msg, size_t len, u16 control, u16 sdulen); | 455 | struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len, u16 control, u16 sdulen); |
456 | int l2cap_sar_segment_sdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len); | 456 | int l2cap_sar_segment_sdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len); |
457 | void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb); | 457 | void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb); |
458 | void l2cap_streaming_send(struct l2cap_chan *chan); | 458 | void l2cap_streaming_send(struct l2cap_chan *chan); |