:orphan: .. title:: choice ESP32_UNIVERSAL_MAC_ADDRESSES: Number of universally administered (by IEEE) MAC address .. _choice_48: .. describe:: choice ESP32_UNIVERSAL_MAC_ADDRESSES: Number of universally administered (by IEEE) MAC address *Number of universally administered (by IEEE) MAC address* Type: ``bool`` Help ==== .. code-block:: none Configure the number of universally administered (by IEEE) MAC addresses. During initialization, MAC addresses for each network interface are generated or derived from a single base MAC address. If the number of universal MAC addresses is four, all four interfaces (WiFi station, WiFi softap, Bluetooth and Ethernet) receive a universally administered MAC address. These are generated sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address. If the number of universal MAC addresses is two, only two interfaces (WiFi station and Bluetooth) receive a universally administered MAC address. These are generated sequentially by adding 0 and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethernet) receive local MAC addresses. These are derived from the universal WiFi station and Bluetooth MAC addresses, respectively. When using the default (Espressif-assigned) base MAC address, either setting can be used. When using a custom universal MAC address range, the correct setting will depend on the allocation of MAC addresses in this range (either 2 or 4 per device.) Direct dependencies =================== \ :kconfig:`SOC_ESP32 ` && \ :ref:` ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR ` Choice options ============== - \ :kconfig:`ESP32_UNIVERSAL_MAC_ADDRESSES_TWO ` - \ :kconfig:`ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR ` Kconfig definition ================== At ``/xtensa/esp32/Kconfig.soc:215`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:38`` → ``/Kconfig:9`` Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 .. code-block:: kconfig choice ESP32_UNIVERSAL_MAC_ADDRESSES bool "Number of universally administered (by IEEE) MAC address" default ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR depends on SOC_ESP32 && help Configure the number of universally administered (by IEEE) MAC addresses. During initialization, MAC addresses for each network interface are generated or derived from a single base MAC address. If the number of universal MAC addresses is four, all four interfaces (WiFi station, WiFi softap, Bluetooth and Ethernet) receive a universally administered MAC address. These are generated sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address. If the number of universal MAC addresses is two, only two interfaces (WiFi station and Bluetooth) receive a universally administered MAC address. These are generated sequentially by adding 0 and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethernet) receive local MAC addresses. These are derived from the universal WiFi station and Bluetooth MAC addresses, respectively. When using the default (Espressif-assigned) base MAC address, either setting can be used. When using a custom universal MAC address range, the correct setting will depend on the allocation of MAC addresses in this range (either 2 or 4 per device.) *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*