/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/ |
D | main.c | 837 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/ |
D | main.c | 301 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/ |
D | ull_peripheral.c | 88 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;
|
D | ull_conn.c | 598 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 …]
|
D | ull_central.c | 97 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()
|
D | ull_sched.c | 707 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()
|
D | ull_llcp_phy.c | 288 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()
|
D | lll_conn.h | 35 uint16_t max_tx_time; member
|
D | ull_conn_internal.h | 105 uint16_t *max_tx_time);
|
D | ull_llcp.h | 253 uint16_t max_tx_time);
|
D | ull_llcp_pdu.c | 640 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()
|
D | pdu.h | 768 uint16_t max_tx_time; member 775 uint16_t max_tx_time; member 787 uint16_t max_tx_time; member
|
D | ull_llcp_common.c | 805 &conn->lll.dle.local.max_tx_time); 985 &conn->lll.dle.local.max_tx_time);
|
/Zephyr-latest/subsys/bluetooth/controller/include/ |
D | ll.h | 272 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/ |
D | helper_pdu.c | 364 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/ |
D | main.c | 370 *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/ |
D | main.c | 392 *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/ |
D | main.c | 416 *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/ |
D | main.c | 372 *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/ |
D | tester.c | 384 *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/ |
D | hci_core.c | 517 *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/ |
D | hci.c | 2625 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/ |
D | main.c | 113 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/ |
D | lll_scan_aux.c | 1578 conn_lll->dle.eff.max_tx_time = MAX(conn_lll->dle.eff.max_tx_time,
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 1325 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
|