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 2022/09/08 09:58:59 UTC

[mynewt-nimble] 01/02: nimble/ll: Set default ACL buffer size to 251

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

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

commit fbe82de8f7abf7d8b701a01592598ccbd3fb3c9b
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Sep 5 09:30:24 2022 +0200

    nimble/ll: Set default ACL buffer size to 251
    
    This controls only data part of packet and thus should not include
    ACL header size. Set default to 251 to avoid unnecessary packets
    fragmentation.
---
 nimble/transport/syscfg.yml                                        | 2 +-
 tools/hci_throughput/targets/nordic_pca10040_blehci/syscfg.yml     | 1 -
 tools/hci_throughput/targets/nordic_pca10056_blehci/syscfg.yml     | 1 -
 tools/hci_throughput/targets/nordic_pca10059_blehci/syscfg.yml     | 1 -
 tools/hci_throughput/targets/nordic_pca10095_app_blehci/syscfg.yml | 1 -
 tools/hci_throughput/targets/nordic_pca10095_net_blehci/syscfg.yml | 1 -
 6 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/nimble/transport/syscfg.yml b/nimble/transport/syscfg.yml
index a4ae6d56..becd81d6 100644
--- a/nimble/transport/syscfg.yml
+++ b/nimble/transport/syscfg.yml
@@ -57,7 +57,7 @@ syscfg.defs:
         value: 10
     BLE_TRANSPORT_ACL_SIZE:
         description: Size of each buffer in ACL pool.
-        value: 255
+        value: 251
     BLE_TRANSPORT_EVT_COUNT:
         description: >
             Number of event buffers available in transport.
diff --git a/tools/hci_throughput/targets/nordic_pca10040_blehci/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10040_blehci/syscfg.yml
index 4de2fdd2..1c2bbee2 100644
--- a/tools/hci_throughput/targets/nordic_pca10040_blehci/syscfg.yml
+++ b/tools/hci_throughput/targets/nordic_pca10040_blehci/syscfg.yml
@@ -24,5 +24,4 @@ syscfg.vals:
   MSYS_1_BLOCK_COUNT: 80
   MSYS_1_BLOCK_SIZE: 308
   BLE_TRANSPORT_ACL_COUNT: 80
-  BLE_TRANSPORT_ACL_SIZE: 255
 
diff --git a/tools/hci_throughput/targets/nordic_pca10056_blehci/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10056_blehci/syscfg.yml
index 61f14a78..1c65d055 100644
--- a/tools/hci_throughput/targets/nordic_pca10056_blehci/syscfg.yml
+++ b/tools/hci_throughput/targets/nordic_pca10056_blehci/syscfg.yml
@@ -29,4 +29,3 @@ syscfg.vals:
   MSYS_1_BLOCK_COUNT: 80
   MSYS_1_BLOCK_SIZE: 308
   BLE_TRANSPORT_ACL_COUNT: 80
-  BLE_TRANSPORT_ACL_SIZE: 255
\ No newline at end of file
diff --git a/tools/hci_throughput/targets/nordic_pca10059_blehci/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10059_blehci/syscfg.yml
index f27e8c0b..6fc26b9d 100644
--- a/tools/hci_throughput/targets/nordic_pca10059_blehci/syscfg.yml
+++ b/tools/hci_throughput/targets/nordic_pca10059_blehci/syscfg.yml
@@ -29,4 +29,3 @@ syscfg.vals:
   MSYS_1_BLOCK_COUNT: 80
   MSYS_1_BLOCK_SIZE: 308
   BLE_TRANSPORT_ACL_COUNT: 80
-  BLE_TRANSPORT_ACL_SIZE: 255
\ No newline at end of file
diff --git a/tools/hci_throughput/targets/nordic_pca10095_app_blehci/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10095_app_blehci/syscfg.yml
index ad339934..c7ff62bb 100644
--- a/tools/hci_throughput/targets/nordic_pca10095_app_blehci/syscfg.yml
+++ b/tools/hci_throughput/targets/nordic_pca10095_app_blehci/syscfg.yml
@@ -33,7 +33,6 @@ syscfg.vals:
     USBD_WINDOWS_COMP_ID: 1
 
     BLE_TRANSPORT_ACL_COUNT: 80
-    BLE_TRANSPORT_ACL_SIZE: 255
     MSYS_1_BLOCK_COUNT: 80
     MSYS_1_BLOCK_SIZE: 308
     IPC_NRF5340_BUF_SZ: 3072
diff --git a/tools/hci_throughput/targets/nordic_pca10095_net_blehci/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10095_net_blehci/syscfg.yml
index a086199a..7f0b5b60 100644
--- a/tools/hci_throughput/targets/nordic_pca10095_net_blehci/syscfg.yml
+++ b/tools/hci_throughput/targets/nordic_pca10095_net_blehci/syscfg.yml
@@ -28,7 +28,6 @@ syscfg.vals:
     BLE_LL_HCI_VS_EVENT_ON_ASSERT: 1
 
     BLE_TRANSPORT_ACL_COUNT: 80
-    BLE_TRANSPORT_ACL_SIZE: 255
     MSYS_1_BLOCK_COUNT: 80
     MSYS_1_BLOCK_SIZE: 308
     IPC_NRF5340_BUF_SZ: 3072