/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_conn.c | 458 uint16_t max_tx_octets; in lll_conn_tx_pkt_set() local 462 max_tx_octets = lll->dle.eff.max_tx_octets; in lll_conn_tx_pkt_set() 464 max_tx_octets = PDU_DC_PAYLOAD_SIZE_MIN; in lll_conn_tx_pkt_set() 480 radio_pkt_configure(8, (max_tx_octets + 4U), in lll_conn_tx_pkt_set() 487 radio_pkt_configure(8, max_tx_octets, (phy << 1) | 0x01); in lll_conn_tx_pkt_set() 516 uint16_t max_tx_octets; in lll_conn_pdu_tx_prep() local 531 max_tx_octets = ull_conn_lll_max_tx_octets_get(lll); in lll_conn_pdu_tx_prep() 533 if (p->len > max_tx_octets) { in lll_conn_pdu_tx_prep() 534 p->len = max_tx_octets; in lll_conn_pdu_tx_prep()
|
/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() 321 zassert_equal(max_tx_octets, LL_LENGTH_OCTETS_RX_MAX); in ZTEST() 327 ll_length_default_get(&max_tx_octets, &max_tx_time); in ZTEST() 329 zassert_equal(max_tx_octets, 0x00); in ZTEST() 332 ll_length_default_get(&max_tx_octets, &max_tx_time); in ZTEST() 334 zassert_equal(max_tx_octets, 0x10); in ZTEST() 336 max_tx_octets = ull_conn_default_tx_octets_get(); in ZTEST() 338 zassert_equal(max_tx_octets, 0x10); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_conn.c | 827 uint16_t max_tx_octets; local 830 max_tx_octets = lll->dle.eff.max_tx_octets; 832 max_tx_octets = PDU_DC_PAYLOAD_SIZE_MIN; 836 (max_tx_octets < PDU_DC_CTRL_TX_SIZE_MAX)) { 837 max_tx_octets = PDU_DC_CTRL_TX_SIZE_MAX; 864 radio_pkt_configure(RADIO_PKT_CONF_LENGTH_8BIT, (max_tx_octets + PDU_MIC_SIZE), 870 radio_pkt_configure(RADIO_PKT_CONF_LENGTH_8BIT, max_tx_octets, pkt_flags); 893 uint16_t max_tx_octets; local 917 max_tx_octets = ull_conn_lll_max_tx_octets_get(lll); 921 (p->len > max_tx_octets)) { [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
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 600 *max_tx_octets = default_tx_octets; 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() 611 default_tx_octets = max_tx_octets; 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 625 *max_tx_octets = LL_LENGTH_OCTETS_RX_MAX; in ll_length_max_get() 1331 tx_time = PDU_DC_MAX_US(lll->dle.eff.max_tx_octets, 0); in ull_conn_done() 1564 uint16_t max_tx_octets; in ull_conn_lll_max_tx_octets_get() local 1575 max_tx_octets = (lll->dle.eff.max_tx_time >> 3) - 10; in ull_conn_lll_max_tx_octets_get() [all …]
|
D | lll_conn.h | 33 uint16_t max_tx_octets; member
|
D | ull_llcp.h | 252 uint8_t ull_cp_data_length_update(struct ll_conn *conn, uint16_t max_tx_octets,
|
D | ull_llcp_pdu.c | 638 p->max_tx_octets = sys_cpu_to_le16(dle->max_tx_octets); in encode_length_req_rsp_common() 674 if (!IN_RANGE(remote->max_tx_octets, PDU_DC_PAYLOAD_SIZE_MIN, in dle_remote_valid() 709 remote.max_tx_octets = sys_le16_to_cpu(p->max_tx_octets); in decode_length_req_rsp_common()
|
D | pdu.h | 767 uint16_t max_tx_octets; member 774 uint16_t max_tx_octets; member 786 uint16_t max_tx_octets; member
|
D | ull_llcp.c | 899 uint8_t ull_cp_data_length_update(struct ll_conn *conn, uint16_t max_tx_octets, in ull_cp_data_length_update() argument 921 ull_dle_local_tx_update(conn, max_tx_octets, max_tx_time); in ull_cp_data_length_update()
|
D | ull_llcp_phy.c | 297 pu_calc_eff_time(lll->dle.eff.max_tx_octets, lll->phy_tx, max_tx_time); in pu_update_eff_times()
|
/Zephyr-latest/subsys/bluetooth/controller/include/ |
D | ll.h | 271 void ll_length_default_get(uint16_t *const max_tx_octets, 273 uint32_t ll_length_default_set(uint16_t max_tx_octets, uint16_t max_tx_time); 274 void ll_length_max_get(uint16_t *const max_tx_octets,
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 362 pdu->llctrl.length_req.max_tx_octets = p->max_tx_octets; in helper_pdu_encode_length_req() 377 pdu->llctrl.length_req.max_tx_octets = p->max_tx_octets; in helper_pdu_encode_length_rsp() 1018 zassert_equal(pdu->llctrl.length_req.max_tx_octets, p->max_tx_octets, in helper_pdu_verify_length_req() 1041 zassert_equal(pdu->llctrl.length_rsp.max_tx_octets, p->max_tx_octets, in helper_pdu_verify_length_rsp()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 369 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in read_max_data_len() 382 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in write_default_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 391 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in read_max_data_len() 404 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in write_default_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 415 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in read_max_data_len() 428 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in write_default_data_len()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 111 conn.lll.dle.remote.max_tx_octets = PDU_DC_PAYLOAD_SIZE_MIN * 3; in collision_setup() 113 conn.lll.dle.remote.max_tx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_tx_octets, in collision_setup()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 371 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in read_max_data_len() 384 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in write_default_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 383 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in read_max_data_len() 396 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in write_default_data_len()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_core.c | 516 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in bt_hci_le_read_max_data_len() 1748 uint16_t max_tx_octets = sys_le16_to_cpu(evt->max_tx_octets); in le_data_len_change() local 1753 if (!IN_RANGE(max_tx_octets, BT_HCI_LE_MAX_TX_OCTETS_MIN, BT_HCI_LE_MAX_TX_OCTETS_MAX)) { in le_data_len_change() 1754 LOG_WRN("max_tx_octets exceeds the valid range %u", max_tx_octets); 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() 1769 conn->le.data_len.tx_max_len = max_tx_octets; in le_data_len_change() 3645 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); in le_init()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 829 conn.lll.dle.remote.max_tx_octets = PDU_PDU_MAX_OCTETS; in phy_update_setup() 831 conn.lll.dle.remote.max_tx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_tx_octets, PHY_1M); in phy_update_setup()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 2624 uint16_t max_tx_octets; in le_read_default_data_len() local 2629 ll_length_default_get(&max_tx_octets, &max_tx_time); in le_read_default_data_len() 2631 rp->max_tx_octets = sys_cpu_to_le16(max_tx_octets); in le_read_default_data_len() 2640 uint16_t max_tx_octets; in le_write_default_data_len() local 2644 max_tx_octets = sys_le16_to_cpu(cmd->max_tx_octets); in le_write_default_data_len() 2646 status = ll_length_default_set(max_tx_octets, max_tx_time); in le_write_default_data_len() 2654 uint16_t max_tx_octets; in le_read_max_data_len() local 2661 ll_length_max_get(&max_tx_octets, &max_tx_time, in le_read_max_data_len() 2664 rp->max_tx_octets = sys_cpu_to_le16(max_tx_octets); in le_read_max_data_len() 8965 sep->max_tx_octets = pdu_data->llctrl.length_rsp.max_tx_octets;
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 73 conn.lll.dle.remote.max_tx_octets = PDU_DC_PAYLOAD_SIZE_MIN * 3; in phy_setup() 75 conn.lll.dle.remote.max_tx_time = PDU_DC_MAX_US(conn.lll.dle.remote.max_tx_octets, in phy_setup()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 1324 uint16_t max_tx_octets; member 1330 uint16_t max_tx_octets; member 1418 uint16_t max_tx_octets; member 3110 uint16_t max_tx_octets; member
|