diff options
author | Gustavo F. Padovan <gustavo@las.ic.unicamp.br> | 2009-10-03 02:34:38 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-03 19:34:23 +0100 |
commit | 9f121a5a80b4417c6db5a35e26d2e79c29c3fc0d (patch) | |
tree | 8e01df10e3e640c0f76b4c3f380db351543900bb /net/compat.c | |
parent | 889a3ca466018ab68363c3168993793bc2d984f1 (diff) | |
download | linux-stable-9f121a5a80b4417c6db5a35e26d2e79c29c3fc0d.tar.gz linux-stable-9f121a5a80b4417c6db5a35e26d2e79c29c3fc0d.tar.bz2 linux-stable-9f121a5a80b4417c6db5a35e26d2e79c29c3fc0d.zip |
Bluetooth: Fix sending ReqSeq on I-frames
As specified by ERTM spec an ERTM channel can acknowledge received
I-frames(the data frames) by sending an I-frame with the proper ReqSeq
value (i.e. ReqSeq is set to BufferSeq). Until now we aren't setting the
ReqSeq value on I-frame control bits. That way we can save sending
S-frames(Supervise frames) only to acknowledge receipt of I-frames. It
is very helpful to the full-duplex channel.
ReqSeq is the packet sequence number sent in an acknowledgement frame to
acknowledge receipt of frames up to (ReqSeq - 1).
BufferSeq controls the receiver buffer, it is used to delay
acknowledgement of new frames to not cause buffer overflow. BufferSeq
value is not increased until frames are pulled by reassembly function.
Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions