* [bluez/bluez] 1b39ef: profile: Set L2CAP IMTU for external profile liste...
@ 2026-06-02 6:18 github-actions[bot]
0 siblings, 0 replies; only message in thread
From: github-actions[bot] @ 2026-06-02 6:18 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1104327
Home: https://github.com/bluez/bluez
Commit: 1b39efe9c30d37330412342b59bce41297d68799
https://github.com/bluez/bluez/commit/1b39efe9c30d37330412342b59bce41297d68799
Author: Wei Deng <wei.deng@oss.qualcomm.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths:
M src/profile.c
Log Message:
-----------
profile: Set L2CAP IMTU for external profile listeners
bt_io_listen() in ext_start_servers() creates the L2CAP listening
socket for external profiles without an explicit IMTU. This causes
the socket to use the L2CAP minimum of 672 bytes, which is advertised
to the peer in L2CAP_CONFIGURATION_RSP.
As a result, when acting as a server (receiver), the peer limits its
outgoing PDU size to our advertised 672 bytes. This leads to small
OBEX body chunks (~669 bytes) and severely degraded Rx throughput,
while Tx throughput is unaffected since the peer's IMTU is not
constrained by our setting.
The obexd client side (obexd/client/bluetooth.c) already sets IMTU to
BT_RX_MTU (32767) for outgoing connections. Mirror that on the server
side by setting BT_IO_OPT_IMTU to BT_RX_MTU in ext_start_servers(),
so incoming connections advertise the same maximum receive capability.
Signed-off-by: Wei Deng <wei.deng@oss.qualcomm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-02 6:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02 6:18 [bluez/bluez] 1b39ef: profile: Set L2CAP IMTU for external profile liste github-actions[bot]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox