Home
last modified time | relevance | path

Searched full:tx (Results 1 – 25 of 1352) sorted by relevance

12345678910>>...55

/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_tx_queue.h8 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 …]
Dull_tx_queue.c29 /* 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.5.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c88 "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.5.0/drivers/ethernet/
Deth_ivshmem_queue.c49 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.5.0/subsys/bluetooth/mesh/
Dtransport.c87 uint8_t blocked:1, /* Blocked by ongoing tx */
121 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument
128 tx->xmit, BUF_TIMEOUT); in send_unseg()
138 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg()
141 net_buf_add_u8(buf, UNSEG_HDR(1, tx->aid)); in send_unseg()
147 if (!bt_mesh_friend_queue_has_space(tx->sub->net_idx, in send_unseg()
148 tx->src, tx->ctx->addr, in send_unseg()
150 if (BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg()
160 if (bt_mesh_friend_enqueue_tx(tx, BT_MESH_FRIEND_PDU_SINGLE, in send_unseg()
162 BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg()
[all …]
Dtransport_legacy.c66 #define SEG_RETRANSMIT_TIMEOUT_UNICAST(tx) \ argument
67 (CONFIG_BT_MESH_TX_SEG_RETRANS_TIMEOUT_UNICAST + 50 * (tx)->ttl)
75 #define SEG_RETRANSMIT_TIMEOUT(tx) \ argument
76 (BT_MESH_ADDR_IS_UNICAST(tx->dst) ? \
77 SEG_RETRANSMIT_TIMEOUT_UNICAST(tx) : \
95 uint8_t attempts; /* Remaining tx attempts */
97 uint8_t blocked:1, /* Blocked by ongoing tx */
128 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument
135 tx->xmit, BUF_TIMEOUT); in send_unseg()
145 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg()
[all …]
Dsar_cfg.c18 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 …]
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c126 "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.5.0/dts/bindings/ieee802154/
Datmel,rf2xx.yaml28 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.5.0/drivers/can/
DKconfig.loopback24 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.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central_iso.c197 phy = cis_lll->tx.phy; in prepare_cb()
198 radio_phy_set(phy, cis_lll->tx.phy_flags); in prepare_cb()
204 if (cis_lll->tx.bn_curr > cis_lll->tx.bn) { in prepare_cb()
220 payload_count = cis_lll->tx.payload_count + in prepare_cb()
221 cis_lll->tx.bn_curr - 1U; in prepare_cb()
239 } else if (node_tx->payload_count >= (payload_count + cis_lll->tx.bn)) { in prepare_cb()
256 pdu_tx->cie = (cis_lll->tx.bn_curr > cis_lll->tx.bn) && in prepare_cb()
283 cis_lll->tx.ccm.counter = payload_count; in prepare_cb()
289 (cis_lll->tx.max_pdu + PDU_MIC_SIZE), in prepare_cb()
291 radio_pkt_tx_set(radio_ccm_iso_tx_pkt_set(&cis_lll->tx.ccm, in prepare_cb()
[all …]
Dlll_peripheral_iso.c146 struct node_tx_iso *tx; in prepare_cb() local
273 radio_switch_complete_and_tx(cis_lll->rx.phy, 0U, cis_lll->tx.phy, in prepare_cb()
274 cis_lll->tx.phy_flags); in prepare_cb()
355 payload_count = cis_lll->tx.payload_count + in prepare_cb()
356 cis_lll->tx.bn_curr - 1U; in prepare_cb()
360 cis_lll->memq_tx.tail, (void **)&tx); in prepare_cb()
362 if (tx->payload_count < payload_count) { in prepare_cb()
367 tx->next = link; in prepare_cb()
368 ull_iso_lll_ack_enqueue(cis_lll->handle, tx); in prepare_cb()
519 /* Close subevent, one tx-rx chain */ in isr_rx()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c52 /* Tx/Rx pause flag */
56 /* Tx/Rx encryption flag */
67 /* Check Tx Pause and Encryption state */
70 zassert_equal(_conn.tx_q.pause_data, _pause, "Tx Data pause state is wrong.");\
71 zassert_equal(_conn.lll.enc_tx, _enc, "Tx Encryption state is wrong."); \
89 /* Check Tx CCM state */
93 "CCM Tx SK not equal to expected SK"); \
95 "CCM Tx IV not equal to (IVm | IVs)"); \
96 zassert_equal(_conn.lll.ccm_tx.counter, _cnt, "CCM Tx Counter is wrong"); \
97 zassert_equal(_conn.lll.ccm_tx.direction, _dir, "CCM Tx Direction is wrong");\
[all …]
/Zephyr-Core-3.5.0/drivers/wifi/esp32/
DKconfig.esp3288 prompt "Type of WiFi TX buffers"
91 Select type of WiFi TX buffers:
93 If "Static" is selected, WiFi TX buffers are allocated when WiFi is
95 static TX buffer is fixed to about 1.6KB.
97 If "Dynamic" is selected, each WiFi TX buffer is allocated as needed
100 The size of each dynamic TX buffer depends on the length of each data
104 WiFi TX buffers. If PSRAM is disabled, "Dynamic" should be selected
119 int "Max number of WiFi static TX buffers"
124 Set the number of WiFi static TX buffers. Each buffer takes approximately
129 the WiFi driver makes a copy of it in a TX buffer. For some applications
[all …]
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_loopback.c15 * - 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 …]
Dtest_i2s_dir_both_loopback.c14 * 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 …]
Dtest_i2s_dir_both_states.c14 * 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.5.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/
Dbeacon_interval.sh8 # 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.5.0/subsys/bluetooth/services/ots/
Dots_l2cap.c56 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()
99 /* Ongoing TX - sending next chunk. */ in l2cap_sent()
100 if (l2cap_ctx->tx.len != l2cap_ctx->tx.len_sent) { in l2cap_sent()
106 /* TX completed - notify upper layers and clean up. */ in l2cap_sent()
107 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_sent()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c94 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.5.0/tests/bluetooth/controller/ctrl_le_ping/src/
Dmain.c80 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.5.0/tests/bluetooth/controller/ctrl_tx_queue/src/
Dmain.c39 /* 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.5.0/tests/bluetooth/controller/ctrl_sca_update/src/
Dmain.c82 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.5.0/samples/bluetooth/hci_pwr_ctrl/
DREADME.rst9 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.5.0/dts/bindings/i2s/
Dnxp,mcux-i2s.yaml20 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

12345678910>>...55