]> git.baikalelectronics.ru Git - kernel.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)
commitae28e2ea2e47fc419f089937d89cc16b56c65c8f
treefee6d7195b2ab8a2268b5ddcc9ac63ef56271980
parente53a375effdf671fa54b8119101d5716ee6c04d2
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