android_kernel_xiaomi_sm8350/net/bluetooth
Marcel Holtmann 8c84b83076 Bluetooth: Pause RFCOMM TX when encryption drops
A role switch with devices following the Bluetooth pre-2.1 standards
or without Encryption Pause and Resume support is not possible if
encryption is enabled. Most newer headsets require the role switch,
but also require that the connection is encrypted.

For connections with a high security mode setting, the link will be
immediately dropped. When the connection uses medium security mode
setting, then a grace period is introduced where the TX is halted and
the remote device gets a change to re-enable encryption after the
role switch. If not re-enabled the link will be dropped.

Based on initial work by Ville Tervo <ville.tervo@nokia.com>

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2009-02-27 06:14:33 +01:00
..
bnep bluetooth: driver API update 2009-01-07 17:23:17 -08:00
cmtp Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
hidp Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
rfcomm Bluetooth: Pause RFCOMM TX when encryption drops 2009-02-27 06:14:33 +01:00
af_bluetooth.c Bluetooth: Add global deferred socket parameter 2009-02-27 06:14:23 +01:00
hci_conn.c Bluetooth: Add enhanced security model for Simple Pairing 2009-02-27 06:14:25 +01:00
hci_core.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
hci_event.c Bluetooth: Add enhanced security model for Simple Pairing 2009-02-27 06:14:25 +01:00
hci_sock.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
hci_sysfs.c Bluetooth: Fix format arguments warning 2008-11-30 12:17:29 +01:00
Kconfig
l2cap.c Bluetooth: Replace L2CAP link mode with security level 2009-02-27 06:14:26 +01:00
lib.c
Makefile
sco.c Bluetooth: Add enhanced security model for Simple Pairing 2009-02-27 06:14:25 +01:00