zephyr/subsys/bluetooth/host
Lyle Zhu 6661952dd4 Bluetooth: Classic: SSP: Fix bonding flag mismatch issue
A bonding issue is found with following conditions,
a. Local is a SSP initiator and it is in non-bondable mode,
b. Peer is in bondable mode,
c. The bonding flag in Authentication_Requirements of local IOCAP is
`No Bonding`,
d. the bonding flag in Authentication_Requirements of peer IOCAP is
`Bonding`.

The bonding information will be exchanged and stored. It is incorrect
behavior.

Fix the issue by reporting a pairing failure and disconnecting the ACL
connection with error `BT_HCI_ERR_AUTH_FAIL`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-28 13:41:25 +01:00
..
classic Bluetooth: Classic: SSP: Fix bonding flag mismatch issue 2025-04-28 13:41:25 +01:00
shell Bluetooth: Shell: Add missing includes for all BT host shell files 2025-04-17 21:17:29 +02:00
addr_internal.h
addr.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
adv.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
adv.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
aes_ccm.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
att_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
att.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
buf_view.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
buf.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
CMakeLists.txt Bluetooth: Host: Remove HCI ECC emulation 2025-01-23 10:14:46 +01:00
conn_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
conn.c Bluetooth: Classic: L2CAP: Handle multi L2CAP packets of a HCI ACL 2025-04-28 08:36:02 +02:00
crypto_psa.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
crypto.h bluetooth: host/crypto: fix the psa crypto init for host 2025-02-10 14:33:24 +01:00
cs.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
data.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
direction_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
direction.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
ecc.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
ecc.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
gatt_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
gatt.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_common.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_core.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_core.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_raw_internal.h Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_raw.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
id.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
id.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
iso_internal.h Bluetooth: ISO: Add support for cis_established_v2 in host 2024-12-20 10:19:23 +01:00
iso.c Bluetooth: ISO: Make setting ISO data explicit 2025-03-19 10:56:57 +01:00
Kconfig Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
Kconfig.gatt bluetooth: host: fix GATT writable Kconfig descriptions 2025-03-28 08:50:05 +01:00
Kconfig.l2cap Bluetooth: Tester: Use BT_L2CAP_SEG_RECV for L2CAP tests 2024-11-27 08:16:18 +01:00
keys.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
keys.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
l2cap_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
l2cap.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
long_wq.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
long_wq.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
monitor.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
monitor.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
scan.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
scan.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
settings.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
settings.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
smp_null.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
smp.c bluetooth: classic: smp: fix the wrong Responder Key Distribution 2025-04-23 10:04:23 +02:00
smp.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
uuid.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00