Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 189) sorted by relevance

12345678

/Zephyr-Core-3.7.0/modules/loramac-node/
DCMakeLists.txt31 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac
32 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region
48 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMac.c
49 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacAdr.c
50 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacClassB.c
51 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacCommands.c
52 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacConfirmQueue.c
53 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacCrypto.c
54 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacParser.c
55 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacSerializer.c
[all …]
/Zephyr-Core-3.7.0/samples/net/secure_mqtt_sensor_actuator/src/
Dmain.c51 struct net_linkaddr *mac; in log_mac_addr() local
53 mac = net_if_get_link_addr(iface); in log_mac_addr()
56 mac->addr[0], mac->addr[1], mac->addr[3], in log_mac_addr()
57 mac->addr[3], mac->addr[4], mac->addr[5]); in log_mac_addr()
/Zephyr-Core-3.7.0/samples/net/dsa/boards/
Dip_k66f.overlay8 local-mac-address = [00 00 12 13 00 10];
12 local-mac-address = [00 00 12 13 00 37];
16 local-mac-address = [00 00 12 13 00 27];
20 local-mac-address = [00 00 12 13 00 17];
/Zephyr-Core-3.7.0/drivers/hwinfo/
Dhwinfo_cc13xx_cc26xx.c25 uint8_t *mac; in z_impl_hwinfo_get_device_id() local
31 mac = (uint8_t *)(FCFG1_BASE + FCFG1_O_MAC_BLE_0); in z_impl_hwinfo_get_device_id()
33 mac = (uint8_t *)(CCFG_BASE + CCFG_O_IEEE_BLE_0); in z_impl_hwinfo_get_device_id()
39 mac = (uint8_t *)(FCFG1_BASE + FCFG1_O_MAC_15_4_0); in z_impl_hwinfo_get_device_id()
41 mac = (uint8_t *)(CCFG_BASE + CCFG_O_IEEE_MAC_0); in z_impl_hwinfo_get_device_id()
50 sys_memcpy_swap(buffer, mac, length); in z_impl_hwinfo_get_device_id()
/Zephyr-Core-3.7.0/dts/arm/st/f2/
Dstm32f207.dtsi13 mac: ethernet@40028000 { label
17 clock-names = "stmmaceth", "mac-clk-tx",
18 "mac-clk-rx", "mac-clk-ptp";
/Zephyr-Core-3.7.0/dts/arm/st/f4/
Dstm32f407.dtsi13 mac: ethernet@40028000 { label
17 clock-names = "stmmaceth", "mac-clk-tx",
18 "mac-clk-rx", "mac-clk-ptp";
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/
Dsimplelink.c32 unsigned char mac[6]; member
249 z_simplelink_get_mac(simplelink_data.mac); in simplelink_iface_init()
252 simplelink_data.mac[0], simplelink_data.mac[1], in simplelink_iface_init()
253 simplelink_data.mac[2], in simplelink_iface_init()
254 simplelink_data.mac[3], simplelink_data.mac[4], in simplelink_iface_init()
255 simplelink_data.mac[5]); in simplelink_iface_init()
257 net_if_set_link_addr(iface, simplelink_data.mac, in simplelink_iface_init()
258 sizeof(simplelink_data.mac), in simplelink_iface_init()
/Zephyr-Core-3.7.0/samples/net/cloud/aws_iot_mqtt/boards/
Dnucleo_f429zi.overlay1 &mac {
2 local-mac-address = [00 00 00 77 77 77];
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dcrypto_tc.c57 uint8_t mac[16]) in bt_mesh_aes_cmac_raw_key()
72 if (tc_cmac_final(mac, &state) == TC_CRYPTO_FAIL) { in bt_mesh_aes_cmac_raw_key()
80 size_t sg_len, uint8_t mac[16]) in bt_mesh_aes_cmac_mesh_key()
82 return bt_mesh_aes_cmac_raw_key(key->key, sg, sg_len, mac); in bt_mesh_aes_cmac_mesh_key()
86 uint8_t mac[32]) in bt_mesh_sha256_hmac_raw_key()
104 if (tc_hmac_final(mac, 32, &h) == TC_CRYPTO_FAIL) { in bt_mesh_sha256_hmac_raw_key()
Ddfu_metadata.c76 uint8_t mac[16]; in bt_mesh_dfu_metadata_comp_hash_get() local
80 err = bt_mesh_aes_cmac_raw_key(key, &sg, 1, mac); in bt_mesh_dfu_metadata_comp_hash_get()
85 *hash = sys_get_le32(mac); in bt_mesh_dfu_metadata_comp_hash_get()
/Zephyr-Core-3.7.0/dts/arm/st/f1/
Dstm32f107.dtsi22 mac: ethernet@40028000 { label
26 clock-names = "stmmaceth", "mac-clk-tx",
27 "mac-clk-rx";
/Zephyr-Core-3.7.0/tests/net/icmp/src/
Dmain.c64 uint8_t mac[sizeof(struct net_eth_addr)]; member
90 ctx->mac[0] = 0x00; in test_iface_init()
91 ctx->mac[1] = 0x00; in test_iface_init()
92 ctx->mac[2] = 0x5E; in test_iface_init()
93 ctx->mac[3] = 0x00; in test_iface_init()
94 ctx->mac[4] = 0x53; in test_iface_init()
95 ctx->mac[5] = ++counter; in test_iface_init()
97 net_if_set_link_addr(iface, ctx->mac, sizeof(ctx->mac), NET_LINK_ETHERNET); in test_iface_init()
391 ctx->mac[0] = 0x00; in offload_iface_init()
392 ctx->mac[1] = 0x00; in offload_iface_init()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/build_all/ethernet/
Dspi_devices.overlay47 local-mac-address = [00 00 00 00 00 00];
55 local-mac-address = [00 00 00 00 00 00];
74 local-mac-address = [ CA 2F B7 10 23 63 ];
99 local-mac-address = [ CA 2F B7 10 23 63 ];
102 local-mac-address = [ 3C 82 D4 A2 29 8E ];
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_smsc911x.c49 uint8_t mac[6]; member
172 static int smsc_read_mac_address(uint8_t *mac) in smsc_read_mac_address() argument
182 mac[0] = (uint8_t)(tmp >> 0); in smsc_read_mac_address()
183 mac[1] = (uint8_t)(tmp >> 8); in smsc_read_mac_address()
184 mac[2] = (uint8_t)(tmp >> 16); in smsc_read_mac_address()
185 mac[3] = (uint8_t)(tmp >> 24); in smsc_read_mac_address()
192 mac[4] = (uint8_t)(tmp >> 0); in smsc_read_mac_address()
193 mac[5] = (uint8_t)(tmp >> 8); in smsc_read_mac_address()
438 smsc_read_mac_address(context->mac); in eth_initialize()
442 net_if_set_link_addr(iface, context->mac, sizeof(context->mac), in eth_initialize()
Deth_numaker.c168 static void m_numaker_read_mac_addr(char *mac) in m_numaker_read_mac_addr() argument
201 mac[0] = (word1 & 0x0000ff00) >> 8; in m_numaker_read_mac_addr()
202 mac[1] = (word1 & 0x000000ff); in m_numaker_read_mac_addr()
203 mac[2] = (word0 & 0xff000000) >> 24; in m_numaker_read_mac_addr()
204 mac[3] = (word0 & 0x00ff0000) >> 16; in m_numaker_read_mac_addr()
205 mac[4] = (word0 & 0x0000ff00) >> 8; in m_numaker_read_mac_addr()
206 mac[5] = (word0 & 0x000000ff); in m_numaker_read_mac_addr()
208 LOG_INF("mac address %02x:%02x:%02x:%02x:%02x:%02x", mac[0], mac[1], mac[2], mac[3], in m_numaker_read_mac_addr()
209 mac[4], mac[5]); in m_numaker_read_mac_addr()
Deth_smsc91x.c65 uint8_t mac[6]; member
656 sc->mac[0] = smsc_read_1(sc, IAR0); in smsc_init()
657 sc->mac[1] = smsc_read_1(sc, IAR1); in smsc_init()
658 sc->mac[2] = smsc_read_1(sc, IAR2); in smsc_init()
659 sc->mac[3] = smsc_read_1(sc, IAR3); in smsc_init()
660 sc->mac[4] = smsc_read_1(sc, IAR4); in smsc_init()
661 sc->mac[5] = smsc_read_1(sc, IAR5); in smsc_init()
763 LOG_INF("MAC %02x:%02x:%02x:%02x:%02x:%02x", sc->mac[0], sc->mac[1], sc->mac[2], sc->mac[3], in eth_initialize()
764 sc->mac[4], sc->mac[5]); in eth_initialize()
766 net_if_set_link_addr(iface, sc->mac, sizeof(sc->mac), NET_LINK_ETHERNET); in eth_initialize()
Deth_lan865x.c289 uint8_t *mac = &ctx->mac_address[0]; in lan865x_write_macaddress() local
293 val = (mac[3] << 24) | (mac[2] << 16) | (mac[1] << 8) | mac[0]; in lan865x_write_macaddress()
297 val = (mac[5] << 8) | mac[4]; in lan865x_write_macaddress()
301 val = (mac[5] << 24) | (mac[4] << 16) | (mac[3] << 8) | mac[2]; in lan865x_write_macaddress()
/Zephyr-Core-3.7.0/subsys/usb/device/class/netusb/
Dnetusb.c126 static uint8_t mac[6] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x00 }; in netusb_init() local
135 net_if_set_link_addr(iface, mac, sizeof(mac), NET_LINK_ETHERNET); in netusb_init()
/Zephyr-Core-3.7.0/dts/arm/st/f7/
Dstm32f745.dtsi78 mac: ethernet@40028000 { label
82 clock-names = "stmmaceth", "mac-clk-tx",
83 "mac-clk-rx", "mac-clk-ptp";
Dstm32f765.dtsi71 mac: ethernet@40028000 { label
75 clock-names = "stmmaceth", "mac-clk-tx",
76 "mac-clk-rx", "mac-clk-ptp";
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/
Deswifi_core.c450 uint8_t mac[6]; in eswifi_iface_init() local
461 if (eswifi_get_mac_addr(eswifi, mac) < 0) { in eswifi_iface_init()
467 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); in eswifi_iface_init()
469 memcpy(eswifi->mac, mac, sizeof(eswifi->mac)); in eswifi_iface_init()
470 net_if_set_link_addr(iface, eswifi->mac, sizeof(eswifi->mac), in eswifi_iface_init()
/Zephyr-Core-3.7.0/tests/net/hostname/src/
Dmain.c96 uint8_t *mac = net_iface_get_mac(net_if_get_device(iface)); in net_iface_init() local
98 net_if_set_link_addr(iface, mac, sizeof(struct net_eth_addr), in net_iface_init()
364 char mac[6]; in ZTEST() local
367 ret = bytes_from_hostname_unique(mac, sizeof(mac), in ZTEST()
370 zassert_mem_equal(mac, net_if_get_link_addr(iface1)->addr, in ZTEST()
/Zephyr-Core-3.7.0/drivers/wifi/winc1500/
Dwifi_winc1500.c152 unsigned char mac[6]; member
1101 w1500_data.mac[0], w1500_data.mac[1], w1500_data.mac[2], in winc1500_iface_init()
1102 w1500_data.mac[3], w1500_data.mac[4], w1500_data.mac[5]); in winc1500_iface_init()
1104 net_if_set_link_addr(iface, w1500_data.mac, sizeof(w1500_data.mac), in winc1500_iface_init()
1152 if (m2m_wifi_get_otp_mac_address(w1500_data.mac, &is_valid) != M2M_SUCCESS) { in winc1500_init()
1159 w1500_data.mac[0], w1500_data.mac[1], w1500_data.mac[2], in winc1500_init()
1160 w1500_data.mac[3], w1500_data.mac[4], w1500_data.mac[5]); in winc1500_init()
/Zephyr-Core-3.7.0/samples/net/zperf/
Dusbd_next_ecm.overlay10 remote-mac-address = "00005E005301";
/Zephyr-Core-3.7.0/include/zephyr/net/
Ddsa.h177 const uint8_t *mac,
243 const uint8_t *mac,

12345678