aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorMat Martineau <mathewm@codeaurora.org>2012-05-17 23:53:38 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:03 -0400
commitf5dbb0772df3feb2bb5eda8a9f0e0acdeb25653f (patch)
treef533909d89af56e6abd9cf1a4ab95a8791162372 /include/net/bluetooth/l2cap.h
parent4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 (diff)
Bluetooth: Remove receive code that has been superceded
This deletes the receive code that had handlers for each frame type at the top level, and then had logic to determine the receive state within each handler. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 452fcc4c0fff..7d1da5a7d11e 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -419,11 +419,6 @@ struct l2cap_seq_list {
419#define L2CAP_SEQ_LIST_CLEAR 0xFFFF 419#define L2CAP_SEQ_LIST_CLEAR 0xFFFF
420#define L2CAP_SEQ_LIST_TAIL 0x8000 420#define L2CAP_SEQ_LIST_TAIL 0x8000
421 421
422struct srej_list {
423 __u16 tx_seq;
424 struct list_head list;
425};
426
427struct l2cap_chan { 422struct l2cap_chan {
428 struct sock *sk; 423 struct sock *sk;
429 424
@@ -475,14 +470,12 @@ struct l2cap_chan {
475 __u16 expected_ack_seq; 470 __u16 expected_ack_seq;
476 __u16 expected_tx_seq; 471 __u16 expected_tx_seq;
477 __u16 buffer_seq; 472 __u16 buffer_seq;
478 __u16 buffer_seq_srej;
479 __u16 srej_save_reqseq; 473 __u16 srej_save_reqseq;
480 __u16 last_acked_seq; 474 __u16 last_acked_seq;
481 __u16 frames_sent; 475 __u16 frames_sent;
482 __u16 unacked_frames; 476 __u16 unacked_frames;
483 __u8 retry_count; 477 __u8 retry_count;
484 __u16 srej_queue_next; 478 __u16 srej_queue_next;
485 __u8 num_acked;
486 __u16 sdu_len; 479 __u16 sdu_len;
487 struct sk_buff *sdu; 480 struct sk_buff *sdu;
488 struct sk_buff *sdu_last_frag; 481 struct sk_buff *sdu_last_frag;
@@ -515,7 +508,6 @@ struct l2cap_chan {
515 struct sk_buff_head srej_q; 508 struct sk_buff_head srej_q;
516 struct l2cap_seq_list srej_list; 509 struct l2cap_seq_list srej_list;
517 struct l2cap_seq_list retrans_list; 510 struct l2cap_seq_list retrans_list;
518 struct list_head srej_l;
519 511
520 struct list_head list; 512 struct list_head list;
521 struct list_head global_l; 513 struct list_head global_l;