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)
commitbed68bde7ebdb591cc67921261307626c8f37936
tree67a920542cc82703bf00fffcca6ab03e69f0dba6
parente1fbd4c19a5c4d4f490d70e73745cf2cf0dc1955
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