Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c361 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
370 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
374 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
383 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
390 uint16_t tx_octets, tx_time; in set_data_len() local
392 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
393 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c383 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
392 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
396 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
405 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
412 uint16_t tx_octets, tx_time; in set_data_len() local
414 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
415 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c407 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
416 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
420 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
429 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
436 uint16_t tx_octets, tx_time; in set_data_len() local
438 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
439 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn.c548 static bool ll_len_validate(uint16_t tx_octets, uint16_t tx_time) in ll_len_validate() argument
557 if (!IN_RANGE(tx_time, PDU_DC_PAYLOAD_TIME_MIN, in ll_len_validate()
566 uint16_t tx_time) in ll_length_req_send() argument
571 !ll_len_validate(tx_octets, tx_time)) { in ll_length_req_send()
586 err = ull_cp_data_length_update(conn, tx_octets, tx_time); in ll_length_req_send()
1300 uint32_t ready_delay, rx_time, tx_time, ticks_slot, slot_us; in ull_conn_done() local
1311 tx_time = lll->dle.eff.max_tx_time; in ull_conn_done()
1315 tx_time = MAX(PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, 0), in ull_conn_done()
1322 tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx); in ull_conn_done()
1331 tx_time = PDU_DC_MAX_US(lll->dle.eff.max_tx_octets, 0); in ull_conn_done()
[all …]
Dull_conn_internal.h98 void ull_conn_default_tx_time_set(uint16_t tx_time);
111 void ull_dle_local_tx_update(struct ll_conn *conn, uint16_t tx_octets, uint16_t tx_time);
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c363 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
372 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
376 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
385 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
392 uint16_t tx_octets, tx_time; in set_data_len() local
394 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
395 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c375 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument
384 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len()
388 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument
397 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len()
404 uint16_t tx_octets, tx_time; in set_data_len() local
406 read_max_data_len(&tx_octets, &tx_time); in set_data_len()
407 write_default_data_len(tx_octets, tx_time); in set_data_len()
/Zephyr-latest/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-latest/subsys/net/ip/
Dnet_stats.c544 (struct net_stats_tx_time *tx_time = in net_stats_prometheus_scrape()
549 (double)tx_time->sum, in net_stats_prometheus_scrape()
550 (unsigned long)tx_time->count))); in net_stats_prometheus_scrape()
Dnet_stats.h422 UPDATE_STAT(iface, stats.tx_time.sum += in net_stats_update_tx_time()
424 UPDATE_STAT(iface, stats.tx_time.count += 1); in net_stats_update_tx_time()
510 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.sum += in net_stats_update_tc_tx_time()
512 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.count += 1); in net_stats_update_tc_tx_time()
Dnet_if.c281 SYS_PORT_TRACING_FUNC(net, tx_time, pkt, end_tick); in net_if_tx()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.h463 int bt_le_set_data_len(struct bt_conn *conn, uint16_t tx_octets, uint16_t tx_time);
572 int bt_hci_le_read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time);
Dhci_core.c503 int bt_hci_le_read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in bt_hci_le_read_max_data_len() argument
517 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in bt_hci_le_read_max_data_len()
523 if (!IN_RANGE(*tx_time, BT_HCI_LE_MAX_TX_TIME_MIN, BT_HCI_LE_MAX_TX_TIME_MAX)) { in bt_hci_le_read_max_data_len()
524 LOG_WRN("tx_time exceeds the valid range %u", *tx_time); in bt_hci_le_read_max_data_len()
1081 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
1094 cp->tx_time = sys_cpu_to_le16(tx_time); in bt_le_set_data_len()
3631 uint16_t tx_octets, tx_time; in le_init() local
3633 err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time); in le_init()
3646 cp->max_tx_time = sys_cpu_to_le16(tx_time); in le_init()
Dconn.c1796 uint16_t tx_octets, tx_time; in perform_auto_initiated_procedures() local
1798 err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time); in perform_auto_initiated_procedures()
1800 err = bt_le_set_data_len(conn, tx_octets, tx_time); in perform_auto_initiated_procedures()
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c316 tc.sent[i].tx_time.count); in print_tc_tx_stats()
330 tc.sent[i].tx_time.sum) / in print_tc_tx_stats()
350 net_stats_t count = GET_STAT(iface, tx_time.count); in print_tc_tx_stats()
354 (uint32_t)(GET_STAT(iface, tx_time.sum) / (uint64_t)count), in print_tc_tx_stats()
/Zephyr-latest/include/zephyr/net/
Dnet_stats.h323 struct net_stats_tx_time tx_time; member
449 struct net_stats_tx_time tx_time; member
1338 NET_STATS_GET_INSTANCE(dev_id, sfx, tx_time), \
1341 NET_STATS_GET_VAR(dev_id, sfx, tx_time), \
1342 &(iface)->stats.tx_time)
/Zephyr-latest/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-latest/subsys/bluetooth/controller/include/
Dll.h270 uint32_t ll_length_req_send(uint16_t handle, uint16_t tx_octets, uint16_t tx_time);
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2607 uint16_t tx_time; in le_set_data_len() local
2613 tx_time = sys_le16_to_cpu(cmd->tx_time); in le_set_data_len()
2614 status = ll_length_req_send(handle, tx_octets, tx_time); in le_set_data_len()
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_types.h1314 uint16_t tx_time; member