]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Add the l2cap_seq_list structure for tracking frames
authorMat Martineau <mathewm@codeaurora.org>
Wed, 11 Apr 2012 17:48:42 +0000 (10:48 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Apr 2012 20:35:36 +0000 (22:35 +0200)
commit75b5dfd03c7a0789288d3c60921f99a0ba4de8f2
treecf4ae1f5e1b2f5108da69a7526e6c2282be98a37
parent7a66323d56690746af189818b42bc00e5332ef6c
Bluetooth: Add the l2cap_seq_list structure for tracking frames

A sequence list is a data structure used to track frames that need to
be retransmitted, and frames that have been requested for
retransmission by the remote device.  It can compactly represent a
list of sequence numbers within the ERTM transmit window.  Memory for
the list is allocated once at connection time, and common operations
in ERTM are O(1).

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c