choice ESP32_UNIVERSAL_MAC_ADDRESSES: Number of universally administered (by IEEE) MAC address

Number of universally administered (by IEEE) MAC address

Number of universally administered (by IEEE) MAC address

Type: bool

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.)

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.)

Direct dependencies

(SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>) || (SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>)

(Includes any dependencies from ifs and menus.)

Defaults

Choice options

Kconfig definitions

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:207

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:38<Zephyr>/soc/Kconfig:7<nRF>/doc/_build/kconfig/Kconfig.soc:1

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32

choice ESP32_UNIVERSAL_MAC_ADDRESSES
    bool "Number of universally administered (by IEEE) MAC address"
    default ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR
    depends on SOC_ESP32 && <choice>
    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.)

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:207

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:38<Zephyr>/soc/Kconfig:9

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32

choice ESP32_UNIVERSAL_MAC_ADDRESSES
    bool "Number of universally administered (by IEEE) MAC address"
    default ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR
    depends on SOC_ESP32 && <choice>
    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.)