zephyr/net/bluetooth
Luiz Augusto von Dentz b1ad0c9c21 Bluetooth: L2CAP: Add security check for LE CoC
This implements the security check for incoming LE CoC and in case the
connection cannot attend the minimun security level set by the server
return a proper error:

> ACL Data RX: Handle 72 flags 0x02 dlen 18
      LE L2CAP: LE Connection Request (0x14) ident 1 len 10
        PSM: 128 (0x0080)
        Source CID: 64
        MTU: 672
        MPS: 230
        Credits: 10
< ACL Data TX: Handle 72 flags 0x00 dlen 18
      LE L2CAP: LE Connection Response (0x15) ident 1 len 10
        Destination CID: 0
        MTU: 0
        MPS: 0
        Credits: 0
        Result: Connection refused - insufficient authentication (0x0005)

Change-Id: Ia8b2873c5d1b154eb9a7c1a49c94578c4ec22f6d
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-11-01 21:40:39 +02:00
..
Kconfig Bluetooth: ATT: Rework buffer pools to minimize extra data 2016-11-01 21:40:39 +02:00
Makefile Bluetooth: Generic AT command implementation 2016-10-28 07:42:16 +00:00
a2dp.c Bluetooth: Remove not needed includes 2016-10-28 08:09:08 +03:00
a2dp_internal.h Bluetooth: A2DP: Remove includes from internal header 2016-10-28 08:09:08 +03:00
at.c Bluetooth: Generic AT command implementation 2016-10-28 07:42:16 +00:00
at.h Bluetooth: Generic AT command implementation 2016-10-28 07:42:16 +00:00
att.c Bluetooth: ATT: Rework buffer pools to minimize extra data 2016-11-01 21:40:39 +02:00
att_internal.h Bluetooth: GATT: Add queuing support 2016-09-07 08:17:26 +03:00
avdtp.c Bluetooth: Remove not needed includes 2016-10-28 08:09:08 +03:00
avdtp_internal.h Bluetooth: AVDTP: Connect and Disconnect API 2016-10-04 08:12:14 +03:00
conn.c Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
conn_internal.h Bluetooth: Clean up feature test macros 2016-09-07 08:17:26 +03:00
ecc.h Bluetooth: Create proper abstraction for ECC access 2016-07-01 11:21:04 +03:00
gatt.c Bluetooth: GATT: Fix calling read handler twice 2016-11-01 21:40:39 +02:00
gatt_internal.h
hci_core.c Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
hci_core.h Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
hci_ecc.c Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
hci_ecc.h
hci_raw.c Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
hfp_hf.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
hfp_internal.h Bluetooth: HFP HF: Initialize Handsfree profile 2016-09-14 08:45:45 +03:00
keys.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
keys.h Bluetooth: SMP: Add support for Link Key derivation 2016-09-07 08:17:26 +03:00
keys_br.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
l2cap.c Bluetooth: L2CAP: Add security check for LE CoC 2016-11-01 21:40:39 +02:00
l2cap_br.c Bluetooth: Rename BT_SECURITY_ZERO to BT_SECURITY_NONE 2016-11-01 21:40:39 +02:00
l2cap_internal.h Bluetooth: L2CAP: Add valid BR/EDR connection response errors 2016-10-21 07:47:31 +03:00
log.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
monitor.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
monitor.h
rfcomm.c Bluetooth: Rename bt_driver to bt_hci_driver 2016-10-28 08:09:08 +03:00
rfcomm_internal.h Bluetooth: RFCOMM: Handle security for incoming connections 2016-10-21 07:47:31 +03:00
sdp.c Bluetooth: SDP: Server: Support service record registration 2016-10-21 07:47:31 +03:00
sdp_internal.h Bluetooth: SDP: Server: Initialize and accept incoming connections 2016-10-04 08:12:14 +03:00
smp.c Bluetooth: Remove not needed includes 2016-10-28 08:09:08 +03:00
smp.h Bluetooth: SMP: Fix build without central role support 2016-10-16 09:00:57 +03:00
smp_null.c Bluetooth: Include zephyr.h instead of kernel specific headers 2016-10-28 08:09:08 +03:00
uuid.c Bluetooth: Remove not needed includes 2016-10-28 08:09:08 +03:00