Skip to contentSkip to conversation

bap: reduce ISO sync timeout to 3.6 secs

PATCH In review Yang Li 2 participants 2 messages Jan 21 Bluetooth drivers

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH v2 1/1 bap: reduce ISO sync timeout to 3.6 secs

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.

---
Changes in v2:
- Modified the BT_ISO_SYNC_TIMEOUT to 0x0168 (3.6 secs)
- Link to v1: https://patch.msgid.link/[email protected]

---
 lib/bluetooth/bluetooth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bluetooth/bluetooth.h +1 -1
index f9f22c3f7..b9ea34847 100644
@@ -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,

Signature · 1 line
Yang Li <[email protected]>
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1044931

---Test result---

Test Summary:

CheckPatch                    PENDING   0.30 seconds
GitLint                       PENDING   0.28 seconds
BuildEll                      PASS      20.08 seconds
BluezMake                     PASS      666.26 seconds
MakeCheck                     PASS      18.18 seconds
MakeDistcheck                 PASS      243.26 seconds
CheckValgrind                 PASS      293.93 seconds
CheckSmatch                   PASS      351.37 seconds
bluezmakeextell               PASS      183.83 seconds
IncrementalBuild              PENDING   0.27 seconds
ScanBuild                     PASS      1020.22 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth