Home
last modified time | relevance | path

Searched +full:tx +full:- +full:buffer +full:- +full:elements (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/dts/bindings/can/
Dbosch,m_can-base.yaml3 include: [can-fd-controller.yaml]
6 bosch,mram-cfg:
12 <offset std-filter-elements ext-filter-elements rx-fifo0-elements rx-fifo1-elements
13 rx-buffer-elements tx-event-fifo-elements tx-buffer-elements>
15 The 'offset' is an address offset of the message RAM where the following elements start
16 from. This is normally set to 0x0 when using a non-shared message RAM. The remaining cells
17 specify how many elements are allocated for each filter type/FIFO/buffer.
19 The Bosch M_CAN IP supports the following elements:
20 11-bit Filter 0-128 elements / 0-128 words
21 29-bit Filter 0-64 elements / 0-128 words
[all …]
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_mcan.h5 * SPDX-License-Identifier: Apache-2.0
305 /* Rx Buffer Configuration register */
328 /* Rx Buffer/FIFO Element Size Configuration register */
334 /* Tx Buffer Configuration register */
341 /* Tx FIFO/Queue Status register */
348 /* Tx Buffer Element Size Configuration register */
352 /* Tx Buffer Request Pending register */
356 /* Tx Buffer Add Request register */
360 /* Tx Buffer Cancellation Request register */
364 /* Tx Buffer Transmission Occurred register */
[all …]
/Zephyr-latest/drivers/can/
Dcan_stm32_fdcan.c5 * SPDX-License-Identifier: Apache-2.0
33 * - TEST register SVAL, TXBNS, PVAL, and TXBNP bits are not available.
34 * - CCCR register VMM and UTSU bits are not available.
35 * - TXBC register TFQS, NDTB, and TBSA fields are not available.
128 /* Tx Buffer Configuration register */
131 /* Tx Buffer Request Pending register */
134 /* Tx Buffer Add Request register */
137 /* Tx Buffer Cancellation Request register */
140 /* Tx Buffer Transmission Occurred register */
143 /* Tx Buffer Cancellation Finished register */
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c4 * SPDX-License-Identifier: Apache-2.0
25 BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT - BT_MESH_MODEL_OP_LEN(DUMMY_VND_MOD_GET_OP)
78 /* Assert that buffer length and data corresponds with test dummy message.
79 * Buffer state is saved.
85 ASSERT_EQUAL(buf->len, MAX_SDU_MSG_LEN); in data_integrity_check()
100 net_buf_simple_add_mem(&msg, buf->data, buf->len); in get_handler()
134 static const struct bt_mesh_elem elements[] = {BT_MESH_ELEM( variable
145 .elem = elements,
146 .elem_count = ARRAY_SIZE(elements),
188 const struct bt_mesh_model *dummy_vnd_mod = &elements[0].vnd_models[0]; in cli_max_len_sdu_send()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_df.c4 * SPDX-License-Identifier: Apache-2.0
33 * MAX_DFE_GPIO-1, with the given parenthesized separator.
57 /* The number of dfegpio[n]-gpios properties which are set. */
64 * dfegpio[n]-gpios properties which are set.
89 "Missing antenna pattern used to select antenna for PDU Tx "
91 "Set the dfe-pdu-antenna devicetree property.");
95 /* SWITCHPATTERN is like a moving pointer to an underlying buffer. in radio_df_ant_switch_pattern_set()
97 * When read it returns number of stored elements since last write to in radio_df_ant_switch_pattern_set()
100 * Some storage entries in the buffer has special purpose for DFE in radio_df_ant_switch_pattern_set()
102 * - SWITCHPATTERN[0] for idle period (PDU Tx/Rx), in radio_df_ant_switch_pattern_set()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_l2.rst13 The L2 stack is designed to hide the whole networking link-layer part
27 :ref:`IEEE 802.15.4 Soft-MAC <ieee802154_interface>`, :ref:`CANBUS <can_api>`,
28 :ref:`OpenThread <thread_protocol_interface>`, Wi-Fi, and a dummy layer example
40 - ``recv()``: All device drivers, once they receive a packet which they put
41 into a :c:struct:`net_pkt`, will push this buffer to the network
44 buffer along to the L2 stack's ``recv()`` function for handling.
46 the link layer header, or handling link-layer only packets. The ``recv()``
51 - ``send()``: Similar to receive function, the network stack will call this
52 function to actually send a network packet. All relevant link-layer content
57 - ``enable()``: This function is used to enable/disable traffic over a network
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c8 * SPDX-License-Identifier: Apache-2.0
93 /* buffer for collecting record data */
166 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_connected()
168 k_fifo_init(&sdp->partial_resp_queue); in bt_sdp_connected()
187 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_disconnected()
194 * Creates an empty SDP PDU and returns the buffer
198 * @return Pointer to the net_buf buffer
210 * @param buf Buffer to be sent out
220 uint16_t param_len = buf->len; in bt_sdp_send()
224 hdr->op_code = op; in bt_sdp_send()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dl2cap.h6 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
33 /** L2CAP PDU header size, used for buffer size calculations */
40 #define BT_L2CAP_RX_MTU (CONFIG_BT_BUF_ACL_RX_SIZE - BT_L2CAP_HDR_SIZE)
42 /** @brief Helper to calculate needed buffer size for L2CAP PDUs.
43 * Useful for creating buffer pools.
47 * @return Needed buffer size to match the requested L2CAP PDU MTU.
51 /** L2CAP SDU header size, used for buffer size calculations */
60 * size of the application buffer pool.
62 #define BT_L2CAP_SDU_TX_MTU (BT_L2CAP_TX_MTU - BT_L2CAP_SDU_HDR_SIZE)
[all …]
Dbluetooth.h7 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
101 /** The TX power of the response in dBm */
162 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging
163 * to same adv id returns false, then adv-sets will continue with old rpa
242 * That is, the application shall not re-register them when
243 * the Bluetooth subsystem is re-enabled later.
292 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf
319 * elements in the @a addrs array should be CONFIG_BT_ID_MAX. The identity
325 * subsequent call to this function with non-NULL @a addrs parameter.
[all …]
Dgatt.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
38 /** No operations supported, e.g. for notify-only */
61 * If set, requires encryption using authenticated link-key for read
68 * If set, requires encryption using authenticated link-key for write
100 #define BT_GATT_ERR(_att_err) (-(_att_err))
153 * @param buf Buffer to place the read result in
195 * @param buf Buffer with the data to write
196 * @param len Number of bytes in the buffer
354 * This callback notifies the application that the maximum TX or RX
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_iso.c4 * SPDX-License-Identifier: Apache-2.0
102 /* Allocate data path pools for RX/TX directions for each stream */
122 /* Declare the ISO rx node RXFIFO. This is a composite pool-backed MFIFO for
124 * - mfifo_iso_rx: FIFO with pointers to PDU buffers
125 * - mem_iso_rx: Backing data pool for PDU buffer elements
126 * - mem_link_iso_rx: Pool of memq_link_t elements
128 * One extra rx buffer is reserved for empty ISO PDU reception.
176 dp = cis->hdr.datapath_in; in ll_read_iso_tx_sync()
180 isoal_tx_get_sync_info(dp->source_hdl, seq, in ll_read_iso_tx_sync()
193 if (!adv_stream || !adv_stream->dp || in ll_read_iso_tx_sync()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dfriend.c4 * SPDX-License-Identifier: Apache-2.0
36 #warning Frienship feature may work unstable when non-deferred log mode is selected. Use the \
40 /* We reserve one extra buffer for each friendship, since we need to be able
90 return frnd->subnet != NULL; in friend_is_allocated()
95 if (frnd->lpn == BT_MESH_ADDR_UNASSIGNED) { in is_lpn_unicast()
99 return (addr >= frnd->lpn && addr < (frnd->lpn + frnd->num_elem)); in is_lpn_unicast()
116 if (established && !frnd->established) { in bt_mesh_friend_find()
121 (!frnd->subnet || frnd->subnet->net_idx != net_idx)) { in bt_mesh_friend_find()
135 return bt_mesh_friend_cred_create(&frnd->cred[idx], frnd->lpn, in friend_cred_create()
137 frnd->lpn_counter, frnd->counter, in friend_cred_create()
[all …]
DKconfig4 # SPDX-License-Identifier: Apache-2.0
113 bool "Mesh-specific workqueue"
116 mesh-specific workqueue. This will ensure that messages are always sent.
117 The application needs to ensure the mesh-specific workqueue size is large
130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
237 bool "PB-ADV support"
299 bool "PB-GATT Server support"
314 the PB-GATT is enabled.
317 bool "PB-GATT Client support"
509 Maximum number of simultaneous outgoing multi-segment and/or
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Datt.c1 /* att.c - Attribute protocol handling */
4 * Copyright (c) 2015-2016 Intel Corporation
6 * SPDX-License-Identifier: Apache-2.0
79 /* Total number of flags - must be at the end of the enum */
120 return atomic_test_bit(chan->flags, ATT_ENHANCED); in bt_att_is_enhanced()
130 return MIN(chan->chan.rx.mtu, chan->chan.tx.mtu); in bt_att_mtu()
133 /* Descriptor of application-specific authorization callbacks that are used
175 * will block until a request-resource is available, and the callbacks run on
176 * the same thread as the ATT response handler that frees request-resources.
190 /* To mapping tables are used to avoid a big gap with NULL-entries. */ in bt_att_err_to_str()
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h10 * SPDX-License-Identifier: Apache-2.0
50 #define PF_LOCAL 6 /**< Inter-process communication */
51 #define PF_UNIX PF_LOCAL /**< Inter-process communication */
60 #define AF_LOCAL PF_LOCAL /**< Inter-process communication */
61 #define AF_UNIX PF_UNIX /**< Inter-process communication */
65 IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */
94 /** @brief Convert 16-bit value from network to host byte order.
102 /** @brief Convert 32-bit value from network to host byte order.
110 /** @brief Convert 64-bit value from network to host byte order.
118 /** @brief Convert 16-bit value from host to network byte order.
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
78 constant buffer as the ``payload`` argument instead of a pointer to a writable
79 buffer.
82 buffer as the ``token`` argument instead of a pointer to a writable buffer.
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c4 * SPDX-License-Identifier: Apache-2.0
84 for (int i = 0; i < chunk->size; ++i) { in blob_chunk_wr()
85 blob_rx_sum += chunk->data[i]; in blob_chunk_wr()
86 if (chunk->data[i] != in blob_chunk_wr()
87 blob_data[(i + chunk->offset) % strlen(blob_data)]) { in blob_chunk_wr()
100 for (int i = 0; i < chunk->size; ++i) { in blob_chunk_rd()
101 chunk->data[i] = in blob_chunk_rd()
102 blob_data[(i + chunk->offset) % strlen(blob_data)]; in blob_chunk_rd()
120 for (int i = 0; i < ARRAY_SIZE(srv->targets); i++) { in is_self_update()
121 if (bt_mesh_has_addr(srv->targets[i].blob.addr)) { in is_self_update()
[all …]