/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 361 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/ |
D | main.c | 383 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/ |
D | main.c | 407 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/ |
D | main.c | 363 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/ |
D | tester.c | 375 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/ |
D | ull_conn_internal.h | 96 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);
|
D | ull_conn.c | 548 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/ |
D | main.c | 300 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/ |
D | hci_core.h | 463 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);
|
D | hci_core.c | 503 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()
|
D | conn.c | 1796 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/ |
D | ll.h | 270 uint32_t ll_length_req_send(uint16_t handle, uint16_t tx_octets, uint16_t tx_time);
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 2606 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/ |
D | hci_types.h | 1313 uint16_t tx_octets; member
|