]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Add support for BT_PKT_STATUS CMSG data for SCO connections
authorAlain Michaud <alainm@chromium.org>
Thu, 11 Jun 2020 19:50:41 +0000 (19:50 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2020 13:08:49 +0000 (15:08 +0200)
commit00398e1d518309328e8ba7dff00881538ac22c6a
treefee6d7195b2ab8a2268b5ddcc9ac63ef56271980
parente660b3510eb4b3c06ce1188a1d305b6f653106fc
Bluetooth: Add support for BT_PKT_STATUS CMSG data for SCO connections

This change adds support for reporting the BT_PKT_STATUS to the socket
CMSG data to allow the implementation of a packet loss correction on
erroneous data received on the SCO socket.

The patch was partially developed by Marcel Holtmann and validated by
Hsin-yu Chao.

Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/bluetooth.h
include/net/bluetooth/sco.h
net/bluetooth/af_bluetooth.c
net/bluetooth/hci_core.c
net/bluetooth/sco.c