diff mbox series

[v1,2/2] Bluetooth: btnxpuart: Add support for ISO packets

Message ID 20240816082524.286245-2-neeraj.sanjaykale@nxp.com
State Superseded
Headers show
Series [v1,1/2] Bluetooth: hci_h4: Add support for ISO packets in h4_recv.h | expand

Commit Message

Neeraj Sanjay Kale Aug. 16, 2024, 8:25 a.m. UTC
This enables btnxpuart driver to handle ISO packets.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
 drivers/bluetooth/btnxpuart.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Paul Menzel Aug. 16, 2024, 8:32 a.m. UTC | #1
Dear Neeraj,


Thank you for your patch.


Am 16.08.24 um 10:25 schrieb Neeraj Sanjay Kale:
> This enables btnxpuart driver to handle ISO packets.

Tested how?

> Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
> ---
>   drivers/bluetooth/btnxpuart.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
> index f75b24bd3045..0b52e5505687 100644
> --- a/drivers/bluetooth/btnxpuart.c
> +++ b/drivers/bluetooth/btnxpuart.c
> @@ -1396,6 +1396,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 },


Kind regards,

Paul
diff mbox series

Patch

diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index f75b24bd3045..0b52e5505687 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -1396,6 +1396,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 },