Home
last modified time | relevance | path

Searched refs:max_rx_time (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c836 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
839 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
843 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
854 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
857 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
861 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
871 zassert_equal(conn.lll.dle.local.max_rx_time, 17040, "max_rx_time mismatch.\n"); in ZTEST()
874 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
878 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
888 zassert_equal(conn.lll.dle.local.max_rx_time, 17040, "max_rx_time mismatch.\n"); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_peripheral.c89 uint16_t max_rx_time; local
353 max_rx_time = lll->dle.eff.max_rx_time;
357 max_rx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M);
362 max_rx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M);
367 max_rx_time = MAX(max_rx_time,
375 max_rx_time = PDU_MAX_US(0U, 0U, lll->phy_rx);
379 max_rx_time = PDU_MAX_US(0U, 0U, PHY_1M);
395 slot_us = max_rx_time + max_tx_time;
Dull_central.c98 uint16_t max_rx_time; in ll_create_connection() local
352 conn_lll->dle.eff.max_rx_time = MAX(conn_lll->dle.eff.max_rx_time, in ll_create_connection()
357 max_rx_time = conn_lll->dle.eff.max_rx_time; in ll_create_connection()
360 max_rx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M); in ll_create_connection()
364 max_rx_time = MAX(max_rx_time, in ll_create_connection()
370 slot_us = max_tx_time + max_rx_time; in ll_create_connection()
Dull_conn.c618 uint16_t *max_rx_octets, uint16_t *max_rx_time) in ll_length_max_get() argument
628 *max_rx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_RX_MAX, PHY); in ll_length_max_get()
1312 rx_time = lll->dle.eff.max_rx_time; in ull_conn_done()
2277 uint16_t max_rx_time; in ull_conn_update_parameters() local
2289 max_rx_time = lll->dle.eff.max_rx_time; in ull_conn_update_parameters()
2295 max_rx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M); in ull_conn_update_parameters()
2298 max_rx_time = MAX(max_rx_time, PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_rx)); in ull_conn_update_parameters()
2305 slot_us = max_tx_time + max_rx_time; in ull_conn_update_parameters()
2476 static inline void dle_max_time_get(struct ll_conn *conn, uint16_t *max_rx_time, in dle_max_time_get() argument
2509 *max_rx_time = rx_time; in dle_max_time_get()
[all …]
Dull_sched.c708 uint16_t max_rx_time; in ull_hdr_get_cb() local
723 max_rx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_RX_MAX, in ull_hdr_get_cb()
728 max_rx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_RX_MAX, in ull_hdr_get_cb()
734 ready_delay_us + max_rx_time + in ull_hdr_get_cb()
Dull_llcp_phy.c289 uint16_t eff_rx_time = lll->dle.eff.max_rx_time; in pu_update_eff_times()
290 uint16_t max_rx_time, max_tx_time; in pu_update_eff_times() local
292 ull_dle_max_time_get(conn, &max_rx_time, &max_tx_time); in pu_update_eff_times()
302 pu_calc_eff_time(lll->dle.eff.max_rx_octets, lll->phy_rx, max_rx_time); in pu_update_eff_times()
307 (eff_rx_time > lll->dle.eff.max_rx_time) || in pu_update_eff_times()
308 (lll->dle.eff.max_rx_time > max_rx_time)) { in pu_update_eff_times()
310 lll->dle.eff.max_rx_time = eff_rx_time; in pu_update_eff_times()
Dlll_conn.h36 uint16_t max_rx_time; member
Dull_conn_internal.h104 void ull_dle_max_time_get(struct ll_conn *conn, uint16_t *max_rx_time,
Dull_llcp_pdu.c639 p->max_rx_time = sys_cpu_to_le16(dle->max_rx_time); in encode_length_req_rsp_common()
680 if (!IN_RANGE(remote->max_rx_time, PDU_DC_PAYLOAD_TIME_MIN, in dle_remote_valid()
690 if (!IN_RANGE(remote->max_rx_time, PDU_DC_PAYLOAD_TIME_MIN, in dle_remote_valid()
710 remote.max_rx_time = sys_le16_to_cpu(p->max_rx_time); in decode_length_req_rsp_common()
Dpdu.h766 uint16_t max_rx_time; member
773 uint16_t max_rx_time; member
785 uint16_t max_rx_time; member
Dull_llcp_common.c804 ull_dle_max_time_get(conn, &conn->lll.dle.local.max_rx_time,
984 ull_dle_max_time_get(conn, &conn->lll.dle.local.max_rx_time,
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c302 uint16_t max_rx_octets, max_rx_time; in ZTEST() local
320 ll_length_max_get(&max_tx_octets, &max_tx_time, &max_rx_octets, &max_rx_time); in ZTEST()
324 zassert_equal(max_rx_time, 17040, "Actual time is %d", max_rx_time); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c363 pdu->llctrl.length_req.max_rx_time = p->max_rx_time; in helper_pdu_encode_length_req()
378 pdu->llctrl.length_req.max_rx_time = p->max_rx_time; in helper_pdu_encode_length_rsp()
1020 zassert_equal(pdu->llctrl.length_req.max_rx_time, p->max_rx_time, in helper_pdu_verify_length_req()
1043 zassert_equal(pdu->llctrl.length_rsp.max_rx_time, p->max_rx_time, in helper_pdu_verify_length_rsp()
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c115 conn.lll.dle.remote.max_rx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_rx_octets, in collision_setup()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.c1751 uint16_t max_rx_time = sys_le16_to_cpu(evt->max_rx_time); in le_data_len_change() local
1762 if (!IN_RANGE(max_rx_time, BT_HCI_LE_MAX_RX_TIME_MIN, BT_HCI_LE_MAX_RX_TIME_MAX)) { in le_data_len_change()
1763 LOG_WRN("max_rx_time exceeds the valid range %u", max_rx_time); in le_data_len_change()
1767 max_rx_time); in le_data_len_change()
1772 conn->le.data_len.rx_max_time = max_rx_time; in le_data_len_change()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c1581 conn_lll->dle.eff.max_rx_time = MAX(conn_lll->dle.eff.max_rx_time,
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c77 conn.lll.dle.remote.max_rx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_rx_octets, in phy_setup()
136 conn.lll.dle.eff.max_rx_time = 0; in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h277 uint16_t *const max_rx_time);
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c832 conn.lll.dle.remote.max_rx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_rx_octets, PHY_1M); in phy_update_setup()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2657 uint16_t max_rx_time; in le_read_max_data_len() local
2662 &max_rx_octets, &max_rx_time); in le_read_max_data_len()
2667 rp->max_rx_time = sys_cpu_to_le16(max_rx_time); in le_read_max_data_len()
8968 sep->max_rx_time = pdu_data->llctrl.length_rsp.max_rx_time;
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_types.h1421 uint16_t max_rx_time; member
3113 uint16_t max_rx_time; member