Linux bluetooth development
 help / color / mirror / Atom feed
From: fdanis-oss <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] 6e3197: client/btpclient: Add BTP_EV_BAP_ASE_FOUND support
Date: Tue, 08 Sep 2026 10:18:13 -0700	[thread overview]
Message-ID: <bluez/bluez/push/refs/heads/1160712/000000-b28861@github.com> (raw)

  Branch: refs/heads/1160712
  Home:   https://github.com/bluez/bluez
  Commit: 6e31974e35743dd35a75127b2aedf3a44f327881
      https://github.com/bluez/bluez/commit/6e31974e35743dd35a75127b2aedf3a44f327881
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M client/btpclient/bap.c
    M client/btpclient/bap.h
    M client/btpclient/btpclient.c
    M client/btpclient/btpclient.h
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Add BTP_EV_BAP_ASE_FOUND support

This is used at least for BAP/UCL/SCC/BV-004-C and BAP/UCL/SCC/BV-019-C
tests.


  Commit: 772b7da15599d603b872c892900ed98d275dc58d
      https://github.com/bluez/bluez/commit/772b7da15599d603b872c892900ed98d275dc58d
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M Makefile.tools
    M client/btpclient/bap.c
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Get Codec capabilities on ASE reply


  Commit: d401bba4f472599fb0e95ec14dff1cafe9a31ea5
      https://github.com/bluez/bluez/commit/d401bba4f472599fb0e95ec14dff1cafe9a31ea5
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M Makefile.tools
    A client/btpclient/ascs.c
    A client/btpclient/ascs.h
    M client/btpclient/btpclient.c
    M client/btpclient/btpclient.h
    M client/btpclient/core.c
    M client/btpclient/gap.c
    A client/btpclient/vendor.c
    A client/btpclient/vendor.h
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Add ASCS BTP support

The audio endpoints are registered by ASCS setup command of VENDOR
service at start of the test.

For SelectProperties() D-Bus method, the reply is postponed after
auto-pts has requested the ASE and PACS characteritic values.

This allows to pass the BAP/UCL/SCC/* tests.


  Commit: 86afda950aa4437746526a800c786f5c275f5440
      https://github.com/bluez/bluez/commit/86afda950aa4437746526a800c786f5c275f5440
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M Makefile.tools
    M client/btpclient/btpclient.h
    M client/btpclient/core.c
    A client/btpclient/pacs.c
    A client/btpclient/pacs.h
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Add BTP_OP_PACS_SET_LOCATION support

This allows to store the expected location for a local endpoint.


  Commit: a6d91cced0f53b0e7ccc43d90eb5c8eb4dd43009
      https://github.com/bluez/bluez/commit/a6d91cced0f53b0e7ccc43d90eb5c8eb4dd43009
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M client/btpclient/bap.c
    M client/btpclient/btpclient.h
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Add BTP_OP_BAP_SEND support


  Commit: 66d9820153161ac8d6ddc331e8e6d6380d00e364
      https://github.com/bluez/bluez/commit/66d9820153161ac8d6ddc331e8e6d6380d00e364
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M client/btpclient/ascs.c
    M client/btpclient/ascs.h
    M client/btpclient/bap.c
    M client/btpclient/btpclient.c
    M client/btpclient/btpclient.h
    M client/btpclient/vendor.c
    M src/shared/btp.h

  Log Message:
  -----------
  client/btpclient: Add ASCS support for BAP/UCL/STR/* tests


  Commit: 2dabc10c58c985b569cb7dc27ed86e24b4088d34
      https://github.com/bluez/bluez/commit/2dabc10c58c985b569cb7dc27ed86e24b4088d34
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M client/btpclient/ascs.c
    M client/btpclient/bap.c

  Log Message:
  -----------
  client/btpclient: Defer CIG/CIS assignment based on Client/Server role

Previously, CIG/CIS ids were eagerly assigned to each ASE as soon as
it was discovered (CIG 0, next available CIS), regardless of whether
the btpclient was acting as the Unicast Client or Server for that ASE.
This did not match how CIG/CIS ids are actually negotiated, nor what
auto-pts expects: unicast client tests expect CIG/CIS to start at 0/0,
while unicast server tests expect them to start at 1/1.

- As Unicast Client, the CIG/CIS ids are chosen locally when building
  the QoS properties returned from SelectProperties(), starting at 0.
- As Unicast Server, the CIG/CIS ids are only known once the transport
  reports them; if not yet available, all of the device's ASEs should
  share a common CIG (1) with CIS ids starting at 1 as well.

Move get_next_cis() from bap.c to ascs.c and extend it to take a base
CIS value, so it can be reused both for the Client and Server code
paths (base 0 and base 1 respectively) and skips ASEs whose CIS id is
still unset. Leave ase->cig_id and ase->cis_id unset
(BT_ISO_QOS_CIG_UNSET/BT_ISO_QOS_CIS_UNSET) at ASE discovery time, and
resolve them lazily:

- In get_properties_reply(), assign CIG 0 and the next CIS starting at
  0 when building the QoS reply for SelectProperties() (Client role).
- In ascs_proxy_added(), when the transport does not yet report a
  CIG/CIS, assign CIG 1 to all of the device's ASEs and derive CIS ids
  starting at 1 via the new set_cig_cis()/set_cig_cis_data helpers
  (Server role).


  Commit: b28861c01c301bc1efea47fabc1521ed763b2e34
      https://github.com/bluez/bluez/commit/b28861c01c301bc1efea47fabc1521ed763b2e34
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M client/btpclient/ascs.c
    M client/btpclient/bap.c
    M client/btpclient/bap.h
    M client/btpclient/btpclient.c
    M client/btpclient/btpclient.h

  Log Message:
  -----------
  client/btpclient: Add stream auto acquire for BAP/USR/STR/* tests

The sink stream should be auto acquired and data sent on it.


Compare: https://github.com/bluez/bluez/compare/6e31974e3574%5E...b28861c01c30

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

                 reply	other threads:[~2026-09-08 17:18 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/1160712/000000-b28861@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox