Home
last modified time | relevance | path

Searched +full:auto +full:- +full:negotiation (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/include/zephyr/net/
Dmdio.h4 * SPDX-License-Identifier: Apache-2.0
42 /** IEEE 802.3 45.3.4 post-read-increment-address operation */
62 /** Auto-negotiation */
104 /* Auto-negotiation Register: EEE advertisement Register */
108 /* BASE-T1 registers */
109 /** BASE-T1 Auto-negotiation control */
111 /** BASE-T1 Auto-negotiation status */
113 /** BASE-T1 Auto-negotiation advertisement register [15:0] */
115 /** BASE-T1 Auto-negotiation advertisement register [31:16] */
117 /** BASE-T1 Auto-negotiation advertisement register [47:32] */
[all …]
Dmii.h5 * SPDX-License-Identifier: Apache-2.0
33 /** Auto-Negotiation Advertisement Register */
35 /** Auto-Negotiation Link Partner Ability Reg */
37 /** Auto-Negotiation Expansion Register */
39 /** Auto-Negotiation Next Page Transmit Register */
41 /** Auto-Negotiation Link Partner Received Next Page Reg */
43 /** 1000BASE-T Control Register */
45 /** 1000BASE-T Status Register */
61 /** Auto-Negotiation enable */
67 /** restart auto-negotiation */
[all …]
Dethernet.h10 * SPDX-License-Identifier: Apache-2.0
154 /** Enabling/disabling auto negotiation supported */
172 /** IEEE 802.1Qav (credit-based shaping) supported */
205 /** TX-Injection supported */
258 * 10Base-T1S standard.
271 * compliant vendor (like for e.g. LAN865x - e.g. [2]).
274 * [1] - "OPEN Alliance 10BASE-T1x MAC-PHY Serial
276 * [2] - "DS60001734C" - LAN865x data sheet
428 * Additional fragment size (from Qbr). The minimum non-final
449 /** IEEE 802.11 Wi-Fi*/
[all …]
/Zephyr-latest/drivers/ethernet/
Dphy_cyclonev.c4 * SPDX-License-Identifier: Apache-2.0
8 * downloads/en/DeviceDoc/KSZ9021RL-RN-Data-Sheet-DS00003050A.pdf)
51 #define PHY_AUTOCAP BIT(3) /* Auto-negotiation capability */
55 /* Auto-Negotiation Advertisement */
64 /* 1000Base-T Control */
103 return -1; in alt_eth_phy_write_register()
122 sys_write32(phy_value & 0xffff, EMAC_GMAC_GMII_DATA_ADDR(p->base_addr)); in alt_eth_phy_write_register()
124 sys_write32(tmpreg & 0xffff, EMAC_GMAC_GMII_ADDR_ADDR(p->base_addr)); in alt_eth_phy_write_register()
130 tmpreg = sys_read32(EMAC_GMAC_GMII_ADDR_ADDR(p->base_addr)); in alt_eth_phy_write_register()
135 return -1; in alt_eth_phy_write_register()
[all …]
Dphy_xlnx_gem.c6 * - Marvell Alaska 88E1111 (QEMU simulated PHY)
7 * - Marvell Alaska 88E1510/88E1518/88E1512/88E1514 (Zedboard)
8 * - Texas Instruments TLK105
9 * - Texas Instruments DP83822
12 * SPDX-License-Identifier: Apache-2.0
34 * @return 16-bit data word received from the PHY
44 * MDIO read operation as described in Zynq-7000 TRM, in phy_xlnx_gem_mdio_read()
81 * Wait until gem.net_status[phy_mgmt_idle] == 1 -> current command in phy_xlnx_gem_mdio_read()
99 * Read the data returned by the PHY -> lower 16 bits of the PHY main- in phy_xlnx_gem_mdio_read()
113 * @param value 16-bit data word to be written to the target register
[all …]
Dphy_gecko.c5 * SPDX-License-Identifier: Apache-2.0
18 /* Maximum time to establish a link through auto-negotiation for
19 * 10BASE-T, 100BASE-TX is 3.7s, to add an extra margin the timeout
27 eth->NETWORKCTRL |= ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_enable()
33 eth->NETWORKCTRL &= ~ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_disable()
41 while (!(eth->NETWORKSTATUS & ETH_NETWORKSTATUS_MANDONE)) { in mdio_bus_wait()
42 if (retries-- == 0U) { in mdio_bus_wait()
44 return -ETIMEDOUT; in mdio_bus_wait()
60 eth->PHYMNGMNT = ETH_PHYMNGMNT_WRITE0_DEFAULT in mdio_bus_send()
83 ETH_TypeDef *const eth = phy->regs; in phy_read()
[all …]
Deth_cyclonev.c2 * 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 …]
Deth_lan9250.c1 /* LAN9250 Stand-alone Ethernet Controller with SPI
5 * SPDX-License-Identifier: Apache-2.0
26 const struct lan9250_config *config = dev->config; in lan9250_write_sys_reg()
43 return spi_write_dt(&config->spi, &tx); in lan9250_write_sys_reg()
48 const struct lan9250_config *config = dev->config; in lan9250_read_sys_reg()
72 return spi_transceive_dt(&config->spi, &tx, &rx); in lan9250_read_sys_reg()
89 return -EIO; in lan9250_wait_ready()
141 return -EIO; in lan9250_wait_mac_ready()
155 * https://github.com/microchip-pic-avr-solutions/ethernet-lan9250/ in lan9250_read_phy_reg()
189 * https://github.com/microchip-pic-avr-solutions/ethernet-lan9250/ in lan9250_write_phy_reg()
[all …]
Deth_lan9250_priv.h1 /* LAN9250 Stand-alone Ethernet Controller with SPI
5 * SPDX-License-Identifier: Apache-2.0
258 /* PHY Auto-Negotiation Advertisement Register (PHY_AN_ADV) */
Deth_xlnx_gem_priv.h7 * 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]
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
116 * Zynq-7000 TX clock configuration:
130 * https://www.xilinx.com/html_docs/registers/ug1087/ug1087-zynq-ultrascale-registers.html
[all …]
Deth_xlnx_gem.c5 * 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/drivers/ethernet/phy/
DKconfig3 # Copyright (c) 2021 IP-Logix Inc.
4 # SPDX-License-Identifier: Apache-2.0
13 module-dep = LOG
14 module-str = Log level for Ethernet PHY driver
15 module-help = Sets log level for Ethernet PHY Device Drivers.
27 so that it can start before the networking sub-system.
67 depends on GPIO || (!$(dt_compat_any_has_prop,$(DT_COMPAT_REALTEK_RTL8211F),reset-gpios) && \
68 !$(dt_compat_any_has_prop,$(DT_COMPAT_REALTEK_RTL8211F),int-gpios))
81 int "Auto-negotiation timeout value in milliseconds"
84 Maximum duration of auto-negotiation sequence in milliseconds
Dphy_mii.c2 * Copyright (c) 2021 IP-Logix Inc.
5 * SPDX-License-Identifier: Apache-2.0
39 /* Offset to align capabilities bits of 1000BASE-T Control and Status regs */
50 const struct phy_mii_dev_config *const cfg = dev->config; in phy_mii_reg_read()
52 /* if there is no mdio (fixed-link) it is not supported to read */ in phy_mii_reg_read()
53 if (cfg->mdio == NULL) { in phy_mii_reg_read()
54 return -ENOTSUP; in phy_mii_reg_read()
56 return mdio_read(cfg->mdio, cfg->phy_addr, reg_addr, value); in phy_mii_reg_read()
62 const struct phy_mii_dev_config *const cfg = dev->config; in phy_mii_reg_write()
64 /* if there is no mdio (fixed-link) it is not supported to write */ in phy_mii_reg_write()
[all …]
Dphy_dm8806_priv.h4 * SPDX-License-Identifier: Apache-2.0
21 /* Auto negotiation mode offset. */
145 * 100M link fail - LED off
146 * 100M link ok and no TX/RX activity - LED on
147 * 100M link ok and TX/RX activity - LED blinking
149 * No colision: - LED off
150 * Colision: - LED blinking
152 * 10M link fail - LED off
153 * 10M link ok and no TX/RX activity - LED on
154 * 10M link ok and TX/RX activity - LED blinking
Dphy_adin2111.c5 * SPDX-License-Identifier: Apache-2.0
56 * - RM mask 0x6FFF
57 * - ADI driver example mask 0x2BFF
73 /* Software Power-down Control Register */
77 /* Software Power-down Status */
112 const struct phy_adin2111_config *const cfg = dev->config; in phy_adin2111_c22_read()
114 return mdio_read(cfg->mdio, cfg->phy_addr, reg, val); in phy_adin2111_c22_read()
120 const struct phy_adin2111_config *const cfg = dev->config; in phy_adin2111_c22_write()
122 return mdio_write(cfg->mdio, cfg->phy_addr, reg, val); in phy_adin2111_c22_write()
128 const struct phy_adin2111_config *cfg = dev->config; in phy_adin2111_c45_setup_dev_reg()
[all …]
Dphy_dm8806.c2 * DM8806 Stand-alone Ethernet PHY with RMII
6 * SPDX-License-Identifier: Apache-2.0
50 const struct phy_dm8806_config *cfg = drv_data->dev->config; in phy_dm8806_gpio_callback()
52 gpio_pin_interrupt_configure_dt(&cfg->gpio_int, GPIO_INT_DISABLE); in phy_dm8806_gpio_callback()
53 k_sem_give(&drv_data->gpio_sem); in phy_dm8806_gpio_callback()
60 struct phy_dm8806_data *drv_data = dev->data; in phy_dm8806_thread_cb()
61 const struct phy_dm8806_config *cfg = dev->config; in phy_dm8806_thread_cb()
63 if (drv_data->link_speed_chenge_cb != NULL) { in phy_dm8806_thread_cb()
64 drv_data->link_speed_chenge_cb(dev, state, cb_data); in phy_dm8806_thread_cb()
69 mdio_read(cfg->mdio, INT_STAT_PHY_ADDR, INT_STAT_REG_ADDR, &data); in phy_dm8806_thread_cb()
[all …]
Dphy_qualcomm_ar8031.c5 * Copyright (c) 2021 IP-Logix Inc.
8 * SPDX-License-Identifier: Apache-2.0
77 const struct qc_ar8031_config *config = dev->config; in qc_ar8031_read()
80 /* Make sure excessive bits 16-31 are reset */ in qc_ar8031_read()
84 ret = mdio_read(config->mdio_dev, config->addr, reg_addr, (uint16_t *)data); in qc_ar8031_read()
94 const struct qc_ar8031_config *config = dev->config; in qc_ar8031_write()
97 ret = mdio_write(config->mdio_dev, config->addr, reg_addr, (uint16_t)data); in qc_ar8031_write()
111 return -EIO; in qc_ar8031_mmd_set_device()
114 return -EIO; in qc_ar8031_mmd_set_device()
118 return -EIO; in qc_ar8031_mmd_set_device()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dethernet.rst27 * Auto negotiation
33 * :ref:`Priority queues <traffic-class-support>`
39 see what is supported by ``net iface`` net-shell command. It will print
/Zephyr-latest/dts/bindings/ethernet/
Dxlnx,gem.yaml3 # 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/drivers/wifi/esp32/
DKconfig.esp3227 Make sure there is a minimal heap available for Wi-Fi driver.
39 bool "Automatically starts DHCP4 negotiation"
43 WiFi driver will automatically initiate DHCPV4 negotiation when connected.
46 bool "Activates the Station/AP co-existence mode."
55 Set auto WiFI reconnection when disconnected.
108 initialized and released when WiFi is de-initialized. The size of each
185 when WiFi is de-initialized. The size of each static RX MGMT buffer is fixed to about 500 Bytes.
282 Select this option to place frequently called Wi-Fi library functions in IRAM.
284 but Wi-Fi throughput will be reduced.
290 Select this option to place frequently called Wi-Fi library RX functions in IRAM.
[all …]
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c5 * SPDX-License-Identifier: Apache-2.0
57 return "WPA2-PSK"; in wifi_security_txt()
59 return "WPA2-PSK-SHA256"; in wifi_security_txt()
61 return "WPA3-SAE-HNP"; in wifi_security_txt()
63 return "WPA3-SAE-H2E"; in wifi_security_txt()
65 return "WPA3-SAE-AUTO"; in wifi_security_txt()
69 return "EAP-TLS"; in wifi_security_txt()
73 return "WPA-PSK"; in wifi_security_txt()
79 return "EAP-PEAP-MSCHAPV2"; in wifi_security_txt()
81 return "EAP-PEAP-GTC"; in wifi_security_txt()
[all …]
Dwifi_shell.c5 * SPDX-License-Identifier: Apache-2.0
45 #include <wifi_enterprise_test_certs/client-key.pem.inc>
58 #include <wifi_enterprise_test_certs/client-key2.pem.inc>
67 #include <wifi_enterprise_test_certs/server-key.pem.inc>
143 return -1; in cmd_wifi_set_enterprise_creds()
171 PR_WARNING("%s value out of range: %s, (%ld-%ld)\n", in parse_number()
174 PR_WARNING("Value out of range: %s, (%ld-%ld)\n", in parse_number()
186 (const struct wifi_scan_result *)cb->info; in handle_wifi_scan_result()
194 PR("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result()
198 strncpy(ssid_print, entry->ssid, sizeof(ssid_print) - 1); in handle_wifi_scan_result()
[all …]
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
82 struct eth_fake_context *ctx = dev->data; in eth_fake_iface_init()
84 ctx->iface = iface; in eth_fake_iface_init()
86 net_if_set_link_addr(iface, ctx->mac_address, in eth_fake_iface_init()
87 sizeof(ctx->mac_address), in eth_fake_iface_init()
112 if (ctx->link_100bt) { in eth_fake_get_total_bandwidth()
116 if (ctx->link_10bt) { in eth_fake_get_total_bandwidth()
131 for (i = 0; i < ARRAY_SIZE(ctx->priority_queues); ++i) { in eth_fake_recalc_qav_delta_bandwidth()
133 ctx->priority_queues[i].delta_bandwidth = 0; in eth_fake_recalc_qav_delta_bandwidth()
135 ctx->priority_queues[i].delta_bandwidth = in eth_fake_recalc_qav_delta_bandwidth()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Diface.c5 * SPDX-License-Identifier: Apache-2.0
44 EC(ETHERNET_AUTO_NEGOTIATION_SET, "Auto negotiation"),
60 EC(ETHERNET_TXINJECTION_MODE, "TX-Injection supported"),
94 PR("%s-duplex\n", PHY_LINK_IS_FULL_DUPLEX(link.speed) ? "full" : "half"); in print_phy_link_state()
107 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
112 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
117 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
120 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
125 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
130 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]

12