diff options
| author | 2026-10-15 11:37:52 -0400 | |
|---|---|---|
| committer | 2026-11-02 17:09:00 -0500 | |
| commit | fb1baa000d7a0b597ab9eb29b179b03e70e5f6ee (patch) | |
| tree | 11b59404bc8b1177524bd207a2be0228260b07c9 /scripts/Makefile.thinlto | |
| parent | ipv6: reject wrapped temporary address preferred lifetimes (diff) | |
Bluetooth: hci_sync: Fix invalid Supervision_Timeout in LE Set Default Rate
The LE Set Default Rate Parameters command is rejected with Invalid HCI
Command Parameters (0x12) because the Supervision_Timeout of 120 ms is
exactly the minimum recommended by HOGP v1.2:
Greater than or equal to (1 + Peripheral Latency) x Subrate max x
Connection Interval max x 2
But the Core spec treats the equality as invalid:
BLUETOOTH CORE SPECIFICATION Version 6.3 | Vol 4, Part E
7.8.158. LE Set Default Rate Parameters command
If Connection_Interval_Max x Subrate_Max x (Max_Latency + 1) is
greater than or equal to Supervision_Timeout x 40, the Controller
shall return the error code Invalid HCI Command Parameters (0x12).
With the current values 0x78 x 4 x 1 = 480 >= 0x0c x 40 = 480.
Fix this by using 2 s as the default Supervision_Timeout, which is 10x
lower than the 20 s used for non-SCI connections while still well above
the minimum required, and make sure it remains above the minimum in
case interval_max is raised to match the controller's minimum supported
connection interval.
Fixes: 2f8784cfe8a9 ("Bluetooth: Add support for Shorter Connection Interval (SCI) feature")
Assisted-by: OpenCode:claude-opus-5.5
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
