aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>2009-08-20 21:26:04 -0400
committerMarcel Holtmann <marcel@holtmann.org>2009-08-22 18:03:43 -0400
commitef54fd937fbd5ebaeb023818524565bd526a5f36 (patch)
treec664288f00548b8c531ff44a0bc8c7f18542740e /include
parent8f17154f1f70fcc6faa31ac82164fcf7f0599f38 (diff)
Bluetooth: Full support for receiving L2CAP SREJ frames
Support for receiving of SREJ frames as specified by the state table. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/l2cap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 9f2126a4f6f..7ca614ac5d4 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -328,6 +328,7 @@ struct l2cap_pinfo {
328 __u8 expected_tx_seq; 328 __u8 expected_tx_seq;
329 __u8 buffer_seq; 329 __u8 buffer_seq;
330 __u8 buffer_seq_srej; 330 __u8 buffer_seq_srej;
331 __u8 srej_save_reqseq;
331 __u8 unacked_frames; 332 __u8 unacked_frames;
332 __u8 retry_count; 333 __u8 retry_count;
333 __u8 num_to_ack; 334 __u8 num_to_ack;
@@ -370,6 +371,8 @@ struct l2cap_pinfo {
370#define L2CAP_CONN_SAR_SDU 0x01 371#define L2CAP_CONN_SAR_SDU 0x01
371#define L2CAP_CONN_SREJ_SENT 0x02 372#define L2CAP_CONN_SREJ_SENT 0x02
372#define L2CAP_CONN_WAIT_F 0x04 373#define L2CAP_CONN_WAIT_F 0x04
374#define L2CAP_CONN_SREJ_ACT 0x08
375#define L2CAP_CONN_SEND_PBIT 0x10
373 376
374#define __mod_retrans_timer() mod_timer(&l2cap_pi(sk)->retrans_timer, \ 377#define __mod_retrans_timer() mod_timer(&l2cap_pi(sk)->retrans_timer, \
375 jiffies + msecs_to_jiffies(L2CAP_DEFAULT_RETRANS_TO)); 378 jiffies + msecs_to_jiffies(L2CAP_DEFAULT_RETRANS_TO));