/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.nxp_s32_gmac | 1 # Copyright 2022-2023 NXP 2 # SPDX-License-Identifier: Apache-2.0 54 This option specifies the zero-based index of the clock configuration 89 bool "Multicast destination address filtering" 91 Enable support for multicast destination address filtering in the MAC. 92 MAC performs imperfect filtering using a 64-bit hash table. The upper 93 6-bits CRC of the received multicast address is used as index to the 94 content of the hash table. Only multicast with the computed hash set 95 in the multicast table will be received and all other multicast is 96 dropped by the MAC. If disabled, all multicast is received by the MAC.
|
D | Kconfig.stm32_hal | 5 # SPDX-License-Identifier: Apache-2.0 84 PHY's carrier status is re-evaluated. 159 bool "Multicast hash filter support" 161 Enable support for multicast hash filtering in the MAC. 163 based on a computed hash of the destination MAC address of 164 the multicast address. Only multicast with the computed 165 hash set in the multicast table will be received and all 166 other multicast is dropped by the MAC. If disabled then all 167 multicast is received by the MAC.
|
D | eth_nxp_s32_netc.c | 4 * SPDX-License-Identifier: Apache-2.0 29 /* Global MAC filter hash table required for the baremetal driver */ 43 msix->handler(channel, NULL, 0); in nxp_s32_eth_msix_wrapper() 48 return ctx->iface; in get_iface() 53 const struct nxp_s32_eth_config *cfg = dev->config; in nxp_s32_eth_initialize_common() 54 struct nxp_s32_eth_data *ctx = dev->data; in nxp_s32_eth_initialize_common() 59 /* Populate the MAC filter hash table addresses for this SI */ in nxp_s32_eth_initialize_common() 60 __ASSERT_NO_MSG(cfg->si_idx < FEATURE_NETC_ETH_NUMBER_OF_CTRLS); in nxp_s32_eth_initialize_common() 61 MACFilterHashTableAddrs[cfg->si_idx] = cfg->mac_filter_hash_table; in nxp_s32_eth_initialize_common() 63 status = Netc_Eth_Ip_Init(cfg->si_idx, &cfg->netc_cfg); in nxp_s32_eth_initialize_common() [all …]
|
D | eth_sam_gmac_priv.h | 3 * SPDX-License-Identifier: Apache-2.0 35 #define GMAC_PRIORITY_QUEUE_NUM (GMAC_QUEUE_NUM - 1) 37 BUILD_ASSERT(ARRAY_SIZE(GMAC->GMAC_TBQBAPQ) + 1 == GMAC_QUEUE_NUM, 42 #define GMAC_ACTIVE_PRIORITY_QUEUE_NUM (GMAC_ACTIVE_QUEUE_NUM - 1) 125 /** Unicast hash match */ 127 /** Multicast hash match */
|
D | eth_xlnx_gem_priv.h | 7 * SPDX-License-Identifier: Apache-2.0 26 /* Receive Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-2. */ 30 * [31 .. 02] Mask for effective buffer address -> excludes [1..0] 41 * [30] Multicast hash match detected 42 * [29] Unicast hash match detected 47 * [23 .. 22] These bits have different semantics depending on whether RX check- 54 * [15] End-of-frame bit 55 * [14] Start-of-frame bit 78 /* Transmit Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-3. */ 86 * exhausted mid-frame [all …]
|
D | eth_lan865x.c | 4 * SPDX-License-Identifier: Apache-2.0 26 struct lan865x_data *ctx = dev->data; in lan865x_mac_rxtx_control() 33 return oa_tc6_reg_write(ctx->tc6, LAN865x_MAC_NCR, ctl); in lan865x_mac_rxtx_control() 39 struct lan865x_data *ctx = dev->data; in lan865x_iface_init() 41 net_if_set_link_addr(iface, ctx->mac_address, sizeof(ctx->mac_address), in lan865x_iface_init() 44 if (ctx->iface == NULL) { in lan865x_iface_init() 45 ctx->iface = iface; in lan865x_iface_init() 51 ctx->iface_initialized = true; in lan865x_iface_init() 65 const struct lan865x_config *cfg = dev->config; in lan865x_set_config() 66 struct lan865x_data *ctx = dev->data; in lan865x_set_config() [all …]
|
D | eth_stm32_hal.c | 5 * SPDX-License-Identifier: Apache-2.0 73 #define IS_ETH_DMATXDESC_OWN(dma_tx_desc) (dma_tx_desc->DESC3 & \ 86 #define IS_ETH_DMATXDESC_OWN(dma_tx_desc) (dma_tx_desc->Status & \ 161 size_t index = (RxBufferPtr)buff - &dma_rx_buffer[0]; in HAL_ETH_RxLinkCallback() 166 header->size = Length; in HAL_ETH_RxLinkCallback() 175 ((struct eth_stm32_rx_buffer_header *)*pEnd)->next = header; in HAL_ETH_RxLinkCallback() 188 &dma_tx_buffer_header[ctx->first_tx_buffer_index]; in HAL_ETH_TxFreeCallback() 191 buffer_header->used = false; in HAL_ETH_TxFreeCallback() 192 if (buffer_header->tx_buff.next != NULL) { in HAL_ETH_TxFreeCallback() 193 buffer_header = CONTAINER_OF(buffer_header->tx_buff.next, in HAL_ETH_TxFreeCallback() [all …]
|
D | eth_sam_gmac.c | 6 * SPDX-License-Identifier: Apache-2.0 12 * This is a zero-copy networking implementation of an Ethernet driver. To 18 * - one shot PHY setup, no support for PHY disconnect/reconnect 19 * - no statistics collection 67 dcache_enabled = (SCB->CCR & SCB_CCR_DC_Msk); in dcache_is_enabled() 76 uint32_t start_addr = addr & (uint32_t)~(GMAC_DCACHE_ALIGNMENT - 1); in dcache_invalidate() 77 uint32_t size_full = size + addr - start_addr; in dcache_invalidate() 89 uint32_t start_addr = addr & (uint32_t)~(GMAC_DCACHE_ALIGNMENT - 1); in dcache_clean() 90 uint32_t size_full = size + addr - start_addr; in dcache_clean() 119 #if CONFIG_NET_BUF_DATA_SIZE * (CONFIG_NET_BUF_RX_COUNT - \ [all …]
|
D | eth_cyclonev.c | 2 * SPDX-License-Identifier: Apache-2.0 5 * 3504-0 Universal 10/100/1000 Ethernet MAC (DWC_gmac) 9 * https://github.com/altera-opensource/intel-socfpga-hwlib 71 * /us/en/pdfs/literature/hb/cyclone-v/cv_54001.pdf p. 1252 135 sys_write32(tmpreg, EMAC_GMAC_MAC_ADDR_HIGH_ADDR(p->base_addr, n)); in eth_cyclonev_set_mac_addr() 142 sys_write32(tmpreg, EMAC_GMAC_MAC_ADDR_LOW_ADDR(p->base_addr, n)); in eth_cyclonev_set_mac_addr() 156 return -1; in eth_cyclonev_get_software_reset_status() 158 return EMAC_DMA_MODE_SWR_GET(sys_read32(EMAC_DMAGRP_BUS_MODE_ADDR(p->base_addr))); in eth_cyclonev_get_software_reset_status() 167 * @retval 0 if Reset was successful, -1 otherwise 175 return -1; in eth_cyclonev_software_reset() [all …]
|
D | eth_xlnx_gem.c | 5 * SPDX-License-Identifier: Apache-2.0 8 * - Only supports 32-bit addresses in buffer descriptors, therefore 9 * the ZynqMP APU (Cortex-A53 cores) may not be fully supported. 10 * - Hardware timestamps not considered. 11 * - VLAN tags not considered. 12 * - Wake-on-LAN interrupt not supported. 13 * - Send function is not SMP-capable (due to single TX done semaphore). 14 * - Interrupt-driven PHY management not supported - polling only. 15 * - No explicit placement of the DMA memory area(s) in either a 18 * with the Cortex-R5 QEMU target or an actual R5 running without the [all …]
|
/Zephyr-latest/dts/bindings/ethernet/ |
D | xlnx,gem.yaml | 3 # SPDX-License-Identifier: Apache-2.0 10 include: ethernet-controller.yaml 19 clock-frequency: 27 which it will be adjusted at run-time. Therefore, the value of this 29 respective GEM's TX clock - by default, this is the IO PLL. 31 mdc-divider: 42 init-mdio-phy: 45 Activates the management of a PHY associated with the controller in- 46 stance. If this parameter is activated at the board level, the de- 47 fault values of the associated parameters mdio-phy-address, phy-poll- [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | igmp.c | 8 * SPDX-License-Identifier: Apache-2.0 66 return -ENOBUFS; in igmp_v2_create() 69 igmp->type = type; in igmp_v2_create() 70 igmp->max_rsp = 0U; in igmp_v2_create() 71 net_ipaddr_copy(&igmp->address, addr); in igmp_v2_create() 72 igmp->chksum = 0; in igmp_v2_create() 75 return -ENOBUFS; in igmp_v2_create() 78 igmp->chksum = net_calc_chksum_igmp(pkt); in igmp_v2_create() 84 if (net_pkt_write(pkt, &igmp->chksum, sizeof(igmp->chksum))) { in igmp_v2_create() 85 return -ENOBUFS; in igmp_v2_create() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi.h | 5 * SPDX-License-Identifier: Apache-2.0 10 * @brief IEEE 802.11 protocol and general Wi-Fi definitions. 14 * @brief Wi-Fi Management API. 15 * @defgroup wifi_mgmt Wi-Fi Management 45 /** WPA2-PSK security. */ 47 /** WPA2-PSK-SHA256 security. */ 49 /** WPA3-SAE security. */ 51 /** WPA3-SAE security with hunting-and-pecking loop. */ 53 /** WPA3-SAE security with hash-to-element. */ 55 /** WPA3-SAE security with both hunting-and-pecking loop and hash-to-element enabled. */ [all …]
|
D | dns_resolve.h | 10 * SPDX-License-Identifier: Apache-2.0 83 /* If mDNS is enabled, then add some extra well known multicast servers to the 96 /* If LLMNR is enabled, then add some extra well known multicast servers to the 267 DNS_EAI_BADFLAGS = -1, 269 DNS_EAI_NONAME = -2, 271 DNS_EAI_AGAIN = -3, 272 /** Non-recoverable failure in name res */ 273 DNS_EAI_FAIL = -4, 275 DNS_EAI_NODATA = -5, 277 DNS_EAI_FAMILY = -6, [all …]
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | resolve.c | 11 * SPDX-License-Identifier: Apache-2.0 55 * See https://tools.ietf.org/html/rfc1035#section-4.1.4 60 * https://tools.ietf.org/html/rfc1035#section-4.1.2 108 if (net_ipv4_is_addr_mcast(&net_sin(addr)->sin_addr) && in server_is_mdns() 109 net_sin(addr)->sin_addr.s4_addr[3] == 251U) { in server_is_mdns() 117 if (net_ipv6_is_addr_mcast(&net_sin6(addr)->sin6_addr) && in server_is_mdns() 118 net_sin6(addr)->sin6_addr.s6_addr[15] == 0xfb) { in server_is_mdns() 131 if (net_ipv4_is_addr_mcast(&net_sin(addr)->sin_addr) && in server_is_llmnr() 132 net_sin(addr)->sin_addr.s4_addr[3] == 252U) { in server_is_llmnr() 140 if (net_ipv6_is_addr_mcast(&net_sin6(addr)->sin6_addr) && in server_is_llmnr() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.3.rst | 14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery) 17 CMSIS-DSP as the default backend. 30 * CVE-2023-0359: Under embargo until 2023-04-20 32 * CVE-2023-0779: Under embargo until 2023-04-22 66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding. 71 * Starting from this release ``zephyr-`` prefixed tags won't be created 79 * MCUmgr img_mgmt now requires that a full sha256 hash to be used when 80 uploading an image to keep track of the progress, where the sha256 hash 81 is of the whole file being uploaded (different to the hash used when getting 82 image states). Use of a truncated hash or non-sha256 hash will still work [all …]
|
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 [all …]
|
D | release-notes-3.7.rst | 10 This release is the last non-maintenance 3.x release and, as such, will be the next 18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API, 21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017 25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio 29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and 35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr. 39 1588) allows to synchronize time across devices with sub-microsecond accuracy. 52 * 1-Wire 71 :ref:`pinctrl-guide` for more details. 88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8 [all …]
|
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN() 58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been 69 * The following Kconfig options related to radio front-end modules (FEMs) were [all …]
|
D | release-notes-1.14.rst | 17 * CVE-2020-10066 18 * CVE-2020-10069 19 * CVE-2020-13601 20 * CVE-2020-13602 32 * :github:`issuenumber` - issue title 34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre 35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply 36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller 37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board. 38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral … [all …]
|
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
D | release-notes-2.0.rst | 12 * The kernel now supports both 32- and 64-bit architectures. 17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a 20 * We added support for UpdateHub, an end-to-end solution for large scale 21 over-the-air device updates. 22 * We added support for ARM Cortex-R Architecture (Experimental). 32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and 35 negotiation. This allows practical brute-force attacks (aka "KNOB") 42 * New kernel API for per-thread disabling of Floating Point Services for 43 ARC, ARM Cortex-M, and x86 architectures. 45 * Additional support for compatibility with 64-bit architectures. [all …]
|
D | release-notes-2.6.rst | 13 * Added support for 64-bit ARCv3 14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture 15 * Added initial support for Arm v8.1-m and Cortex-M55 22 https://github.com/zephyrproject-rtos/example-application 34 * CVE-2021-3581: Under embargo until 2021-09-04 41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented. 47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned. 48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change 194 * Added support for null pointer dereferencing detection in Cortex-M. [all …]
|
D | release-notes-3.2.rst | 13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`). 15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`. 31 * CVE-2022-2993: Under embargo until 2022-11-03 33 * CVE-2022-2741: Under embargo until 2022-10-14 56 This definition can be used by third-party code to compile code conditional 58 Therefore, any third-party code integrated using the Zephyr build system will 91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates 129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig 156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and 157 :dtcompatible:`fixed-partitions`. [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the 43 The simplest way to provision the device is through self-provisioning. To do this the user must 49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision 51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external 68 ``mesh prov local`` command above), we can perform self-configuration through any of the 73 uart:~$ mesh models cfg get-comp 89 uart:~$ mesh test net-send 82020100 120 .. list-table:: Parameter formats 122 :header-rows: 1 124 * - Type [all …]
|