diff options
author | Gustavo F. Padovan <gustavo@las.ic.unicamp.br> | 2009-08-21 05:26:00 +0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-23 01:56:15 +0400 |
commit | e90bac061b17cd81bd0df30606c64f4543bf5ca0 (patch) | |
tree | 3529111fa5ba07bdd8ed9627d10d623f77416ace /include/net/bluetooth/bluetooth.h | |
parent | 30afb5b2aa83adf4f69e5090d48e1bb04b64c58a (diff) | |
download | linux-e90bac061b17cd81bd0df30606c64f4543bf5ca0.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 65a5cf868fd6..b8b9a8479525 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)) |