]> git.baikalelectronics.ru Git - kernel.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)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:30 +0000 (01:40 -0300)
commit7c887ad2c3e705486f7773eda07fc483572bebb6
tree1bedbf322a6b1ded901dc00724e5f8c290098997
parentb184fdde5556e7a49f66f63ceca3be35e6903d35
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