Bug 208637 - LE Secure Connections: Disconnection after pairing
Summary: LE Secure Connections: Disconnection after pairing
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 07:39 UTC by Jari Jääskelä
Modified: 2020-07-21 07:41 UTC (History)
0 users

See Also:
Kernel Version: 5.4.42-v7l
Subsystem:
Regression: No
Bisected commit-id:


Attachments
hcidump client (6.80 KB, image/CAP)
2020-07-21 07:39 UTC, Jari Jääskelä
Details
hcidump server (5.94 KB, image/CAP)
2020-07-21 07:39 UTC, Jari Jääskelä
Details
btmon output client (72.08 KB, text/plain)
2020-07-21 07:40 UTC, Jari Jääskelä
Details
btmon output server (36.25 KB, text/plain)
2020-07-21 07:40 UTC, Jari Jääskelä
Details
dmesg output client (47.16 KB, text/plain)
2020-07-21 07:41 UTC, Jari Jääskelä
Details
dmesg output server (48.64 KB, text/plain)
2020-07-21 07:41 UTC, Jari Jääskelä
Details
bluetoothd output server (276.35 KB, text/plain)
2020-07-21 07:41 UTC, Jari Jääskelä
Details
bluetoothd output client (777.42 KB, text/plain)
2020-07-21 07:41 UTC, Jari Jääskelä
Details

Description Jari Jääskelä 2020-07-21 07:39:31 UTC
Created attachment 290405 [details]
hcidump client

I have been trying to establish secure connection to a gatt service. Pairing completes successfully (using out-of-band data), and the client can read characteristic that has encrypt-authenticated security level, but the connection is lost soon after pairing (as seen in the btmon log below). This seems to happen because the controller responds with reason Connection Timeout (0x08).


Hardware: Raspberry Pi 4 Model B (Bluetooth chip: Cypress CYW43455).
Tested on: 4.19.118-v7l+, 5.4.42-v7l.
Tested BlueZ: 5.53, 5.54, master (commit 6ea1b038eedeca31c3796ac921e25509d48d70ec)
Comment 1 Jari Jääskelä 2020-07-21 07:39:50 UTC
Created attachment 290407 [details]
hcidump server
Comment 2 Jari Jääskelä 2020-07-21 07:40:25 UTC
Created attachment 290409 [details]
btmon output client
Comment 3 Jari Jääskelä 2020-07-21 07:40:41 UTC
Created attachment 290411 [details]
btmon output server
Comment 4 Jari Jääskelä 2020-07-21 07:41:07 UTC
Created attachment 290413 [details]
dmesg output client
Comment 5 Jari Jääskelä 2020-07-21 07:41:24 UTC
Created attachment 290415 [details]
dmesg output server
Comment 6 Jari Jääskelä 2020-07-21 07:41:37 UTC
Created attachment 290417 [details]
bluetoothd output server
Comment 7 Jari Jääskelä 2020-07-21 07:41:52 UTC
Created attachment 290419 [details]
bluetoothd output client

Note You need to log in before you can comment on or make changes to this bug.