/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_tx_queue.h | 8 uint8_t pause_data; /* Data pause state of the tx queue */ 18 * @brief Initialize a tx queue. 20 * @param ull_tx_q Address of tx queue. 25 * @brief Pause the data path of a tx queue. 27 * @param ull_tx_q Address of tx queue. 32 * @brief Resume the data path of a tx queue 34 * @param ull_tx_q Address of tx queue. 39 * @brief Enqueue a tx node in the data path of a tx queue 41 * @param ull_tx_q Address of tx queue. 42 * @param tx Address of tx node to enqueue. [all …]
|
D | ull_tx_queue.c | 29 /* move all paused data to the tail of tx list, only if not empty and no longer paused */ in ull_tx_q_resume_data() 35 void ull_tx_q_enqueue_data(struct ull_tx_q *queue, struct node_tx *tx) in ull_tx_q_enqueue_data() argument 43 /* enqueue data pdu into tx list */ in ull_tx_q_enqueue_data() 47 sys_slist_append(list, (sys_snode_t *)tx); in ull_tx_q_enqueue_data() 50 void ull_tx_q_enqueue_ctrl(struct ull_tx_q *queue, struct node_tx *tx) in ull_tx_q_enqueue_ctrl() argument 52 /* enqueue ctrl pdu into tx list */ in ull_tx_q_enqueue_ctrl() 53 sys_slist_append(&queue->tx_list, (sys_snode_t *)tx); in ull_tx_q_enqueue_ctrl() 58 struct node_tx *tx; in ull_tx_q_peek() local 60 tx = (struct node_tx *)sys_slist_peek_head(&queue->tx_list); in ull_tx_q_peek() 62 return tx; in ull_tx_q_peek() [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 88 "Preferred TX PHY mismatch %d (actual) != %d (expected)", \ 98 "Current TX PHY mismatch %d (actual) != %d (expected)", \ 118 struct node_tx *tx; in ZTEST() local 135 /* 'Trigger' DLE ntf on PHY update, as this forces change to eff tx/rx times */ in ZTEST() 148 /* Steal all ntf buffers, to trigger TX stall on non avail of NTF buffer for DLE */ in ZTEST() 158 /* Tx Queue should have one LL Control PDU */ in ZTEST() 159 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST() 165 /* TX Ack */ in ZTEST() 166 event_tx_ack(&conn, tx); in ZTEST() 171 /* Check that data tx was paused */ in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/drivers/ethernet/ |
D | eth_ivshmem_queue.c | 49 q->tx.shmem = (void *)shmem; in eth_ivshmem_queue_init() 53 q->tx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init() 57 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 64 struct vring_used *tmp_used = q->tx.vring.used; in eth_ivshmem_queue_init() 66 q->tx.vring.used = q->rx.vring.used; in eth_ivshmem_queue_init() 76 q->tx.desc_head = 0; in eth_ivshmem_queue_reset() 77 q->tx.desc_len = 0; in eth_ivshmem_queue_reset() 78 q->tx.data_head = 0; in eth_ivshmem_queue_reset() 79 q->tx.data_tail = 0; in eth_ivshmem_queue_reset() 80 q->tx.data_len = 0; in eth_ivshmem_queue_reset() [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 126 "Preferred TX PHY mismatch %d (actual) != %d (expected)", \ 136 "Current TX PHY mismatch %d (actual) != %d (expected)", \ 152 struct node_tx *tx; in ZTEST() local 188 /* Tx Queue should have one LL Control PDU */ in ZTEST() 189 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST() 195 /* Check that data tx is paused */ in ZTEST() 196 zassert_equal(conn.tx_q.pause_data, 1U, "Data tx is not paused"); in ZTEST() 198 /* TX Ack */ in ZTEST() 199 event_tx_ack(&conn, tx); in ZTEST() 201 /* Check that data tx is paused */ in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | transport.c | 100 uint8_t blocked:1, /* Blocked by ongoing tx */ 136 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument 143 tx->xmit, BUF_TIMEOUT); in send_unseg() 153 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg() 156 net_buf_add_u8(buf, UNSEG_HDR(1, tx->aid)); in send_unseg() 162 if (!bt_mesh_friend_queue_has_space(tx->sub->net_idx, in send_unseg() 163 tx->src, tx->ctx->addr, in send_unseg() 165 if (BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg() 175 if (bt_mesh_friend_enqueue_tx(tx, BT_MESH_FRIEND_PDU_SINGLE, in send_unseg() 177 BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg() [all …]
|
D | sar_cfg.c | 18 const struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_encode() argument 20 net_buf_simple_add_u8(buf, (tx->seg_int_step & 0xf) | in bt_mesh_sar_tx_encode() 21 (tx->unicast_retrans_count << 4)); in bt_mesh_sar_tx_encode() 22 net_buf_simple_add_u8(buf, (tx->unicast_retrans_without_prog_count & in bt_mesh_sar_tx_encode() 23 0xf) | (tx->unicast_retrans_int_step << 4)); in bt_mesh_sar_tx_encode() 24 net_buf_simple_add_u8(buf, (tx->unicast_retrans_int_inc & 0xf) | in bt_mesh_sar_tx_encode() 25 (tx->multicast_retrans_count << 4)); in bt_mesh_sar_tx_encode() 26 net_buf_simple_add_u8(buf, tx->multicast_retrans_int & 0xf); in bt_mesh_sar_tx_encode() 40 struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_decode() argument 45 tx->seg_int_step = (val & 0xf); in bt_mesh_sar_tx_decode() [all …]
|
D | transport_legacy.c | 65 #define SEG_RETRANSMIT_TIMEOUT_UNICAST(tx) \ argument 66 (CONFIG_BT_MESH_TX_SEG_RETRANS_TIMEOUT_UNICAST + 50 * (tx)->ttl) 74 #define SEG_RETRANSMIT_TIMEOUT(tx) \ argument 75 (BT_MESH_ADDR_IS_UNICAST(tx->dst) ? \ 76 SEG_RETRANSMIT_TIMEOUT_UNICAST(tx) : \ 108 uint8_t attempts; /* Remaining tx attempts */ 110 uint8_t blocked:1, /* Blocked by ongoing tx */ 143 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument 150 tx->xmit, BUF_TIMEOUT); in send_unseg() 160 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg() [all …]
|
/Zephyr-Core-3.4.0/dts/bindings/ieee802154/ |
D | atmel,rf2xx.yaml | 28 description: RX and TX Frame Time Stamping(TX_ARET) 57 tx-pwr-table: 63 for all transceivers. This property must be used with tx-pwr-min and 64 tx-pwr-max for normal operations. The number of elements is defined by 65 the size of the tx-pwr-table array property. The max entry value for 71 linear_step = (tx-pwr-max - tx-pwr-min) 72 / (sizeof(tx-pwr-table) - 1.0); 73 table_index = abs((value_in_dbm - tx-pwr-max) / linear_step); 74 output_power = tx-pwr-table[table_index]; 77 tx-pwr-min = -17 dBm and tx-pwr-max = +4 dBm. Using 48 elements in the [all …]
|
/Zephyr-Core-3.4.0/drivers/can/ |
D | Kconfig.loopback | 24 int "TX thread stack size" 27 Stack size of the TX thread. 28 The TX thread calls the callbacks of the receiver 32 int "TX thread priority" 35 Priority of the TX thread. 36 The TX thread calls the callbacks of the receiver 40 int "TX message queue size" 43 Number of TX frames that can be buffered. 44 The send functions puts frame int this queue and TX thread takes the
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_encrypt/src/ |
D | main.c | 50 /* Tx/Rx pause flag */ 54 /* Tx/Rx encryption flag */ 65 /* Check Tx Pause and Encryption state */ 68 zassert_equal(_conn.tx_q.pause_data, _pause, "Tx Data pause state is wrong.");\ 69 zassert_equal(_conn.lll.enc_tx, _enc, "Tx Encryption state is wrong."); \ 87 /* Check Tx CCM state */ 91 "CCM Tx SK not equal to expected SK"); \ 93 "CCM Tx IV not equal to (IVm | IVs)"); \ 94 zassert_equal(_conn.lll.ccm_tx.counter, _cnt, "CCM Tx Counter is wrong"); \ 95 zassert_equal(_conn.lll.ccm_tx.direction, _dir, "CCM Tx Direction is wrong");\ [all …]
|
/Zephyr-Core-3.4.0/drivers/wifi/esp32/ |
D | Kconfig.esp32 | 79 prompt "Type of WiFi TX buffers" 82 Select type of WiFi TX buffers: 84 If "Static" is selected, WiFi TX buffers are allocated when WiFi is 86 static TX buffer is fixed to about 1.6KB. 88 If "Dynamic" is selected, each WiFi TX buffer is allocated as needed 91 The size of each dynamic TX buffer depends on the length of each data 95 WiFi TX buffers. If PSRAM is disabled, "Dynamic" should be selected 110 int "Max number of WiFi static TX buffers" 115 Set the number of WiFi static TX buffers. Each buffer takes approximately 120 the WiFi driver makes a copy of it in a TX buffer. For some applications [all …]
|
/Zephyr-Core-3.4.0/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_loopback.c | 15 * - TX stream START trigger starts transmission. 18 * - TX stream DRAIN trigger empties the transmit queue. 24 TC_PRINT("RX/TX transfer requires use of I2S_DIR_BOTH.\n"); in ZTEST_USER() 31 /* Prefill TX queue */ in ZTEST_USER() 46 zassert_equal(ret, 0, "TX START trigger failed"); in ZTEST_USER() 56 /* All data written, drain TX queue and stop the transmission */ in ZTEST_USER() 58 zassert_equal(ret, 0, "TX DRAIN trigger failed"); in ZTEST_USER() 81 * - TX stream START trigger starts transmission. 84 * - TX stream DRAIN trigger empties the transmit queue. 90 TC_PRINT("RX/TX transfer requires use of I2S_DIR_BOTH.\n"); in ZTEST_USER() [all …]
|
D | test_i2s_dir_both_loopback.c | 14 * on devices that cannot independently start and stop the RX and TX streams 15 * and require the use of the I2S_DIR_BOTH value for RX/TX transfers. 34 /* Prefill TX queue */ in ZTEST_USER() 44 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 54 /* All data written, drain TX queue and stop both streams. */ in ZTEST_USER() 56 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() 89 /* Prefill TX queue */ in ZTEST_USER() 94 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 104 /* All data written, all but one data block read, flush TX queue in ZTEST_USER() 108 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() [all …]
|
D | test_i2s_dir_both_states.c | 14 * on devices that cannot independently start and stop the RX and TX streams 15 * and require the use of the I2S_DIR_BOTH value for RX/TX transfers. 34 /* Prefill TX queue */ in ZTEST_USER() 39 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 55 /* All data written, drain TX queue and stop both streams. */ in ZTEST_USER() 57 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() 78 /* Prefill TX queue */ in ZTEST_USER() 83 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 91 /* All data written, all but one data block read, flush TX queue and in ZTEST_USER() 95 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/ |
D | beacon_interval.sh | 8 # setup two device, tx node provisioned node, rx node is not provisioned and only has 11 # tx node is able to adapt observed beacon interval and able to send at least one 12 # SNB in 600s. And veify tx node doesnn't send SNB faster than 10s. 14 # 1- rx node waits for the tx node to send the first SNB, 15 # rx node sends two SNBs with 20ms period, verifies that tx node only sends SNB 10s later, 16 # after rx node sends out beacon. rx node skips the 3rd SNB and verifies that tx nodes keeps 18 # 2- rx node sends SNBs with 4s period for 600s and verifies that tx node doesn't send any
|
/Zephyr-Core-3.4.0/subsys/bluetooth/services/ots/ |
D | ots_l2cap.c | 56 len = MIN(l2cap_ctx->ot_chan.tx.mtu, CONFIG_BT_OTS_L2CAP_CHAN_TX_MTU); in ots_l2cap_send() 57 len = MIN(len, l2cap_ctx->tx.len - l2cap_ctx->tx.len_sent); in ots_l2cap_send() 62 net_buf_add_mem(buf, &l2cap_ctx->tx.data[l2cap_ctx->tx.len_sent], len); in ots_l2cap_send() 72 /* Mark that L2CAP TX was accepted. */ in ots_l2cap_send() 73 l2cap_ctx->tx.len_sent += len; in ots_l2cap_send() 75 LOG_DBG("Sending TX chunk with %d bytes on L2CAP CoC", len); in ots_l2cap_send() 98 /* Ongoing TX - sending next chunk. */ in l2cap_sent() 99 if (l2cap_ctx->tx.len != l2cap_ctx->tx.len_sent) { in l2cap_sent() 105 /* TX completed - notify upper layers and clean up. */ in l2cap_sent() 106 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_sent() [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 94 struct node_tx *tx; in ZTEST() local 119 /* Tx Queue should have one LL Control PDU */ in ZTEST() 120 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST() 138 /* Release tx node */ in ZTEST() 139 ull_cp_release_tx(&conn, tx); in ZTEST() 169 struct node_tx *tx; in ZTEST() local 194 /* Tx Queue should have one LL Control PDU */ in ZTEST() 195 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST() 213 /* Release tx node */ in ZTEST() 214 ull_cp_release_tx(&conn, tx); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/mgmt/ec_host_cmd/ |
D | ec_host_cmd_handler.c | 45 .tx = { 64 struct ec_host_cmd_tx_buf *tx, in send_status_response() argument 67 struct ec_host_cmd_response_header *const tx_header = (void *)tx->buf; in send_status_response() 76 tx->len = TX_HEADER_SIZE; in send_status_response() 133 static enum ec_host_cmd_status prepare_response(struct ec_host_cmd_tx_buf *tx, uint16_t len) in prepare_response() argument 135 struct ec_host_cmd_response_header *const tx_header = (void *)tx->buf; in prepare_response() 144 if (tx_valid_data_size > tx->len_max) { in prepare_response() 150 tx_header->checksum = cal_checksum(tx->buf, tx_valid_data_size); in prepare_response() 152 tx->len = tx_valid_data_size; in prepare_response() 161 struct ec_host_cmd_tx_buf *tx = &hc->tx; in ec_host_cmd_send_response() local [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_le_ping/src/ |
D | main.c | 80 struct node_tx *tx; in ZTEST() local 103 /* Tx Queue should have one LL Control PDU */ in ZTEST() 104 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST() 113 /* Release tx node */ in ZTEST() 114 ull_cp_release_tx(&conn, tx); in ZTEST() 129 /* Tx Queue should have one LL Control PDU */ in ZTEST() 130 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST() 139 /* Release tx node */ in ZTEST() 140 ull_cp_release_tx(&conn, tx); in ZTEST() 170 struct node_tx *tx; in ZTEST() local [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_tx_queue/src/ |
D | main.c | 39 /* Tx Queue shall be empty */ in ZTEST() 47 * Verify Tx Queue is empty. 68 /* Tx Queue shall be empty */ in ZTEST() 76 * Verify Tx Queue is empty. 97 /* Tx Queue shall be empty */ in ZTEST() 105 * Verify Tx Queue is empty. 131 /* Tx Queue shall be empty */ in ZTEST() 138 * Pause Tx Queue. 141 * Verify Tx Queue is empty. 159 /* Pause Tx Queue */ in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_sca_update/src/ |
D | main.c | 82 struct node_tx *tx; in ZTEST() local 107 /* Tx Queue should have one LL Control PDU */ in ZTEST() 108 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST() 117 /* Release tx node */ in ZTEST() 118 ull_cp_release_tx(&conn, tx); in ZTEST() 138 /* Tx Queue should have one LL Control PDU */ in ZTEST() 139 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST() 148 /* Release tx node */ in ZTEST() 149 ull_cp_release_tx(&conn, tx); in ZTEST() 190 struct node_tx *tx; in ZTEST() local [all …]
|
/Zephyr-Core-3.4.0/samples/bluetooth/hci_pwr_ctrl/ |
D | README.rst | 9 This sample application demonstrates the dynamic Tx power control over the LL 11 peripheral advertising with varying Tx power. The initial advertiser TX power 12 for the first 5s of the application is the Kconfig set default TX power. Then, 13 the TX power variation of the advertiser is a repeatedly descending staircase 14 pattern ranging from -4 dBm to -30 dBm where the Tx power levels decrease every 18 the Tx power of the peripheral device is modulated per connection accordingly
|
/Zephyr-Core-3.4.0/dts/bindings/i2s/ |
D | nxp,mcux-i2s.yaml | 20 nxp,tx-dma-channel: 23 description: tx dma channel number 30 nxp,tx-sync-mode: 32 description: tx sync mode 60 nxp,tx-channel: 62 description: tx channel the maximum number is SOC dependent
|
/Zephyr-Core-3.4.0/subsys/net/ip/ |
D | Kconfig.stack | 9 int "TX thread stack size" 12 Set the TX thread stack size in bytes. The TX thread is waiting 14 TX thread for sending network packets destined to it. 15 This value is a baseline and the actual TX stack size might
|