Skip to content

Bluetooth: ERTM fixes and local busy enhancement

Mat Martineau linux-bluetooth 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6Bluetooth: Check earlier for L2CAP ERTM frames to dropnet/bluetooth/l2cap_core.c+3 -34 replies
2/6Bluetooth: Fix indentation whitespacenet/bluetooth/l2cap_core.c+6 -61 reply
3/6Bluetooth: ERTM timeouts need to be converted to jiffiesnet/bluetooth/l2cap_core.c+1 -11 reply
4/6Bluetooth: Move code for ERTM local busy state to separate functionsnet/bluetooth/l2cap_core.c+38 -240 replies
5/6Bluetooth: Use event-driven approach for handling ERTM receive bufferinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+93 -183 replies
6/6Bluetooth: Remove L2CAP busy queueinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+8 -1211 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Bluetooth: ERTM fixes and local busy enhancement

These patches fix various ERTM issues, mostly having to do with receiver-side handling of flow control (the "local busy" state). This new approach will not keep very much incoming data beyond what fits in the socket receive buffer, so memory use is more tightly controlled. When incoming data does not immediately fit in the socket buffer, the L2CAP socket layer will now only check for available space when the socket is read from instead of polling on a workqueue thread.

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