This commit uses the newly added bt_io_bcast_accept function from
btio.c to implement the defer setup for the BIS sync process.
Now, information from the BIG Info advertising report can be
used when sending the BIG Create Sync command.
Vlad Pruteanu (1):
bap: Use defer setup when syncing to a BIS source
profiles/audio/bap.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
--
2.34.1
This commit uses the newly added bt_io_bcast_accept function from
btio.c to implement the defer setup for the BIS sync process.
Now, information from the BIG Info advertising report can be
used when sending the BIG Create Sync command.
---
profiles/audio/bap.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index ee90426b9..d70ad872e 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -840,6 +840,19 @@ drop:
}
+static void iso_pa_sync_confirm_cb(GIOChannel *io, void *user_data)
+{
+ GError *err = NULL;
+
+ if (!bt_io_bcast_accept(io, iso_bcast_confirm_cb,
+ user_data, NULL, &err)) {
+ error("bt_io_bcast_accept: %s", err->message);
+ g_error_free(err);
+ g_io_channel_shutdown(io, TRUE, NULL);
+ }
+
+}
+
static bool match_data_bap_data(const void *data, const void *match_data)
{
const struct bap_data *bdata = data;
@@ -1587,7 +1600,7 @@ static void bap_listen_io_broadcast(struct bap_data *data, struct bap_ep *ep,
if (bt_bap_stream_get_io(stream) || data->listen_io)
return;
- io = bt_io_listen(iso_bcast_confirm_cb, NULL, ep->data, NULL, &err,
+ io = bt_io_listen(NULL, iso_pa_sync_confirm_cb, ep->data, NULL, &err,
BT_IO_OPT_SOURCE_BDADDR,
btd_adapter_get_address(ep->data->adapter),
BT_IO_OPT_DEST_BDADDR,
--
2.34.1
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=783280
---Test result---
Test Summary:
CheckPatch PASS 0.46 seconds
GitLint PASS 0.29 seconds
BuildEll PASS 29.06 seconds
BluezMake PASS 840.08 seconds
MakeCheck PASS 11.80 seconds
MakeDistcheck PASS 157.82 seconds
CheckValgrind PASS 257.94 seconds
CheckSmatch PASS 345.20 seconds
bluezmakeextell PASS 104.53 seconds
IncrementalBuild PASS 680.51 seconds
ScanBuild PASS 1071.01 seconds
---
Regards,
Linux Bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <[email protected]>:
On Tue, 12 Sep 2023 09:55:25 +0300 you wrote:
> This commit uses the newly added bt_io_bcast_accept function from
> btio.c to implement the defer setup for the BIS sync process.
> Now, information from the BIG Info advertising report can be
> used when sending the BIG Create Sync command.
>
> Vlad Pruteanu (1):
> bap: Use defer setup when syncing to a BIS source
>
> [...]
Here is the summary with links:
- [BlueZ,v4,1/1] bap: Use defer setup when syncing to a BIS source
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=feadcbbed50d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html