Home
last modified time | relevance | path

Searched refs:s_mac_table (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/esp_hw_support/
Dmac_addr.c41 static mac_t s_mac_table[] = { variable
63 #define ITEMS_IN_MAC_TABLE (sizeof(s_mac_table) / sizeof(mac_t))
75 if (s_mac_table[idx].type == type) { in get_idx()
88 if (!(s_mac_table[idx].state & STATE_SET)) { in get_mac_addr_from_mac_table()
89 esp_mac_type_t type = s_mac_table[idx].type; in get_mac_addr_from_mac_table()
97 err = get_efuse_factory_mac(s_mac_table[idx].mac); in get_mac_addr_from_mac_table()
103 err = get_efuse_mac_custom(s_mac_table[idx].mac); in get_mac_addr_from_mac_table()
107 err = get_efuse_mac_ext(s_mac_table[idx].mac); in get_mac_addr_from_mac_table()
113 s_mac_table[idx].state = STATE_SET; in get_mac_addr_from_mac_table()
121 memcpy(mac, s_mac_table[idx].mac, s_mac_table[idx].len); in get_mac_addr_from_mac_table()
[all …]