Home
last modified time | relevance | path

Searched refs:max_tx_time (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c837 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
840 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
844 zassert_equal(conn.lll.dle.local.max_tx_time, 1800, "max_tx_time mismatch.\n"); in ZTEST()
855 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
858 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
862 zassert_equal(conn.lll.dle.local.max_tx_time, 1800, "max_tx_time mismatch.\n"); in ZTEST()
872 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
875 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
879 zassert_equal(conn.lll.dle.local.max_tx_time, 1800, "max_tx_time mismatch.\n"); in ZTEST()
889 zassert_equal(conn.lll.dle.local.max_tx_time, 17040, "max_tx_time mismatch.\n"); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c301 uint16_t max_tx_octets, max_tx_time; in ZTEST() local
320 ll_length_max_get(&max_tx_octets, &max_tx_time, &max_rx_octets, &max_rx_time); in ZTEST()
323 zassert_equal(max_tx_time, 17040, "Actual time is %d", max_tx_time); in ZTEST()
327 ll_length_default_get(&max_tx_octets, &max_tx_time); in ZTEST()
330 zassert_equal(max_tx_time, 0x00); in ZTEST()
332 ll_length_default_get(&max_tx_octets, &max_tx_time); in ZTEST()
335 zassert_equal(max_tx_time, 0x3FF); in ZTEST()
337 max_tx_time = ull_conn_default_tx_time_get(); in ZTEST()
339 zassert_equal(max_tx_time, 0x3FF); in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_peripheral.c88 uint16_t max_tx_time; local
352 max_tx_time = lll->dle.eff.max_tx_time;
356 max_tx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M);
361 max_tx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M);
365 max_tx_time = MAX(max_tx_time,
374 max_tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx);
378 max_tx_time = PDU_MAX_US(0U, 0U, PHY_1M);
395 slot_us = max_rx_time + max_tx_time;
Dull_conn.c598 void ll_length_default_get(uint16_t *max_tx_octets, uint16_t *max_tx_time) in ll_length_default_get() argument
601 *max_tx_time = default_tx_time; in ll_length_default_get()
604 uint32_t ll_length_default_set(uint16_t max_tx_octets, uint16_t max_tx_time) in ll_length_default_set() argument
607 !ll_len_validate(max_tx_octets, max_tx_time)) { in ll_length_default_set()
612 default_tx_time = max_tx_time; in ll_length_default_set()
617 void ll_length_max_get(uint16_t *max_tx_octets, uint16_t *max_tx_time, in ll_length_max_get() argument
627 *max_tx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_RX_MAX, PHY); in ll_length_max_get()
1311 tx_time = lll->dle.eff.max_tx_time; 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()
[all …]
Dull_central.c97 uint16_t max_tx_time; in ll_create_connection() local
349 conn_lll->dle.eff.max_tx_time = MAX(conn_lll->dle.eff.max_tx_time, in ll_create_connection()
356 max_tx_time = conn_lll->dle.eff.max_tx_time; in ll_create_connection()
359 max_tx_time = PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, PHY_1M); in ll_create_connection()
362 max_tx_time = MAX(max_tx_time, in ll_create_connection()
370 slot_us = max_tx_time + max_rx_time; in ll_create_connection()
Dull_sched.c707 uint16_t max_tx_time; in ull_hdr_get_cb() local
721 max_tx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_TX_MAX, in ull_hdr_get_cb()
726 max_tx_time = PDU_DC_MAX_US(LL_LENGTH_OCTETS_TX_MAX, in ull_hdr_get_cb()
735 EVENT_IFS_US + max_tx_time + in ull_hdr_get_cb()
Dull_llcp_phy.c288 uint16_t eff_tx_time = lll->dle.eff.max_tx_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()
297 pu_calc_eff_time(lll->dle.eff.max_tx_octets, lll->phy_tx, max_tx_time); in pu_update_eff_times()
305 if ((eff_tx_time > lll->dle.eff.max_tx_time) || in pu_update_eff_times()
306 (lll->dle.eff.max_tx_time > max_tx_time) || in pu_update_eff_times()
309 lll->dle.eff.max_tx_time = eff_tx_time; in pu_update_eff_times()
Dlll_conn.h35 uint16_t max_tx_time; member
Dull_conn_internal.h105 uint16_t *max_tx_time);
Dull_llcp.h253 uint16_t max_tx_time);
Dull_llcp_pdu.c640 p->max_tx_time = sys_cpu_to_le16(dle->max_tx_time); in encode_length_req_rsp_common()
685 if (!IN_RANGE(remote->max_tx_time, PDU_DC_PAYLOAD_TIME_MIN, in dle_remote_valid()
695 if (!IN_RANGE(remote->max_tx_time, PDU_DC_PAYLOAD_TIME_MIN, in dle_remote_valid()
711 remote.max_tx_time = sys_le16_to_cpu(p->max_tx_time); in decode_length_req_rsp_common()
Dpdu.h768 uint16_t max_tx_time; member
775 uint16_t max_tx_time; member
787 uint16_t max_tx_time; member
Dull_llcp_common.c805 &conn->lll.dle.local.max_tx_time);
985 &conn->lll.dle.local.max_tx_time);
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h272 uint16_t *const max_tx_time);
273 uint32_t ll_length_default_set(uint16_t max_tx_octets, uint16_t max_tx_time);
275 uint16_t *const max_tx_time,
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c364 pdu->llctrl.length_req.max_tx_time = p->max_tx_time; in helper_pdu_encode_length_req()
379 pdu->llctrl.length_req.max_tx_time = p->max_tx_time; in helper_pdu_encode_length_rsp()
1022 zassert_equal(pdu->llctrl.length_req.max_tx_time, p->max_tx_time, in helper_pdu_verify_length_req()
1045 zassert_equal(pdu->llctrl.length_rsp.max_tx_time, p->max_tx_time, in helper_pdu_verify_length_rsp()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c370 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
383 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c392 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
405 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c416 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
429 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c372 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
385 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c384 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
397 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.c517 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in bt_hci_le_read_max_data_len()
1750 uint16_t max_tx_time = sys_le16_to_cpu(evt->max_tx_time); in le_data_len_change() local
1759 if (!IN_RANGE(max_tx_time, BT_HCI_LE_MAX_TX_TIME_MIN, BT_HCI_LE_MAX_TX_TIME_MAX)) { in le_data_len_change()
1760 LOG_WRN("max_tx_time exceeds the valid range %u", max_tx_time); in le_data_len_change()
1766 LOG_DBG("max. tx: %u (%uus), max. rx: %u (%uus)", max_tx_octets, max_tx_time, max_rx_octets, in le_data_len_change()
1770 conn->le.data_len.tx_max_time = max_tx_time; in le_data_len_change()
3646 cp->max_tx_time = sys_cpu_to_le16(tx_time); in le_init()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2625 uint16_t max_tx_time; in le_read_default_data_len() local
2629 ll_length_default_get(&max_tx_octets, &max_tx_time); in le_read_default_data_len()
2632 rp->max_tx_time = sys_cpu_to_le16(max_tx_time); in le_read_default_data_len()
2641 uint16_t max_tx_time; in le_write_default_data_len() local
2645 max_tx_time = sys_le16_to_cpu(cmd->max_tx_time); in le_write_default_data_len()
2646 status = ll_length_default_set(max_tx_octets, max_tx_time); in le_write_default_data_len()
2655 uint16_t max_tx_time; in le_read_max_data_len() local
2661 ll_length_max_get(&max_tx_octets, &max_tx_time, in le_read_max_data_len()
2665 rp->max_tx_time = sys_cpu_to_le16(max_tx_time); in le_read_max_data_len()
8966 sep->max_tx_time = pdu_data->llctrl.length_rsp.max_tx_time;
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c113 conn.lll.dle.remote.max_tx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_tx_octets, in collision_setup()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c1578 conn_lll->dle.eff.max_tx_time = MAX(conn_lll->dle.eff.max_tx_time,
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_types.h1325 uint16_t max_tx_time; member
1331 uint16_t max_tx_time; member
1419 uint16_t max_tx_time; member
3111 uint16_t max_tx_time; member

12