From: Yang Li via B4 Relay <devnull+yang.li.amlogic.com@kernel.org>
To: Linux Bluetooth <linux-bluetooth@vger.kernel.org>
Cc: Yang Li <yang.li@amlogic.com>
Subject: [PATCH BlueZ bluez v2] bap: reduce ISO sync timeout to 3.6 secs
Date: Wed, 21 Jan 2026 10:13:09 +0800 [thread overview]
Message-ID: <20260121-iso_sync_timeout-v2-1-efa52fdba244@amlogic.com> (raw)
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>
---
Changes in v2:
- Modified the BT_ISO_SYNC_TIMEOUT to 0x0168 (3.6 secs)
- Link to v1: https://patch.msgid.link/20260112-iso_sync_timeout-v1-1-9a3e99259a3f@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..b9ea34847 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 0x0168 /* 3.6 secs */
/* For an ISO Broadcaster, this value is used to compute
* the desired Periodic Advertising Interval as a function
---
base-commit: c24f0b487ca3d4e0ca315114a889dad4d2c3bb26
change-id: 20260112-iso_sync_timeout-8e3ecf43d82e
Best regards,
--
Yang Li <yang.li@amlogic.com>
next reply other threads:[~2026-01-21 2:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 2:13 Yang Li via B4 Relay [this message]
2026-01-21 4:11 ` [BlueZ,bluez,v2] bap: reduce ISO sync timeout to 3.6 secs bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260121-iso_sync_timeout-v2-1-efa52fdba244@amlogic.com \
--to=devnull+yang.li.amlogic.com@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=yang.li@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox