Home
last modified time | relevance | path

Searched refs:tx_octets (Results 1 – 14 of 14) 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
369 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); 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
382 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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
391 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); 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
404 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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
415 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); 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
428 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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/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
371 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); 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
384 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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
383 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); 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
396 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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/subsys/bluetooth/controller/ll_sw/
Dull_conn_internal.h96 void ull_conn_default_tx_octets_set(uint16_t tx_octets);
111 void ull_dle_local_tx_update(struct ll_conn *conn, uint16_t tx_octets, uint16_t tx_time);
Dull_conn.c548 static bool ll_len_validate(uint16_t tx_octets, uint16_t tx_time) in ll_len_validate() argument
551 if (!IN_RANGE(tx_octets, PDU_DC_PAYLOAD_SIZE_MIN, in ll_len_validate()
565 uint32_t ll_length_req_send(uint16_t handle, uint16_t tx_octets, 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()
2619 static void ull_len_data_length_trim(uint16_t *tx_octets, uint16_t *tx_time) in ull_len_data_length_trim() argument
2630 if (*tx_octets > LL_LENGTH_OCTETS_TX_MAX) { in ull_len_data_length_trim()
2631 *tx_octets = LL_LENGTH_OCTETS_TX_MAX; in ull_len_data_length_trim()
2639 void ull_dle_local_tx_update(struct ll_conn *conn, uint16_t tx_octets, uint16_t tx_time) in ull_dle_local_tx_update() argument
2642 ull_len_data_length_trim(&tx_octets, &tx_time); in ull_dle_local_tx_update()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c300 uint16_t tx_octets, tx_time; in ZTEST() local
310 tx_octets = 251; 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/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
516 *tx_octets = sys_le16_to_cpu(rp->max_tx_octets); in bt_hci_le_read_max_data_len()
520 if (!IN_RANGE(*tx_octets, BT_HCI_LE_MAX_TX_OCTETS_MIN, BT_HCI_LE_MAX_TX_OCTETS_MAX)) { in bt_hci_le_read_max_data_len()
521 LOG_WRN("tx_octets exceeds the valid range %u", *tx_octets); 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
1093 cp->tx_octets = sys_cpu_to_le16(tx_octets); 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()
3645 cp->max_tx_octets = sys_cpu_to_le16(tx_octets); 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/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.c2606 uint16_t tx_octets; in le_set_data_len() local
2612 tx_octets = sys_le16_to_cpu(cmd->tx_octets); 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.h1313 uint16_t tx_octets; member