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 c6b1ea9efb7220341e415d2277a2629fbe0a8b39 Author: Andrzej Kaczmarek <[email protected]> AuthorDate: Mon Feb 17 18:36:40 2025 +0100 nimble/ll: Fix DLE without coded phy Requested max time should be limited to 2120us if LL doesn't support coded phy. --- nimble/controller/src/ble_ll_conn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nimble/controller/src/ble_ll_conn.c b/nimble/controller/src/ble_ll_conn.c index 90d5a8cac..1864f8f36 100644 --- a/nimble/controller/src/ble_ll_conn.c +++ b/nimble/controller/src/ble_ll_conn.c @@ -1838,6 +1838,9 @@ ble_ll_conn_set_data_len(struct ble_ll_conn_sm *connsm, tx_time = MIN(tx_time, BLE_LL_CONN_SUPP_TIME_MAX_UNCODED); rx_time = MIN(rx_time, BLE_LL_CONN_SUPP_TIME_MAX_UNCODED); } +#else + tx_time = MIN(tx_time, BLE_LL_CONN_SUPP_TIME_MAX_UNCODED); + rx_time = MIN(rx_time, BLE_LL_CONN_SUPP_TIME_MAX_UNCODED); #endif if (connsm->max_tx_time != tx_time) {
