Bluetooth: Add support for Retransmission and Monitor Timers
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Fri, 21 Aug 2009 01:26:00 +0000 (22:26 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:56:15 +0000 (14:56 -0700)
commite90bac061b17cd81bd0df30606c64f4543bf5ca0
tree3529111fa5ba07bdd8ed9627d10d623f77416ace
parent30afb5b2aa83adf4f69e5090d48e1bb04b64c58a
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>
include/net/bluetooth/bluetooth.h
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c