From: raghu447 <raghavendra.rao@collabora.com>
To: linux-bluetooth@vger.kernel.org
Cc: raghavendra <raghavendra.rao@collabora.com>
Subject: [PATCH BlueZ v2 1/1] shared/bap: set QoS state when CIS is lost
Date: Wed, 13 May 2026 22:04:35 +0530 [thread overview]
Message-ID: <20260513163435.11344-2-raghavendra.rao@collabora.com> (raw)
In-Reply-To: <20260513163435.11344-1-raghavendra.rao@collabora.com>
From: raghavendra <raghavendra.rao@collabora.com>
This is used to pass PTS tests BAP/USR/SCC/BV-167-C and BAP/USR/SCC/BV-168-C.
---
src/shared/bap.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/shared/bap.c b/src/shared/bap.c
index 78ba22259..60710a806 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -3028,6 +3028,10 @@ static void bap_stream_set_io(void *data, void *user_data)
else
bt_bap_stream_start(stream, NULL, NULL);
break;
+ case BT_BAP_STREAM_STATE_STREAMING:
+ if (fd < 0)
+ stream_set_state(stream, BT_BAP_STREAM_STATE_QOS);
+ break;
case BT_BAP_STREAM_STATE_DISABLING:
if (fd < 0)
bt_bap_stream_stop(stream, NULL, NULL);
--
2.43.0
next prev parent reply other threads:[~2026-05-13 16:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 10:58 [PATCH BlueZ 0/1] /bap: Handle CIS loss during streaming raghu447
2026-05-11 10:58 ` [PATCH BlueZ 1/1] bap: set QOS state when CIS is lost while the state is streaming/enabling raghu447
2026-05-11 14:09 ` Luiz Augusto von Dentz
2026-05-13 16:34 ` [PATCH BlueZ v2 0/1] shared/bap: set QoS state when CIS is lost raghu447
2026-05-13 16:34 ` raghu447 [this message]
2026-05-13 18:22 ` bluez.test.bot
2026-05-14 10:05 ` [PATCH BlueZ v2 0/1] " raghu447
2026-05-14 10:05 ` [PATCH BlueZ v2 1/1] " raghu447
2026-05-14 12:17 ` [BlueZ,v2,1/1] " bluez.test.bot
2026-05-11 14:28 ` /bap: Handle CIS loss during streaming bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260513163435.11344-2-raghavendra.rao@collabora.com \
--to=raghavendra.rao@collabora.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.