Re: [PATCH 4/4] Bluetooth: add a timer to L2CAP MSG_MORE code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 11 May 2012, Gustavo Padovan wrote:

There is now a 200 milliseconds limit for which L2CAP will wait for
which L2CAP will wait before send the already queued data to the
controller.

Signed-off-by: Gustavo Padovan <gustavo@xxxxxxxxxxx>

A timeout like this makes sense with a streaming protocol, but not with a datagram protocol like L2CAP. The application could be waiting on file I/O (especially on a flash filesystem), be waiting for another blocking call to return, or another resource-intensive application could be hogging the processor for a short time. If an incomplete SDU gets sent out because of a timeout like this, the profile on the other side will see it as corrupt. Better to keep the queued data indefinitely.

--
Mat Martineau
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux