[bluez/bluez] 9b631e: lib: Add constant for 16 bits transparent voice se...

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 9b631e09e943d6a3b248f0210e4f785a1cc48c25
      https://github.com/bluez/bluez/commit/9b631e09e943d6a3b248f0210e4f785a1cc48c25
  Author: Frédéric Danis <frederic.danis@xxxxxxxxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M lib/bluetooth.h

  Log Message:
  -----------
  lib: Add constant for 16 bits transparent voice setting

Add 16 bits, 2s complement, transparent air coding format for mSBC.
Corresponding commit implements functionality on kernel side.

The voice setting is used by sco_connect() or sco_conn_defer_accept()
after being set by sco_sock_setsockopt().

The PCM part of the voice setting is used for offload mode through PCM
chipset port.
This commits add support for mSBC 16 bits offloading, i.e. audio data
not transported over HCI.

The BCM4349B1 supports 16 bits transparent data on its I2S port.
If BT_VOICE_TRANSPARENT is used when accepting a SCO connection, this
gives only garbage audio while using BT_VOICE_TRANSPARENT_16BIT gives
correct audio.
This has been tested with connection to iPhone 14 and Samsung S24.


  Commit: ff07f10ee4da3d16b3be84c0acff231d2b152948
      https://github.com/bluez/bluez/commit/ff07f10ee4da3d16b3be84c0acff231d2b152948
  Author: Frédéric Danis <frederic.danis@xxxxxxxxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M tools/sco-tester.c

  Log Message:
  -----------
  sco-tester: Add test for BT_VOICE_TRANSPARENT_16BIT constant

This test checks that BT_VOICE_TRANSPARENT_16BIT voice settings can
be set and get using [set|get]sockopt().


  Commit: 3db67f12c69e8914d3e47ff727b6d992ff31ccca
      https://github.com/bluez/bluez/commit/3db67f12c69e8914d3e47ff727b6d992ff31ccca
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

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

  Log Message:
  -----------
  lib: Add BT_ISO_SYNC_FACTOR

This defines the default sync factor value to be used by ISO Broadcasters.


  Commit: bd2f851be865e8c1718e6397f390dd000f8121fd
      https://github.com/bluez/bluez/commit/bd2f851be865e8c1718e6397f390dd000f8121fd
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M client/player.c
    M client/scripts/broadcast-source.bt

  Log Message:
  -----------
  client/player: Make QoS sync_factor configurable

This adds a new user input prompt when configuring a Broadcast Source
endpoint, to configure a QoS sync_factor value. This is useful for the
user to adjust how frequent PA announcements should be sent by the
Source, depending on scenario, instead of always using a hardcoded
value.

[bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0
                             /local/endpoint/ep0 16_2_1
[/local/endpoint/ep0] BIG (auto/value): 1
[/local/endpoint/ep0] Enter sync factor (value/auto): 2
[/local/endpoint/ep0] Enter channel location (value/no): 1
[/local/endpoint/ep0] Enter Metadata (value/no): no

The PA interval is chosen as the BIG SDU interval multiplied by
sync_factor:

< HCI Command: LE Set Periodic Advertising Parameters (0x08|0x003e)
        Handle: 1
        Min interval: 20.00 msec (0x0010)
        Max interval: 20.00 msec (0x0010)
        Properties: 0x0000
> HCI Event: Command Complete (0x0e)
      LE Set Periodic Advertising Parameters (0x08|0x003e)
        Status: Success (0x00)

< HCI Command: LE Create Broadcast Isochronous Group (0x08|0x0068)
        Handle: 0x01
        Advertising Handle: 0x01
        Number of BIS: 1
        SDU Interval: 10000 us (0x002710)
        Maximum SDU size: 40
        Maximum Latency: 10 ms (0x000a)
        RTN: 0x02
        PHY: LE 2M (0x02)
        Packing: Sequential (0x00)
        Framing: Unframed (0x00)
        Encryption: 0x00
        Broadcast Code[16]: 0102680553f1415aa265bbafc6ea03b8
> HCI Event: Command Status (0x0f)
      LE Create Broadcast Isochronous Group (0x08|0x0068)
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e)
      LE Broadcast Isochronous Group Complete (0x1b)
        Status: Success (0x00)
        Handle: 0x01
        BIG Synchronization Delay: 912 us (0x000390)
        Transport Latency: 912 us (0x000390)
        PHY: LE 2M (0x02)
        NSE: 3
        BN: 1
        PTO: 0
        IRC: 3
        Maximum PDU: 40
        ISO Interval: 10.00 msec (0x0008)
        Connection Handle #0: 6

This also updates the broadcast-source.bt script, to include a new
input value for sync_factor.


  Commit: ead7f4028a1033d02e675e23c653f63218027349
      https://github.com/bluez/bluez/commit/ead7f4028a1033d02e675e23c653f63218027349
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M profiles/audio/bap.c

  Log Message:
  -----------
  bap: Do not allow BIS QoS mismatch

For Broadcast Source streams, QoS parameters are used for configuring
the PA and BIG. All parameters provided to the LE Create BIG command
are the same for all BISes (Core v5.3, vol.4, part E, page 2573).
Likewise, since the PA train is associated with the BIG, it is unique
for all included BISes. Thus, a stream should not be configured if the
QoS parameters do not match the global BIG configuration.

This commit adds a QoS check before a new stream is configured, to make
sure that all streams share the same settings.


  Commit: c2caa26a4d621ad9fc2def9325d7ef8fad81ebdc
      https://github.com/bluez/bluez/commit/c2caa26a4d621ad9fc2def9325d7ef8fad81ebdc
  Author: Amisha Jain <quic_amisjain@xxxxxxxxxxx>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M tools/obexctl.c

  Log Message:
  -----------
  obexctl: Enable Map folderlisting operation from obexctl

This change is required for passing below PTS testcase -

1) MAP/MCE/MMB/BV-01-C
Verify that the MCE can retrieve a Folders Listing on the MSE.

As of now, user is able to initiate only map messagelisting
operation with command 'ls <folder_name>' and there is no way to initiate
folder listing with 'ls' command as second argument <options> is
set as compulsary.
In the obexctl code, map folderlisting gets triggered only when there is no
arguments followed by 'ls' command.
Therefore in 'ls' command, make the second argument as optional.

This change will also enable pbap vcard listing operation which also
gets triggered with 'ls' command with no args.


Compare: https://github.com/bluez/bluez/compare/92f3a3b108c2...c2caa26a4d62

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