You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2026/10/21 13:01:13 UTC

(mynewt-nimble) branch master updated (ae79cca82 -> ed17f0a5a)

This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


    from ae79cca82 nimble/audio/pacs: Fix NULL dereference on PAC read
     new 408e1adf9 nimble/ll: Fix Channel Sounding BLE_VERSION restriction
     new ed17f0a5a nimble/host: Fix Channel Sounding BLE_VERSION requirements

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 nimble/controller/syscfg.yml      | 2 +-
 nimble/controller/test/syscfg.yml | 2 +-
 nimble/host/src/ble_hs_startup.c  | 2 +-
 nimble/syscfg.yml                 | 2 ++
 4 files changed, 5 insertions(+), 3 deletions(-)


(mynewt-nimble) 02/02: nimble/host: Fix Channel Sounding BLE_VERSION requirements

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit ed17f0a5a9d05ecdb49d099ba94e8f29335df8cf
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Sat Oct 10 12:39:34 2026 +0200

    nimble/host: Fix Channel Sounding BLE_VERSION requirements
    
    Channel Sounding was introduced in Bluetooth Core 6.0. Add syscfg
    restriction and enable Channel Sounding events only if controller
    supports Core 6.0 or later.
    
    Assisted-by: Claude:claude-opus-5-5
---
 nimble/host/src/ble_hs_startup.c | 2 +-
 nimble/syscfg.yml                | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/nimble/host/src/ble_hs_startup.c b/nimble/host/src/ble_hs_startup.c
index 2f95880be..7a74e478b 100644
--- a/nimble/host/src/ble_hs_startup.c
+++ b/nimble/host/src/ble_hs_startup.c
@@ -314,7 +314,7 @@ ble_hs_startup_le_set_evmask_tx(void)
 #endif
 
 #if MYNEWT_VAL(BLE_CHANNEL_SOUNDING)
-    if (version >= BLE_HCI_VER_BCS_5_4) {
+    if (version >= BLE_HCI_VER_BCS_6_0) {
         /**
          * Enable the following LE events:
          * 0x0000080000000000 LE CS Read Remote Supported Capabilities Complete event
diff --git a/nimble/syscfg.yml b/nimble/syscfg.yml
index f78f631b5..f4fdb4e9b 100644
--- a/nimble/syscfg.yml
+++ b/nimble/syscfg.yml
@@ -119,6 +119,8 @@ syscfg.defs:
         description: >
             This enables Channel Sounding feature
         value: 0
+        restrictions:
+            - '(BLE_VERSION >= 60) if 1'
 
     BLE_HCI_VS:
         description: >


(mynewt-nimble) 01/02: nimble/ll: Fix Channel Sounding BLE_VERSION restriction

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 408e1adf96976a4f786d20cb8943bfb8e66e0e88
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Sat Oct 10 12:39:34 2026 +0200

    nimble/ll: Fix Channel Sounding BLE_VERSION restriction
    
    Channel Sounding was introduced in Bluetooth Core 6.0, not 5.4. Update
    syscfg restriction and controller unit test configuration accordingly.
    
    Assisted-by: Claude:claude-opus-5-5
---
 nimble/controller/syscfg.yml      | 2 +-
 nimble/controller/test/syscfg.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nimble/controller/syscfg.yml b/nimble/controller/syscfg.yml
index 499a1e46d..b41c5d5d1 100644
--- a/nimble/controller/syscfg.yml
+++ b/nimble/controller/syscfg.yml
@@ -577,7 +577,7 @@ syscfg.defs:
         description: >
             Enable support for Channel Sounding feature.
         restrictions:
-            - (BLE_VERSION >= 54) if 1
+            - (BLE_VERSION >= 60) if 1
         value: MYNEWT_VAL(BLE_CHANNEL_SOUNDING)
         state: experimental
 
diff --git a/nimble/controller/test/syscfg.yml b/nimble/controller/test/syscfg.yml
index c66da72ed..4242bc0f4 100644
--- a/nimble/controller/test/syscfg.yml
+++ b/nimble/controller/test/syscfg.yml
@@ -20,7 +20,7 @@ syscfg.vals:
     BLE_LL_CFG_FEAT_LE_CSA2: 1
     BLE_LL_ISO: 1
     BLE_LL_ISO_BROADCASTER: 1
-    BLE_VERSION: 54
+    BLE_VERSION: 60
     BLE_CONN_SUBRATING: 1
     BLE_EXT_ADV: 1
     BLE_PERIODIC_ADV: 1