You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2019/01/15 18:16:08 UTC

[mynewt-nimble] branch master updated: nimble/ll: Set BLE_LL_FEAT_DATA_LEN_EXT as initial feature

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0f3e7fa  nimble/ll: Set BLE_LL_FEAT_DATA_LEN_EXT as initial feature
0f3e7fa is described below

commit 0f3e7fa06fcbda468524db6f7142f5da29466a8b
Author: Ɓukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Jan 15 02:59:21 2019 +0100

    nimble/ll: Set BLE_LL_FEAT_DATA_LEN_EXT as initial feature
    
    We use it in case when Master does not initiate feature exchange.
    Note: When remote does not support it, then this bit will be cleared
    when handling LL_UNKNOWN_RSP.
    
    It fixes LL/CON/SLA/BV-79-C
---
 nimble/controller/include/controller/ble_ll.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/include/controller/ble_ll.h b/nimble/controller/include/controller/ble_ll.h
index 36685fd..f6d203f 100644
--- a/nimble/controller/include/controller/ble_ll.h
+++ b/nimble/controller/include/controller/ble_ll.h
@@ -237,7 +237,7 @@ extern STATS_SECT_DECL(ble_ll_stats) ble_ll_stats;
  * succeed, feature bit will be cleared.
  * Look at LL Features above to find out what is allowed
  */
-#define BLE_LL_CONN_INITIAL_FEATURES    (0x00000002)
+#define BLE_LL_CONN_INITIAL_FEATURES    (0x00000022)
 
 #define BLE_LL_CONN_CLEAR_FEATURE(connsm, feature)   (connsm->conn_features &= ~(feature))