aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>2009-08-20 22:26:00 -0300
committerMarcel Holtmann <marcel@holtmann.org>2009-08-22 14:56:15 -0700
commite90bac061b17cd81bd0df30606c64f4543bf5ca0 (patch)
tree3529111fa5ba07bdd8ed9627d10d623f77416ace /include/net/bluetooth/bluetooth.h
parent30afb5b2aa83adf4f69e5090d48e1bb04b64c58a (diff)
downloadmrst-s0i3-test-e90bac061b17cd81bd0df30606c64f4543bf5ca0.tar.gz
mrst-s0i3-test-e90bac061b17cd81bd0df30606c64f4543bf5ca0.tar.xz
mrst-s0i3-test-e90bac061b17cd81bd0df30606c64f4543bf5ca0.zip
Bluetooth: Add support for Retransmission and Monitor Timers
L2CAP uses retransmission and monitor timers to inquiry the other side about unacked I-frames. After sending each I-frame we (re)start the retransmission timer. If it expires, we start a monitor timer that send a S-frame with P bit set and wait for S-frame with F bit set. If monitor timer expires, try again, at a maximum of L2CAP_DEFAULT_MAX_TX. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r--include/net/bluetooth/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 65a5cf868fd..b8b9a847952 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -139,6 +139,7 @@ struct bt_skb_cb {
__u8 pkt_type;
__u8 incoming;
__u8 tx_seq;
+ __u8 retries;
};
#define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb))