linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 219898] New: BLE - Intel AX211 fails to Pair on first attempt but succeeds on second attempt (utilizing software-controlled bluez API via Dbus)
Date: Wed, 19 Mar 2025 14:51:24 +0000	[thread overview]
Message-ID: <bug-219898-62941@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=219898

            Bug ID: 219898
           Summary: BLE - Intel AX211 fails to Pair on first attempt but
                    succeeds on second attempt (utilizing
                    software-controlled bluez API via Dbus)
           Product: Drivers
           Version: 2.5
          Hardware: Intel
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Bluetooth
          Assignee: linux-bluetooth@vger.kernel.org
          Reporter: miller.hunterc@gmail.com
        Regression: No

Created attachment 307860
  --> https://bugzilla.kernel.org/attachment.cgi?id=307860&action=edit
btmon trace using pair method via Dbus API

Attempting to Pair with a BLE device fails on the first Pairing attempt, but
succeeds on the second Pairing attempt when utilizing Bluez Dbus API.

When utilizing bluetoothctl directly, this issue does not occur.

Note that this issue does not arise when using Intel AC 9462, but only arises
utilizing Intel AX211.

From the syslogs, it seems new_long_term_key_callback() is never hit during the
first Pair attempt when utilizing dbus API, but is hit when using bluetoothctl
on the first Pair attempt.

I'm unsure where to go from here, but open to suggestions on how to debug this
issue further.

From the btmon log attached, it seems that LE Start Encryption occurs in # 40
(2.293188), followed by success in # 42 (2.294177). However, after the
supervision timeout of 30s, a disconnect is sent # 86 (32.619238).

In the second pair attempt, LE Start Encryption occurs in # 142 (37.979552),
followed by an Encryption Change event in # 143 (38.157560). Following that, a
new long term key event is notified, and pairing succeeds.

Seems as though the Encryption Change event (0x08) only occurs on the second
attempt.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2025-03-19 14:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 14:51 bugzilla-daemon [this message]
2025-03-19 14:53 ` [Bug 219898] BLE - Intel AX211 fails to Pair on first attempt but succeeds on second attempt (utilizing software-controlled bluez API via Dbus) bugzilla-daemon
2025-03-19 14:55 ` bugzilla-daemon
2025-03-19 14:56 ` bugzilla-daemon
2025-03-19 15:02 ` bugzilla-daemon
2025-03-20 20:22 ` bugzilla-daemon
2025-03-20 20:23 ` bugzilla-daemon
2025-03-20 20:41 ` [Bug 219898] BLE - Intel AX211 fails to Pair on first attempt but succeeds on second attempt bugzilla-daemon
2025-03-20 21:09 ` bugzilla-daemon

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=bug-219898-62941@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).