]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Add BTPROTO_ISO socket type
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 16 Jan 2020 23:55:57 +0000 (15:55 -0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 23 Jul 2022 00:13:39 +0000 (17:13 -0700)
commitccf74f2390d60a2f9a75ef496d2564abb478f46a
treea9ecef9b96ebc18e826a8253f9cf2a43074bcadd
parent26afbd826ee326e63a334c37fd45e82e50a615ec
Bluetooth: Add BTPROTO_ISO socket type

This introduces a new socket type BTPROTO_ISO which can be enabled with
use of ISO Socket experiemental UUID, it can used to initiate/accept
connections and transfer packets between userspace and kernel similarly
to how BTPROTO_SCO works:

Central -> uses connect with address set to destination bdaddr:
> tools/isotest -s 00:AA:01:00:00:00

Peripheral -> uses listen:
> tools/isotest -d

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/bluetooth.h
include/net/bluetooth/hci_core.h
include/net/bluetooth/iso.h [new file with mode: 0644]
net/bluetooth/Makefile
net/bluetooth/af_bluetooth.c
net/bluetooth/hci_core.c
net/bluetooth/iso.c [new file with mode: 0644]
net/bluetooth/mgmt.c