Bluetooth: btnxpuart: Add support for ISO packets
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Fri, 16 Aug 2024 11:13:09 +0000 (16:43 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 10 Sep 2024 17:04:18 +0000 (13:04 -0400)
This enables btnxpuart driver to handle ISO RX packet when DUT is
configured as audio sink.

Tested IW612 on iMX8MMini platform and BlueZ-5.77 as follows:
1) Configured DUT with bap_bcast_sink role in pipewire configuration file.
2) Started pipewire and DUT is able to sync with Broadcast source through
pipewire.
3) ISO data RX is seen in btmon.
4) Audio/Music is heard on audio jack.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Tested-by: Sarveshwar Bajaj <sarveshwar.bajaj@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btnxpuart.c

index ad1ec6f3685a76a7ca9b5997569b92647e06695f..7c2030cec10e186db9c46109deea557102de9443 100644 (file)
@@ -1412,6 +1412,7 @@ static const struct h4_recv_pkt nxp_recv_pkts[] = {
        { H4_RECV_ACL,          .recv = hci_recv_frame },
        { H4_RECV_SCO,          .recv = hci_recv_frame },
        { H4_RECV_EVENT,        .recv = hci_recv_frame },
+       { H4_RECV_ISO,          .recv = hci_recv_frame },
        { NXP_RECV_CHIP_VER_V1, .recv = nxp_recv_chip_ver_v1 },
        { NXP_RECV_FW_REQ_V1,   .recv = nxp_recv_fw_req_v1 },
        { NXP_RECV_CHIP_VER_V3, .recv = nxp_recv_chip_ver_v3 },