Hi Luiz, > This adds the initial implementation of CIS connections along with a new > socket type BTPROTO_ISO to make use of it. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > --- > include/net/bluetooth/bluetooth.h | 35 + > include/net/bluetooth/hci_core.h | 68 +- > include/net/bluetooth/hci_sock.h | 2 + > include/net/bluetooth/iso.h | 36 + > net/bluetooth/Kconfig | 1 + > net/bluetooth/Makefile | 1 + > net/bluetooth/af_bluetooth.c | 12 +- > net/bluetooth/hci_conn.c | 169 ++++ > net/bluetooth/hci_core.c | 243 ++++- > net/bluetooth/hci_event.c | 230 +++++ > net/bluetooth/iso.c | 1393 +++++++++++++++++++++++++++++ > 11 files changed, 2138 insertions(+), 52 deletions(-) > create mode 100644 include/net/bluetooth/iso.h > create mode 100644 net/bluetooth/iso.c > > diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h > index e42bb8e03c09..af969f250b7d 100644 > --- a/include/net/bluetooth/bluetooth.h > +++ b/include/net/bluetooth/bluetooth.h > @@ -53,6 +53,8 @@ > #define BTPROTO_CMTP 5 > #define BTPROTO_HIDP 6 > #define BTPROTO_AVDTP 7 > +#define BTPROTO_ISO 8 > +#define BTPROTO_LAST BTPROTO_ISO I prefer to add this patch in a second phase since it is actually userspace API and I want to think this through more carefully. We might need to split this out in the ISO packet processing and ISO sockets. Regards Marcel