zephyr/subsys/bluetooth/host
Kamil Piszczek 42c904526b bluetooth: host: convert conn address on identity resolution
Fix an issue in the CCC configuration when the Peripheral device
maintains two or more distinct connections on different identities
with the same peer. The issue occurs when the local device performs
the pairing and the bonding procedure on a connection associated
with one of the Bluetooth identities. During the identity resolution,
the peer address field in the CCC descriptor is converted from the
RPA-type address to the Identity Address. However, the destination
address on the remaining connection objects associated with other
Bluetooth identities is not converted. Due to this, their CCC
configuration is reset and GATT indications and notification fail
to be sent even if the Central device subscribed to them.

Added necessary code to iterate over all connection objects during
the identity resolution phase and aligned their destination address
from the RPA-type to the Identity Address.

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
2023-09-04 18:41:48 +02:00
..
a2dp_internal.h
a2dp.c
addr_internal.h
addr.c Bluetooth: Host: Fix bt_addr_from_str for str starting with ':' 2023-06-05 08:31:06 -04:00
adv.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
adv.h
aes_ccm.c
at.c bluetooth: fix armclang compiler warnings with is*() functions 2023-03-31 09:19:16 +02:00
at.h
att_internal.h Bluetooth: att: Remove unused bt_att_free_tx_meta_data function 2023-07-24 09:09:44 +00:00
att.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
avdtp_internal.h
avdtp.c bluetooth: host: fix few mismatched CONTAINER_OF 2023-08-30 10:22:37 +02:00
br.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
br.h
buf.c Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
CMakeLists.txt
conn_internal.h Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
conn.c Bluetooth: ISO: Don't call LE Create Conn Cancel on ISO disconnect 2023-08-18 10:13:36 +02:00
crypto.c
crypto.h
data.c
direction_internal.h
direction.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
ecc.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
ecc.h bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
gatt_internal.h
gatt.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
hci_common.c
hci_core.c Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
hci_core.h Bluetooth: id: Keep RPA as bt_addr_t 2023-05-12 10:55:50 +03:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: hci_raw: Fix a LOG_ERR message 2023-04-28 10:33:18 -05:00
hfp_hf.c
hfp_internal.h
id.c Bluetooth: adv: add USE_NRPA advertising option 2023-07-25 10:47:37 +02:00
id.h
iso_internal.h
iso.c Bluetooth: host: Fix endianness in hci_le_remove_iso_data_path 2023-08-23 18:47:06 +02:00
Kconfig Bluetooth: Host: Introduce BT_CONN_PARAM_ANY 2023-07-14 09:40:52 +00:00
Kconfig.gatt Bluetooth: Host: Introduce BT_CONN_PARAM_ANY 2023-07-14 09:40:52 +00:00
Kconfig.l2cap Bluetooth: Mesh: Reduce BT_L2CAP_TX_MTU for mesh to 33 2023-06-29 10:05:03 +00:00
keys_br.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.h
l2cap_br.c bluetooth: host: fix few mismatched CONTAINER_OF 2023-08-30 10:22:37 +02:00
l2cap_internal.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap.c bt: fix bt_l2cap_chan_send_sdu to return total bytes sent 2023-08-30 10:23:05 +02:00
long_wq.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
long_wq.h
monitor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
monitor.h
rfcomm_internal.h
rfcomm.c bluetooth: host: fix few mismatched CONTAINER_OF 2023-08-30 10:22:37 +02:00
scan.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
scan.h
sdp_internal.h
sdp.c
settings.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
settings.h Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
smp_null.c
smp.c bluetooth: host: convert conn address on identity resolution 2023-09-04 18:41:48 +02:00
smp.h
ssp.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
ssp.h
testing.c
testing.h
uuid.c