public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ bluez] bap: reduce ISO sync timeout to 2s
@ 2026-01-12  6:42 Yang Li via B4 Relay
  2026-01-12  7:50 ` [BlueZ,bluez] " bluez.test.bot
  2026-01-12 14:25 ` [PATCH BlueZ bluez] " Luiz Augusto von Dentz
  0 siblings, 2 replies; 9+ messages in thread
From: Yang Li via B4 Relay @ 2026-01-12  6:42 UTC (permalink / raw)
  To: Linux Bluetooth; +Cc: Yang Li

From: Yang Li <yang.li@amlogic.com>

The ISO sync timeout was previously set to 20 seconds,
which is too long for PA sync. This could leave the userspace
flow pending for an extended period of time.

Signed-off-by: Yang Li <yang.li@amlogic.com>
---
 lib/bluetooth/bluetooth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bluetooth/bluetooth.h b/lib/bluetooth/bluetooth.h
index f9f22c3f7..572009e75 100644
--- a/lib/bluetooth/bluetooth.h
+++ b/lib/bluetooth/bluetooth.h
@@ -152,7 +152,7 @@ struct bt_voice {
 #define BT_ISO_QOS_BIG_UNSET	0xff
 #define BT_ISO_QOS_BIS_UNSET	0xff
 
-#define BT_ISO_SYNC_TIMEOUT	0x07d0 /* 20 secs */
+#define BT_ISO_SYNC_TIMEOUT	0x00c8 /* 2 secs */
 
 /* For an ISO Broadcaster, this value is used to compute
  * the desired Periodic Advertising Interval as a function

---
base-commit: a94f994201a69a36753abda65cc51937de9cd3e3
change-id: 20260112-iso_sync_timeout-8e3ecf43d82e

Best regards,
-- 
Yang Li <yang.li@amlogic.com>



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-20 14:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12  6:42 [PATCH BlueZ bluez] bap: reduce ISO sync timeout to 2s Yang Li via B4 Relay
2026-01-12  7:50 ` [BlueZ,bluez] " bluez.test.bot
2026-01-12 14:25 ` [PATCH BlueZ bluez] " Luiz Augusto von Dentz
2026-01-15  9:41   ` Yang Li
2026-01-20 21:05     ` Luiz Augusto von Dentz
2026-01-21  7:26       ` Yang Li
2026-01-21 17:52         ` Luiz Augusto von Dentz
2026-01-22  3:27           ` Yang Li
2026-02-20 14:19             ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox