From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-21.smtp.github.com (out-21.smtp.github.com [192.30.252.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6B452AE6D for ; Thu, 12 Jun 2025 05:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.30.252.204 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749707190; cv=none; b=o8gCZMFZbYiRbKeo5J+rDsHXIZGXw5YpwnLKmf6FDdMESijuTS6GrAfnrwmbbLopcKd5XPQAiVO29gdcG6VkECS45o7eL4f2QvIV8YzbkFWi5c/flWcoQw6lNAdUXQz1Spoulb3ZHRZ2g4atHe8EkYeNkm1xHU7Vrb7YlWccjns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749707190; c=relaxed/simple; bh=e4wjWcarrlWwpIQPSRsKVxpcMVNmQqPO5+jvIm83uf0=; h=Date:From:To:Message-ID:Subject:Mime-Version:Content-Type; b=iVIDdQgSBYR75OHJyaDrGLAib/aO2Mnge9GrfeZpePABq1llCJbIcuGr3pDBg6V7bMwdBOcyRlTjmvdGD3gMWf5pQ+n1VGcgMPVOhPFjRWq+VcMiuMSrqDzo3x2kVGom/SOrlcHH1lL52qHLbYJXZiBAk3zY7KbDair+35MFeLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=github.com; spf=pass smtp.mailfrom=github.com; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=LsMpZRn1; arc=none smtp.client-ip=192.30.252.204 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=github.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=github.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b="LsMpZRn1" Received: from github.com (hubbernetes-node-6bf96a3.ac4-iad.github.net [10.52.206.50]) by smtp.github.com (Postfix) with ESMTPA id DAA9070094E for ; Wed, 11 Jun 2025 22:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1749707187; bh=oz8hRcdQKgoV0Ox44FJexRQurp8ulNu1uRyzECaLc98=; h=Date:From:To:Subject:List-Unsubscribe:From; b=LsMpZRn1jzZ6VWSXu9xKullpdeDxQskVft0LufQ6Epbj78C8r0eqQYnMGHQGWgFt/ bW85+Smk5p4aOjWUbBONggphVZeKS7BmqXmmF3twvYpjoEbfDKPNWT9Q2k+zkBiLqe VfkHnMEBwhTMmpsIZF1+LVKtdm3KhjDdOJk7UruA= Date: Wed, 11 Jun 2025 22:46:27 -0700 From: "github-actions[bot]" To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] 9603de: bass: support for encrypted broadcast source Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All Branch: refs/heads/971158 Home: https://github.com/bluez/bluez Commit: 9603de6e8ec445d4528056957e56c784bd7834d3 https://github.com/bluez/bluez/commit/9603de6e8ec445d4528056957e56c784bd7834d3 Author: Yang Li Date: 2025-06-12 (Thu, 12 Jun 2025) Changed paths: M profiles/audio/bass.c Log Message: ----------- bass: support for encrypted broadcast source If the BIS is encrypted as indicated in the BIG Info Report, the broadcast code needs to be requested from the Assistant. step 1: Broadcast_Code required > HCI Event: LE Meta Event (0x3e) plen 20 #631 [hci0] 27.176606 LE Broadcast Isochronous Group Info Advertising Report (0x22) Sync Handle: 0x0000 Number BIS: 2 NSE: 8 ISO Interval: 20.00 msec (0x0010) BN: 2 PTO: 2 IRC: 2 Maximum PDU: 60 SDU Interval: 10000 us (0x002710) Maximum SDU: 60 PHY: LE 2M (0x02) Framing: Unframed (0x00) Encryption: 0x01 < ACL Data TX: Handle 16 flags 0x00 dlen 44 #633 [hci0] 27.184478 ATT: Handle Value Notification (0x1b) len 39 Handle: 0x005f Type: Broadcast Receive State (0x2bc8) Data[37]: 01016698a411bb13019f103b02010100000000110d03506978656c20395f32303938020502 Source_ID: 1 Source_Address_Type: 1 Source_Address: 13:BB:11:A4:98:66 Source_Adv_SID: 1 Broadcast_ID: 0x3b109f PA_Sync_State: Synchronized to PA BIG_Encryption: Broadcast_Code required Num_Subgroups: 1 Subgroup #0: BIS_Sync State: 0x00000000 Metadata: #0: len 0x0d type 0x03 Metadata: 50 69 78 65 6c 20 39 5f 32 30 39 38 Pixel 9_2098 Metadata: #1: len 0x02 type 0x05 Metadata: 02 > ACL Data RX: Handle 16 flags 0x02 dlen 25 #636 [hci0] 27.455744 ATT: Write Command (0x52) len 20 Handle: 0x0065 Type: Broadcast Audio Scan Control Point (0x2bc7) Data[18]: 04013a4931614b3a2b7c4b7431722b666724 Opcode: Set Broadcast_Code (0x04) Source_ID: 1 Broadcast_Code[16]: 3a4931614b3a2b7c4b7431722b666724 step 2: Set Broadcast Code when BIG Create Sync < HCI Command: LE Broadcast Isoc.. (0x08|0x006b) plen 26 #641 [hci0] 27.669211 BIG Handle: 0x00 BIG Sync Handle: 0x0000 Encryption: Encrypted (0x01) Broadcast Code[16]: 3a4931614b3a2b7c4b7431722b666724 Maximum Number Subevents: 0x00 Timeout: 20000 ms (0x07d0) Number of BIS: 2 BIS ID: 0x01 BIS ID: 0x02 Fixes: https://github.com/bluez/bluez/issues/1306 Commit: 5d59e01b3a664b0ebdc0f86346c7516f736ed51f https://github.com/bluez/bluez/commit/5d59e01b3a664b0ebdc0f86346c7516f736ed51f Author: Yang Li Date: 2025-06-12 (Thu, 12 Jun 2025) Changed paths: M src/shared/bass.c Log Message: ----------- shared/bass: Move cb->handle earlier in the flow This change ensures cb->handle is executed even if the function returns early in the attribute_notify section. It also allows the stream status to be updated before notifying the client, improving efficiency. Compare: https://github.com/bluez/bluez/compare/9603de6e8ec4%5E...5d59e01b3a66 To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications