All of lore.kernel.org
 help / color / mirror / Atom feed
From: "github-actions[bot]" <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] 82ecfe: shared/bap: Set stream to idle when I/O is disconn...
Date: Mon, 23 Jun 2025 23:25:02 -0700	[thread overview]
Message-ID: <bluez/bluez/push/refs/heads/975123/000000-82ecfe@github.com> (raw)

  Branch: refs/heads/975123
  Home:   https://github.com/bluez/bluez
  Commit: 82ecfeb57b124b4a14ffb031ea74231c3c51c3e0
      https://github.com/bluez/bluez/commit/82ecfeb57b124b4a14ffb031ea74231c3c51c3e0
  Author: Yang Li <yang.li@amlogic.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M src/shared/bap.c

  Log Message:
  -----------
  shared/bap: Set stream to idle when I/O is disconnected

When the CIS link is disconnected, the ASE status transitions from Releasing to
Idle.

  > HCI Event: Disconnect Complete (0x05) plen 4           #1484 [hci0] 67.947425
  		Status: Success (0x00)
  		Handle: 512 Address: 5C:B1:E1:2F:01:B9 (Resolvable)
  		Identity type: Random (0x01)
  		Identity: E8:D5:2B:59:57:A6 (Static)
  		Reason: Remote User Terminated Connection (0x13)
  = bluetoothd: src/shared/bap.c:stream_io_disconnected() stream 0x..   67.948018
  = bluetoothd: src/shared/bap.c:bap_ucast_set_state() stream 0xdff..   67.948145
  = bluetoothd: src/shared/bap.c:stream_notify() stream 0xdffda8 st..   67.948275
  = bluetoothd: src/gatt-database.c:send_notification_to_device() G..   67.948525
  = bluetoothd: profiles/audio/bap.c:bap_state() stream 0xdffda8: r..   67.948679
  = bluetoothd: profiles/audio/transport.c:bap_state_changed() stre..   67.948967
  = bluetoothd: profiles/audio/transport.c:transport_update_playing..   67.949061
  = bluetoothd: profiles/audio/transport.c:media_transport_remove_o..   67.949106
  = bluetoothd: profiles/audio/transport.c:media_owner_free() Owner..   67.949149
  = bluetoothd: profiles/audio/transport.c:media_transport_suspend(..   67.949375
  = bluetoothd: profiles/audio/transport.c:transport_set_state() St..   67.949423
  = bluetoothd: src/shared/bap.c:bap_ucast_detach() stream 0xdffda8..   67.949574
  = bluetoothd: profiles/audio/media.c:pac_clear() endpoint 0xdd2d2..   67.949710

When BIG sync is lost, the stream status transitions from Streaming to Idle.

  > HCI Event: LE Meta Event (0x3e) plen 3                #3189 [hci0] 118.870863
  	LE Broadcast Isochronous Group Sync Lost (0x1e)
  		BIG Handle: 0x00
  		Reason: Remote User Terminated Connection (0x13)
  = bluetoothd: src/shared/bap.c:stream_io_disconnected() stream 0..   118.871183
  = bluetoothd: src/shared/bap.c:bap_bcast_set_state() stream 0xdf..   118.871227
  = bluetoothd: profiles/audio/bap.c:bap_state_bcast_sink() stream..   118.871258
  = bluetoothd: profiles/audio/bass.c:bap_state_changed() stream 0..   118.871307
  = bluetoothd: src/gatt-database.c:send_notification_to_device()...   118.871384
  = bluetoothd: profiles/audio/transport.c:bap_state_changed() str..   118.871452
  = bluetoothd: profiles/audio/transport.c:transport_bap_update_li..   118.871509
  = bluetoothd: profiles/audio/transport.c:transport_update_playin..   118.871555
  = bluetoothd: profiles/audio/transport.c:transport_set_state() S..   118.871610
  = bluetoothd: src/shared/bap.c:bap_bcast_sink_detach() stream 0x..   118.871660
  = bluetoothd: profiles/audio/media.c:pac_clear() endpoint 0xdd25..   118.871689

Fixes: https://github.com/bluez/bluez/issues/1343

Signed-off-by: Yang Li <yang.li@amlogic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

                 reply	other threads:[~2025-06-24  6:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bluez/bluez/push/refs/heads/975123/000000-82ecfe@github.com \
    --to=noreply@github.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.