From bcf09622cb4f8c1a2845b562800457c14f9d4bfe Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Fri, 15 Nov 2019 14:36:48 +0100 Subject: [PATCH] npl/riot/syscfg: fix BLE_LL_CONN_INIT_MAX_TX_BYTES Currently, the default value of BLE_LL_CONN_INIT_MAX_TX_BYTES is set to 27, preventing the LL data length extension to work properly in RIOT (TX octets always set to 27). With this fix the controller is applying the desired TX octets values as defined by BLE_LL_MAX_PKT_SIZE. --- porting/npl/riot/include/syscfg/syscfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porting/npl/riot/include/syscfg/syscfg.h b/porting/npl/riot/include/syscfg/syscfg.h index 47e928c86..bac73b6e3 100644 --- a/porting/npl/riot/include/syscfg/syscfg.h +++ b/porting/npl/riot/include/syscfg/syscfg.h @@ -502,7 +502,7 @@ #endif #ifndef MYNEWT_VAL_BLE_LL_CONN_INIT_MAX_TX_BYTES -#define MYNEWT_VAL_BLE_LL_CONN_INIT_MAX_TX_BYTES (27) +#define MYNEWT_VAL_BLE_LL_CONN_INIT_MAX_TX_BYTES (MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE) #endif #ifndef MYNEWT_VAL_BLE_LL_CONN_INIT_MIN_WIN_OFFSET