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)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:30 +0000 (01:40 -0300)
commit3c588192b5e5328cdfc8e299c55477004d397208
tree1bedbf322a6b1ded901dc00724e5f8c290098997
parent9033894722ec595053c92bfa4359b37e7bc91b78
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