aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>2009-08-20 21:25:59 -0400
committerMarcel Holtmann <marcel@holtmann.org>2009-08-22 17:55:20 -0400
commit30afb5b2aa83adf4f69e5090d48e1bb04b64c58a (patch)
treef47506c5f02b8e1d23123cadee49f518c928afa5 /include/net
parentc74e560cd0101455f1889515e1527e4c2e266113 (diff)
Bluetooth: Initial support for retransmission of packets with REJ frames
When receiving an I-frame with unexpected txSeq, receiver side start the recovery procedure by sending a REJ S-frame to the transmitter side. So the transmitter can re-send the lost I-frame. This patch just adds a basic support for retransmission, it doesn't mean that ERTM now has full support for packet retransmission. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 0afde8d22b56..a1d8ec468ef3 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -351,6 +351,7 @@ struct l2cap_pinfo {
351#define L2CAP_CONF_MAX_CONF_RSP 2 351#define L2CAP_CONF_MAX_CONF_RSP 2
352 352
353#define L2CAP_CONN_SAR_SDU 0x01 353#define L2CAP_CONN_SAR_SDU 0x01
354#define L2CAP_CONN_UNDER_REJ 0x02
354 355
355static inline int l2cap_tx_window_full(struct sock *sk) 356static inline int l2cap_tx_window_full(struct sock *sk)
356{ 357{