Home
last modified time | relevance | path

Searched refs:tx_time (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_conn.c532 static bool ll_len_validate(uint16_t tx_octets, uint16_t tx_time) in ll_len_validate() argument
541 if (!IN_RANGE(tx_time, PDU_DC_PAYLOAD_TIME_MIN, in ll_len_validate()
550 uint16_t tx_time) in ll_length_req_send() argument
555 !ll_len_validate(tx_octets, tx_time)) { in ll_length_req_send()
570 err = ull_cp_data_length_update(conn, tx_octets, tx_time); in ll_length_req_send()
1230 uint32_t ready_delay, rx_time, tx_time, ticks_slot, slot_us; in ull_conn_done() local
1238 tx_time = lll->dle.eff.max_tx_time; in ull_conn_done()
1242 tx_time = MAX(PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, 0), in ull_conn_done()
1251 tx_time = PDU_DC_MAX_US(lll->dle.eff.max_tx_octets, 0); in ull_conn_done()
1256 slot_us = tx_time + rx_time; in ull_conn_done()
[all …]
Dull_conn_internal.h91 void ull_conn_default_tx_time_set(uint16_t tx_time);
104 void ull_dle_local_tx_update(struct ll_conn *conn, uint16_t tx_octets, uint16_t tx_time);
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c382 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
391 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
395 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
404 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
411 uint16_t tx_octets, tx_time; in set_data_len() local
413 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
414 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c362 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
371 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
375 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
384 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
391 uint16_t tx_octets, tx_time; in set_data_len() local
393 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
394 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c300 uint16_t tx_octets, tx_time; in ZTEST() local
311 tx_time = 2400; in ZTEST()
314 err = ll_length_req_send(conn_handle, tx_octets, tx_time); in ZTEST()
317 err = ll_length_req_send(conn_handle + 1, tx_octets, tx_time); in ZTEST()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dnet_stats.h255 struct net_stats_tx_time tx_time; member
352 struct net_stats_tx_time tx_time; member
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_stats.h355 UPDATE_STAT(iface, stats.tx_time.sum += in net_stats_update_tx_time()
357 UPDATE_STAT(iface, stats.tx_time.count += 1); in net_stats_update_tx_time()
443 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.sum += in net_stats_update_tc_tx_time()
445 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.count += 1); in net_stats_update_tc_tx_time()
Dnet_shell.c1112 tc.sent[i].tx_time.count); in print_tc_tx_stats()
1126 tc.sent[i].tx_time.sum) / in print_tc_tx_stats()
1146 net_stats_t count = GET_STAT(iface, tx_time.count); in print_tc_tx_stats()
1150 (uint32_t)(GET_STAT(iface, tx_time.sum) / (uint64_t)count), in print_tc_tx_stats()
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dhci_core.c398 static int hci_le_read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in hci_le_read_max_data_len() argument
412 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in hci_le_read_max_data_len()
944 int bt_le_set_data_len(struct bt_conn *conn, uint16_t tx_octets, uint16_t tx_time) in bt_le_set_data_len() argument
957 cp->tx_time = sys_cpu_to_le16(tx_time); in bt_le_set_data_len()
1113 uint16_t tx_octets, tx_time; in conn_auto_initiate() local
1115 err = hci_le_read_max_data_len(&tx_octets, &tx_time); in conn_auto_initiate()
1118 tx_octets, tx_time); in conn_auto_initiate()
3284 uint16_t tx_octets, tx_time; in le_init() local
3286 err = hci_le_read_max_data_len(&tx_octets, &tx_time); in le_init()
3299 cp->max_tx_time = sys_cpu_to_le16(tx_time); in le_init()
Dhci_core.h431 int bt_le_set_data_len(struct bt_conn *conn, uint16_t tx_octets, uint16_t tx_time);
/Zephyr-Core-3.5.0/drivers/ieee802154/
Dieee802154_dw1000.c786 uint32_t tx_time = 0; in dwt_tx() local
810 tx_time = (tmp_fs / DWT_TS_TIME_UNITS_FS) >> 8; in dwt_tx()
813 dwt_reg_write_u32(dev, DWT_DX_TIME_ID, 1, tx_time); in dwt_tx()
815 LOG_DBG("ntx hi32 %x", tx_time); in dwt_tx()
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/include/
Dll.h264 uint32_t ll_length_req_send(uint16_t handle, uint16_t tx_octets, uint16_t tx_time);
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/hci/
Dhci.c2589 uint16_t tx_time; in le_set_data_len() local
2595 tx_time = sys_le16_to_cpu(cmd->tx_time); in le_set_data_len()
2596 status = ll_length_req_send(handle, tx_octets, tx_time); in le_set_data_len()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dhci_types.h1152 uint16_t tx_time; member