Lines Matching refs:dle
1311 tx_time = lll->dle.eff.max_tx_time; in ull_conn_done()
1312 rx_time = lll->dle.eff.max_rx_time; in ull_conn_done()
1331 tx_time = PDU_DC_MAX_US(lll->dle.eff.max_tx_octets, 0); in ull_conn_done()
1332 rx_time = PDU_DC_MAX_US(lll->dle.eff.max_rx_octets, 0); in ull_conn_done()
1575 max_tx_octets = (lll->dle.eff.max_tx_time >> 3) - 10; in ull_conn_lll_max_tx_octets_get()
1583 max_tx_octets = (lll->dle.eff.max_tx_time >> 2) - 11; in ull_conn_lll_max_tx_octets_get()
1596 max_tx_octets = ((lll->dle.eff.max_tx_time - 592) >> in ull_conn_lll_max_tx_octets_get()
1606 max_tx_octets = ((lll->dle.eff.max_tx_time - 430) >> in ull_conn_lll_max_tx_octets_get()
1620 if (max_tx_octets > lll->dle.eff.max_tx_octets) { in ull_conn_lll_max_tx_octets_get()
1621 max_tx_octets = lll->dle.eff.max_tx_octets; in ull_conn_lll_max_tx_octets_get()
1625 max_tx_octets = lll->dle.eff.max_tx_octets; in ull_conn_lll_max_tx_octets_get()
2288 max_tx_time = lll->dle.eff.max_tx_time; in ull_conn_update_parameters()
2289 max_rx_time = lll->dle.eff.max_rx_time; in ull_conn_update_parameters()
2496 tx_time = MIN(conn->lll.dle.default_tx_time, in dle_max_time_get()
2499 tx_time = PDU_DC_MAX_US(conn->lll.dle.default_tx_octets, phy_select); in dle_max_time_get()
2545 MAX(MIN(conn->lll.dle.local.max_rx_octets, conn->lll.dle.remote.max_tx_octets), in ull_dle_update_eff_rx()
2553 MAX(MIN(conn->lll.dle.local.max_rx_time, conn->lll.dle.remote.max_tx_time), in ull_dle_update_eff_rx()
2556 if (eff_rx_time != conn->lll.dle.eff.max_rx_time) { in ull_dle_update_eff_rx()
2557 conn->lll.dle.eff.max_rx_time = eff_rx_time; in ull_dle_update_eff_rx()
2561 conn->lll.dle.eff.max_rx_time = PDU_DC_MAX_US(eff_rx_octets, PHY_1M); in ull_dle_update_eff_rx()
2564 if (eff_rx_octets != conn->lll.dle.eff.max_rx_octets) { in ull_dle_update_eff_rx()
2565 conn->lll.dle.eff.max_rx_octets = eff_rx_octets; in ull_dle_update_eff_rx()
2584 MAX(MIN(conn->lll.dle.local.max_tx_octets, conn->lll.dle.remote.max_rx_octets), in ull_dle_update_eff_tx()
2592 MAX(MIN(conn->lll.dle.local.max_tx_time, conn->lll.dle.remote.max_rx_time), in ull_dle_update_eff_tx()
2595 if (eff_tx_time != conn->lll.dle.eff.max_tx_time) { in ull_dle_update_eff_tx()
2596 conn->lll.dle.eff.max_tx_time = eff_tx_time; in ull_dle_update_eff_tx()
2600 conn->lll.dle.eff.max_tx_time = PDU_DC_MAX_US(eff_tx_octets, PHY_1M); in ull_dle_update_eff_tx()
2603 if (eff_tx_octets != conn->lll.dle.eff.max_tx_octets) { in ull_dle_update_eff_tx()
2604 conn->lll.dle.eff.max_tx_octets = eff_tx_octets; in ull_dle_update_eff_tx()
2644 conn->lll.dle.default_tx_octets = tx_octets; in ull_dle_local_tx_update()
2647 conn->lll.dle.default_tx_time = tx_time; in ull_dle_local_tx_update()
2650 dle_max_time_get(conn, &conn->lll.dle.local.max_rx_time, &conn->lll.dle.local.max_tx_time); in ull_dle_local_tx_update()
2651 conn->lll.dle.local.max_tx_octets = conn->lll.dle.default_tx_octets; in ull_dle_local_tx_update()
2662 memset(&conn->lll.dle, 0, sizeof(conn->lll.dle)); in ull_dle_init()
2668 conn->lll.dle.local.max_rx_octets = LL_LENGTH_OCTETS_RX_MAX; in ull_dle_init()
2670 conn->lll.dle.local.max_rx_time = max_time_max; in ull_dle_init()
2674 conn->lll.dle.remote.max_tx_octets = PDU_DC_PAYLOAD_SIZE_MIN; in ull_dle_init()
2675 conn->lll.dle.remote.max_rx_octets = PDU_DC_PAYLOAD_SIZE_MIN; in ull_dle_init()
2678 conn->lll.dle.remote.max_tx_time = max_time_min; in ull_dle_init()
2679 conn->lll.dle.remote.max_rx_time = max_time_min; in ull_dle_init()
2693 if ((conn->lll.dle.local.max_rx_time != max_time_min || in ull_dle_init()
2694 conn->lll.dle.local.max_tx_time != max_time_min)) { in ull_dle_init()
2695 conn->lll.dle.update = 1; in ull_dle_init()
2699 if (conn->lll.dle.local.max_tx_octets != PDU_DC_PAYLOAD_SIZE_MIN || in ull_dle_init()
2700 conn->lll.dle.local.max_rx_octets != PDU_DC_PAYLOAD_SIZE_MIN) { in ull_dle_init()
2701 conn->lll.dle.update = 1; in ull_dle_init()