You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2022/04/14 07:15:31 UTC

[mynewt-nimble] branch master updated (327d9326 -> da078e51)

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

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


    from 327d9326 nimble/sm: Ensure bonded flag is set in sm_result on new pair & bond.
     new d2d29154 nimble/ll: Move defunct and deprecated settings to separate file
     new da078e51 nimble/ll: Fix syscfg definition for css

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.defunct.yml | 78 ++++++++++++++++++++++++++++++++++++
 nimble/controller/syscfg.yml         | 67 +++----------------------------
 2 files changed, 84 insertions(+), 61 deletions(-)
 create mode 100644 nimble/controller/syscfg.defunct.yml


[mynewt-nimble] 02/02: nimble/ll: Fix syscfg definition for css

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

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

commit da078e51ed1647e691b21f8e6461bd0ad3092745
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Wed Apr 13 10:45:59 2022 +0200

    nimble/ll: Fix syscfg definition for css
---
 nimble/controller/syscfg.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/nimble/controller/syscfg.yml b/nimble/controller/syscfg.yml
index af41573b..6ff7bdb3 100644
--- a/nimble/controller/syscfg.yml
+++ b/nimble/controller/syscfg.yml
@@ -393,8 +393,11 @@ syscfg.defs:
             Enables support for vendor-specific HCI commands.
         value: MYNEWT_VAL(BLE_HCI_VS)
     BLE_LL_HCI_VS_CONN_STRICT_SCHED:
-        description: xxx
+        description: >
+            Enable HCI commands to control connection strict scheduling.
         value: 0
+        restrictions:
+            - BLE_LL_HCI_VS if 1
 
     BLE_LL_HCI_VS_EVENT_ON_ASSERT:
         description: >


[mynewt-nimble] 01/02: nimble/ll: Move defunct and deprecated settings to separate file

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

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

commit d2d29154bf267425087dd38e611d78f66bf7b91f
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Wed Apr 13 10:43:57 2022 +0200

    nimble/ll: Move defunct and deprecated settings to separate file
---
 nimble/controller/syscfg.defunct.yml | 78 ++++++++++++++++++++++++++++++++++++
 nimble/controller/syscfg.yml         | 62 +---------------------------
 2 files changed, 80 insertions(+), 60 deletions(-)

diff --git a/nimble/controller/syscfg.defunct.yml b/nimble/controller/syscfg.defunct.yml
new file mode 100644
index 00000000..da338458
--- /dev/null
+++ b/nimble/controller/syscfg.defunct.yml
@@ -0,0 +1,78 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+syscfg.defs:
+# deprecated settings (to be defunct/removed eventually)
+    BLE_LL_DIRECT_TEST_MODE:
+        description: use BLE_LL_DTM instead
+        value: 0
+        deprecated: 1
+    BLE_XTAL_SETTLE_TIME:
+        description: use BLE_LL_RFMGMT_ENABLE_TIME instead
+        value: 0
+        deprecated: 1
+    BLE_LL_OUR_SCA:
+        description: use BLE_LL_SCA instead
+        value: 60
+        deprecated: 1
+    BLE_LL_VND_EVENT_ON_ASSERT:
+        description: use BLE_LL_HCI_VS_EVENT_ON_ASSERT
+        value: 0
+        deprecated: 1
+    BLE_PUBLIC_DEV_ADDR:
+        description: use BLE_LL_PUBLIC_DEV_ADDR
+        value: "(uint8_t[6]){0x00, 0x00, 0x00, 0x00, 0x00, 0x00}"
+        deprecated: 1
+    BLE_LL_EXT_ADV_AUX_PTR_CNT:
+        description: use BLE_LL_SCAN_AUX_SEGMENT_CNT
+        value: 0
+        deprecated: 1
+
+# defunct settings (to be removed eventually)
+    BLE_DEVICE:
+        description: Superseded by BLE_CONTROLLER
+        value: 1
+        defunct: 1
+    BLE_LP_CLOCK:
+        description: Superseded by BLE_CONTROLLER
+        value: 1
+        defunct: 1
+    BLE_NUM_COMP_PKT_RATE:
+        description: Superseded by BLE_LL_NUM_COMP_PKT_ITVL_MS
+        value: '(2 * OS_TICKS_PER_SEC)'
+        defunct: 1
+    BLE_LL_MASTER_SCA:
+        description: use BLE_LL_SCA instead
+        value: 4
+        defunct: 1
+    BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG:
+        description: Superseded by BLE_LL_CFG_FEAT_PERIPH_INIT_FEAT_XCHG
+        value: 0
+        defaunt: 1
+    BLE_LL_STRICT_CONN_SCHEDULING:
+        description: Superseded by BLE_LL_CONN_STRICT_SCHED
+        value: 0
+        defunct: 1
+    BLE_LL_ADD_STRICT_SCHED_PERIODS:
+        description: Superseded by BLE_LL_CONN_STRICT_SCHED
+        value: 0
+        defunct: 1
+    BLE_LL_USECS_PER_PERIOD:
+        description: Superseded by BLE_LL_CONN_STRICT_SCHED
+        value: 0
+        defunct: 1
diff --git a/nimble/controller/syscfg.yml b/nimble/controller/syscfg.yml
index 1cd43355..af41573b 100644
--- a/nimble/controller/syscfg.yml
+++ b/nimble/controller/syscfg.yml
@@ -490,66 +490,6 @@ syscfg.defs:
         range: 1..257
         value: 32
 
-# deprecated settings (to be defunct/removed eventually)
-    BLE_LL_DIRECT_TEST_MODE:
-        description: use BLE_LL_DTM instead
-        value: 0
-        deprecated: 1
-    BLE_XTAL_SETTLE_TIME:
-        description: use BLE_LL_RFMGMT_ENABLE_TIME instead
-        value: 0
-        deprecated: 1
-    BLE_LL_OUR_SCA:
-        description: use BLE_LL_SCA instead
-        value: 60
-        deprecated: 1
-    BLE_LL_VND_EVENT_ON_ASSERT:
-        description: use BLE_LL_HCI_VS_EVENT_ON_ASSERT
-        value: 0
-        deprecated: 1
-    BLE_PUBLIC_DEV_ADDR:
-        description: use BLE_LL_PUBLIC_DEV_ADDR
-        value: "(uint8_t[6]){0x00, 0x00, 0x00, 0x00, 0x00, 0x00}"
-        deprecated: 1
-    BLE_LL_EXT_ADV_AUX_PTR_CNT:
-        description: use BLE_LL_SCAN_AUX_SEGMENT_CNT
-        value: 0
-        deprecated: 1
-
-# defunct settings (to be removed eventually)
-    BLE_DEVICE:
-        description: Superseded by BLE_CONTROLLER
-        value: 1
-        defunct: 1
-    BLE_LP_CLOCK:
-        description: Superseded by BLE_CONTROLLER
-        value: 1
-        defunct: 1
-    BLE_NUM_COMP_PKT_RATE:
-        description: Superseded by BLE_LL_NUM_COMP_PKT_ITVL_MS
-        value: '(2 * OS_TICKS_PER_SEC)'
-        defunct: 1
-    BLE_LL_MASTER_SCA:
-        description: use BLE_LL_SCA instead
-        value: 4
-        defunct: 1
-    BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG:
-        description: Superseded by BLE_LL_CFG_FEAT_PERIPH_INIT_FEAT_XCHG
-        value: 0
-        defaunt: 1
-    BLE_LL_STRICT_CONN_SCHEDULING:
-        description: Superseded by BLE_LL_CONN_STRICT_SCHED
-        value: 0
-        defunct: 1
-    BLE_LL_ADD_STRICT_SCHED_PERIODS:
-        description: Superseded by BLE_LL_CONN_STRICT_SCHED
-        value: 0
-        defunct: 1
-    BLE_LL_USECS_PER_PERIOD:
-        description: Superseded by BLE_LL_CONN_STRICT_SCHED
-        value: 0
-        defunct: 1
-
 syscfg.vals.BLE_LL_CFG_FEAT_LL_EXT_ADV:
     BLE_LL_CFG_FEAT_LE_CSA2: 1
     BLE_HW_WHITELIST_ENABLE: 0
@@ -567,5 +507,7 @@ syscfg.restrictions:
     - BLE_LL_LNA == 0 || BLE_LL_LNA_GPIO >= 0
 
 $import:
+    # defunct and deprecated settings
+    - "@apache-mynewt-nimble/nimble/controller/syscfg.defunct.yml"
     # "Here be dragons" settings
     - "@apache-mynewt-nimble/nimble/controller/syscfg.hbd.yml"