mbox series

[0/1] Set ISO Data Path on broadcast sink

Message ID 20230404141853.4868-1-claudia.rosu@nxp.com
Headers show
Series Set ISO Data Path on broadcast sink | expand

Message

Claudia Draghicescu April 4, 2023, 2:18 p.m. UTC
This patch enables ISO data rx on broadcast sink.

Claudia Draghicescu (1):
  Set ISO Data Path on broadcast sink

 net/bluetooth/hci_event.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Luiz Augusto von Dentz April 4, 2023, 6:07 p.m. UTC | #1
Hi Claudia,

On Tue, Apr 4, 2023 at 7:24 AM Claudia Draghicescu <claudia.rosu@nxp.com> wrote:
>
> This patch enables ISO data rx on broadcast sink.
> Signed-off-by: Claudia Draghicescu <claudia.rosu@nxp.com>
> ---
>  net/bluetooth/hci_event.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
> index 6cf9ae5b14d3..6ecd10069b6e 100644
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -6997,6 +6997,7 @@ static void hci_le_big_sync_established_evt(struct hci_dev *hdev, void *data,
>                 bis->iso_qos.bcast.in.latency = le16_to_cpu(ev->interval) * 125 / 100;
>                 bis->iso_qos.bcast.in.sdu = le16_to_cpu(ev->max_pdu);
>
> +               hci_iso_setup_path(bis);
>                 hci_connect_cfm(bis, ev->status);

While the use of hci_iso_setup_path seems correct here we probably
need to remove hci_connect_cfm since we need to wait the result of
Data Path before signal to the socket the controller is ready to
receive data.

>         }
>
> --
> 2.34.1
>