Thread (5 messages) flat view 5 messages, 3 authors, 2021-08-16

Re: [PATCH v4 1/2] Bluetooth: Fix handling of LE Enhanced Connection Complete

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-08-16 15:55:56

Hi Luiz,
LE Enhanced Connection Complete contains the Local RPA used in the
connection which must be used when set otherwise there could problems
when pairing since the address used by the remote stack could be the
Local RPA:

BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E
page 2396

 'Resolvable Private Address being used by the local device for this
 connection. This is only valid when the Own_Address_Type (from the
 HCI_LE_Create_Connection, HCI_LE_Set_Advertising_Parameters,
 HCI_LE_Set_Extended_Advertising_Parameters, or
 HCI_LE_Extended_Create_Connection commands) is set to 0x02 or
 0x03, and the Controller generated a resolvable private address for the
 local device using a non-zero local IRK. For other Own_Address_Type
 values, the Controller shall return all zeros.'

Signed-off-by: Luiz Augusto von Dentz <redacted>
---
net/bluetooth/hci_event.c | 93 ++++++++++++++++++++++++++-------------
1 file changed, 62 insertions(+), 31 deletions(-)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help