Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v1 2/2] emulator: Add Minimum Supported Connection Interval
Date: Tue, 13 Oct 2026 10:02:55 -0400	[thread overview]
Message-ID: <20261013140255.521668-2-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20261013140255.521668-1-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Fill the Minimum_Supported_Connection_Interval octet of the LE Read
Connection Interval response, reporting 1 ms, the same lower bound as
the interval group already returned.

Assisted-by: OpenCode:claude-opus-5.5
---
 emulator/btdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emulator/btdev.c b/emulator/btdev.c
index 0c556c985b1b..67eac8fd082c 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -8044,6 +8044,7 @@ static int cmd_le_read_conn_interval(struct btdev *dev, const void *data,
 
 	memset(&pdu, 0, sizeof(pdu));
 	pdu.rsp.status = BT_HCI_ERR_SUCCESS;
+	pdu.rsp.min = 0x08;			/* 1.000 ms */
 	pdu.rsp.num_grps = 1;
 	pdu.grp.min = cpu_to_le16(0x0008);	/* 1.000 ms */
 	pdu.grp.max = cpu_to_le16(0x0c80);	/* 400.000 ms */
-- 
2.56.0


  reply	other threads:[~2026-10-13 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-13 14:02 [PATCH BlueZ v1 1/2] monitor: Add Minimum Supported Connection Interval Luiz Augusto von Dentz
2026-10-13 14:02 ` Luiz Augusto von Dentz [this message]
2026-10-13 19:59 ` [BlueZ,v1,1/2] " 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=20261013140255.521668-2-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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