]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add timer to Acknowledge I-frames
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:39 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:48 +0000 (09:28 +0200)
commit982c86343681c0880424cb54a1ee12cbe61fec02
tree3244f14f00eb6a227e52b2a8ddd7063ef0961840
parentc484baeb380138fb361f062ad50cab84433cf6fa
Bluetooth: Add timer to Acknowledge I-frames

We ack I-frames on each txWindow/5 I-frames received, but if the sender
stop to send I-frames and it's not a txWindow multiple we can leave some
frames unacked.
So I added a timer to ack I-frames on this case. The timer expires in
200ms.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c