Bluetooth: ISO: Add support for BT_PKT_STATUS
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 13 Jul 2023 21:02:37 +0000 (14:02 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:49:45 +0000 (11:49 -0700)
commit0731c5ab4d510501a6a2da491ac68aea858bf834
tree3f80cf017c0a66a18618d1a20e67d768fe5b8283
parent3f19ffb2f924db5b0925c77818d18ac1f6f08a44
Bluetooth: ISO: Add support for BT_PKT_STATUS

This adds support for BT_PKT_STATUS socketopt by setting
BT_SK_PKT_STATUS. Then upon receiving an ISO packet the code would
attempt to store the Packet_Status_Flag to hci_skb_pkt_status which
is then forward to userspace in the form of BT_SCM_PKT_STATUS whenever
BT_PKT_STATUS has been enabled/set.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c