[bluez/bluez] da5b5b: shared/ad: fix -std=c23 build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: da5b5b0ecb1ead38676768ef78d46449d404bdc0
      https://github.com/bluez/bluez/commit/da5b5b0ecb1ead38676768ef78d46449d404bdc0
  Author: Rudi Heitbaum <rudi@xxxxxxxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M src/shared/ad.c

  Log Message:
  -----------
  shared/ad: fix -std=c23 build failure

gcc-15 switched to -std=c23 by default:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

As a result `bluez` fails the build as:

    src/shared/ad.c:1090:24: error: incompatible types when returning type '_Bool' but 'const char *' was expected
     1090 |                 return false;
          |                        ^~~~~


  Commit: 4d60826865c760cc4e5718b6414746a394768110
      https://github.com/bluez/bluez/commit/4d60826865c760cc4e5718b6414746a394768110
  Author: Rudi Heitbaum <rudi@xxxxxxxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M src/shared/shell.c

  Log Message:
  -----------
  shared/shell: fix -std=c23 build failure

gcc-15 switched to -std=c23 by default:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

As a result `bluez` fails the build as:

    src/shared/shell.c:365:24: error: incompatible types when returning type '_Bool' but 'struct input *' was expected
      365 |                 return false;
          |                        ^~~~~


  Commit: 6f3111eb680df9c13502aacd65554846a9e13a3f
      https://github.com/bluez/bluez/commit/6f3111eb680df9c13502aacd65554846a9e13a3f
  Author: Rudi Heitbaum <rudi@xxxxxxxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M src/shared/gatt-helpers.c

  Log Message:
  -----------
  shared/gatt-helpers: fix -std=c23 build failure

gcc-15 switched to -std=c23 by default:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

As a result `bluez` fails the build as:

    src/shared/gatt-helpers.c:1136:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
     1136 |                 return false;
          |                        ^~~~~
    src/shared/gatt-helpers.c:1250:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
     1250 |                 return false;
          |                        ^~~~~
    src/shared/gatt-helpers.c:1478:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
     1478 |                 return false;
          |                        ^~~~~


  Commit: a0aee49df1d8aba8fe81bd6077ae9571ea93e5be
      https://github.com/bluez/bluez/commit/a0aee49df1d8aba8fe81bd6077ae9571ea93e5be
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M src/shared/bap.c
    M src/shared/bap.h

  Log Message:
  -----------
  shared/bap: Add helper to parse BASE

This adds a shared/bap helper to parse BASE. Any plugin that wishes to
parse a BASE structure can call this helper and provide a callback to
process each BIS.


  Commit: 8054693b0c5b6b201a262b4db7ddd0a4cb239a5c
      https://github.com/bluez/bluez/commit/8054693b0c5b6b201a262b4db7ddd0a4cb239a5c
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bap.h

  Log Message:
  -----------
  bap: Add helpers to convert iso_qos to/from bap_qos

This adds public BAP helpers to convert iso_qos to bap_qos and reversed.
This is needed for the BASS plugin to handle the Scan Delegator (BASS
Server) role internally (to create/handle BAP streams when receiving the
Add Source command from a Broadcast Assistant).


  Commit: 66a83fde5c4932d57e0eb084d35ad1374d331e17
      https://github.com/bluez/bluez/commit/66a83fde5c4932d57e0eb084d35ad1374d331e17
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bass.c
    M profiles/audio/bass.h

  Log Message:
  -----------
  bap: Rework BASE parsing

This replaces the internal parse_base with bt_bap_parse_base from
shared/bap. A bis callback is added to handle parsed streams.

The Broadcast Assistant implementation in the BASS plugin is also
updated to use bap qos instead of iso qos, since the BISes are
now parsed along with bap qos structure.


  Commit: 3babeefa17b60ff34a4859ab0e7f9b637e307575
      https://github.com/bluez/bluez/commit/3babeefa17b60ff34a4859ab0e7f9b637e307575
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bap.h

  Log Message:
  -----------
  bap: Make default PA sync QoS public

This make the default BAP QoS parameters for PA Create Sync public,
to be available to other plugins that might need to listen for
Broadcasters (like BASS).


  Commit: ac56526b7e392453f6d20e18abecfbb8f88bd1d6
      https://github.com/bluez/bluez/commit/ac56526b7e392453f6d20e18abecfbb8f88bd1d6
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bass.c
    M profiles/audio/bass.h

  Log Message:
  -----------
  bass: Rework Scan Delegator to handle BAP streams

This updates the Scan Delegator implementation to be handled internally in
BASS: The BASS Server is responsible to handle Write Commands for the Add
Source operation by creating long-lived PA sync, parsing the BASE,
creating and configuring BAP streams, as well as enabling them.


  Commit: e618932b968fd021a532588bf26612a64cc3d5fa
      https://github.com/bluez/bluez/commit/e618932b968fd021a532588bf26612a64cc3d5fa
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bap.h

  Log Message:
  -----------
  bap: Remove API to probe device from BASS

This removes the BAP API to probe broadcasters from BASS, since BASS is
now directly adding the Broadcast Audio Announcement Service UUID to the
broadcaster device, and it will internally handle the probe.


  Commit: e59a915db9d8e274bc2aa8214a920c8abe72203f
      https://github.com/bluez/bluez/commit/e59a915db9d8e274bc2aa8214a920c8abe72203f
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M profiles/audio/bap.c

  Log Message:
  -----------
  bap: Remove PA idle timer logic

This removes BAP support for long-lived PA sync (added for Scan Delegator
support), since it is now handled inside the BASS plugin. This also
removes the PA idle timer logic, since PA/BIG sync requests are now
ordered inside the kernel.


Compare: https://github.com/bluez/bluez/compare/5c65356cae64...e59a915db9d8

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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux