Skip to contentSkip to conversation

Bluetooth: Change initial min and max interval

PATCH In review [email protected] 2 participants 2 messages Feb 23, 2017 – Mar 27, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: Change initial min and max interval

From: Jonas Holmberg <[email protected]>

Use the initial connection interval recommended in Bluetooth Specification v4.2 (30ms - 50ms).

---
 net/bluetooth/hci_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/bluetooth/hci_core.c +2 -2
index 3ac89e9..0568677 100644
@@ -2950,8 +2950,8 @@ struct hci_dev *hci_alloc_dev(void)
 	hdev->le_adv_max_interval = 0x0800;
 	hdev->le_scan_interval = 0x0060;
 	hdev->le_scan_window = 0x0030;
-	hdev->le_conn_min_interval = 0x0028;
-	hdev->le_conn_max_interval = 0x0038;
+	hdev->le_conn_min_interval = 0x0018;
+	hdev->le_conn_max_interval = 0x0028;
 	hdev->le_conn_latency = 0x0000;
 	hdev->le_supv_timeout = 0x002a;
 	hdev->le_def_tx_len = 0x001b;
Signature · 1 line
2.10.2
maintainer
#1 lore raw

Hi Jonas,

Quoted 7 lines

Use the initial connection interval recommended in Bluetooth Specification v4.2 (30ms - 50ms).

---
net/bluetooth/hci_core.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel