]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Send SREJ frames when packets go missing
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:44 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:04 +0000 (06:34 +0300)
commit6827ed2970f1d7f7d0c768f7fe9bba3580986da4
tree67a920542cc82703bf00fffcca6ab03e69f0dba6
parentaa85e4c7b38555d477e7a48190aa65a7cc10c32e
Bluetooth: Send SREJ frames when packets go missing

The ERTM specification lays out three scenarios for sending SREJ
frames to request retransmission of specific frames.  l2cap_send_srej
requests all frames up to a given txseq that are not already queued
for reassembly.  l2cap_send_srej_tail only requests the most recent
missing frame.  l2cap_send_srej_list resends SREJ frames for data that
was requested for resend but never received.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c