zephyr/subsys/bluetooth/host
Szymon Janc 556736df35 bluetooth: Fix L2CAP CoC response code if LTK is present
If an LTK or an STK is available and encryption is required
(LE security mode 1) but encryption is not enabled, the
service request shall be rejected with the error code
"Insufficient Encryption".

This is affecting L2CAP/LE/CFC/BV-25-C and L2CAP/ECFC/BV-32-C
qualification test cases.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2021-11-10 08:28:49 -05:00
..
a2dp_internal.h
a2dp.c
addr.c
adv.c Bluetooth: Host: Fix setting long adv data with long AD fields 2021-11-02 13:25:01 +01:00
adv.h Bluetooth: host: Cancel limited adv timeout when advertising stopped 2021-08-30 14:41:20 +02:00
aes_ccm.c Bluetooth: host: Fix MIC generation in Bluetooth CCM encryption 2021-11-08 11:00:33 -05:00
at.c
at.h
att_internal.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
att.c bluetooth: host: avoid freeing structure that's part of a linked list 2021-11-01 11:18:04 -04:00
avdtp_internal.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
avdtp.c
br.c Bluetooth: hci: Align terms with the Bluetooth v5.3 spec 2021-09-17 16:05:01 +02:00
br.h
buf.c Bluetooth: ISO: Split ISO broadcast config 2021-10-18 12:43:38 +02:00
CMakeLists.txt Bluetooth: Update terms in public API to spec v5.3 2021-09-15 14:02:50 +03:00
conn_internal.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
conn.c Bluetooth: Disconnect L2CAP channel if peer sent too much data 2021-11-09 19:58:42 -05:00
crypto.c
crypto.h
direction_internal.h Bluetooth: host: Add handl HCI_LE_Connectionless_IQ_Report 2021-05-06 16:27:16 +02:00
direction.c Bluetooth: host: df: Fix compilation warning in direction.c 2021-08-03 13:58:02 +02:00
ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
ecc.h bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
gatt_internal.h Bluetooth: gatt: callbacks on ATT MTU update 2021-06-07 12:03:09 +02:00
gatt.c Bluetooth: Add check given services is register API 2021-11-03 18:57:03 +01:00
hci_common.c
hci_core.c Bluetooth: host: Remove confusing left-over comment 2021-11-09 22:21:23 +02:00
hci_core.h Bluetooth: host: check return value of bt_rand when creating identities 2021-09-27 17:14:20 +02:00
hci_ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Add missing header that defines BT_ISO_SDU_BUF_SIZE 2021-11-04 09:52:48 +01:00
hfp_hf.c
hfp_internal.h
id.c Bluetooth: host: Access local IRKs consistently 2021-09-29 10:44:38 -04:00
id.h
iso_internal.h Bluetooth: ISO: Fix typo in hci_le_cis_estabilished 2021-10-28 10:37:34 -04:00
iso.c Bluetooth: ISO: Store SDU and PHY for peripheral 2021-11-07 05:42:29 -05:00
Kconfig kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.gatt kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.l2cap Bluetooth: Mesh: Modularizing the proxy 2021-07-09 17:56:16 +03:00
keys_br.c
keys.c Bluetooth: host: Verify valid local identity loaded from settings 2021-09-29 10:44:38 -04:00
keys.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
l2cap_br.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
l2cap_internal.h Bluetooth: Disconnect L2CAP channel if peer sent too much data 2021-11-09 19:58:42 -05:00
l2cap.c bluetooth: Fix L2CAP CoC response code if LTK is present 2021-11-10 08:28:49 -05:00
monitor.c bluetooth: monitor: Add support for logging v2 2021-11-03 16:00:17 +01:00
monitor.h
rfcomm_internal.h
rfcomm.c bluetooth: rfcomm: fix the coverity 203443 memory corruptions 2021-06-24 11:57:33 +03:00
scan.c Bluetooth: Host: Set SID in bt_le_per_adv_sync_recv_info 2021-11-06 00:41:28 +02:00
scan.h Bluetoot: host: Make get_per_adv_sync to be global function 2021-05-06 16:27:16 +02:00
sdp_internal.h
sdp.c Bluetooth: SDP: Check len is not zero before accessing data pointer 2021-09-27 16:34:22 +02:00
settings.c Bluetooth: host: check return value of bt_rand when creating identities 2021-09-27 17:14:20 +02:00
settings.h
smp_null.c
smp.c bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
smp.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
ssp.c
ssp.h
testing.c
testing.h
uuid.c Bluetooth: uuid: Use BT_UUID_SIZE_ macros for bt_uuid_create 2021-07-19 18:52:41 +02:00