From 67ba1c8d5797c074c61dada4a81047098081451f Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Wed, 16 Dec 2020 18:43:50 +0800 Subject: [PATCH] esp32c3: Updates a description in Kconfig about Universal MAC Address strategy --- components/esp32c3/Kconfig | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/components/esp32c3/Kconfig b/components/esp32c3/Kconfig index 6a9fc50e7f..56c7fcafa9 100644 --- a/components/esp32c3/Kconfig +++ b/components/esp32c3/Kconfig @@ -30,15 +30,18 @@ menu "ESP32C3-Specific" 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 Two, all interfaces (WiFi station, WiFi softap) receive a - universally administered MAC address. They are generated sequentially by adding 0, and 1 (respectively) - to the final octet of the base MAC address. If the number of universal MAC addresses is one, - only WiFi station receives a universally administered MAC address. - It's generated by adding 0 to the base MAC address. - The WiFi softap receives local MAC addresses. It's derived from the universal WiFi station MAC addresses. + - If the number of universal MAC addresses is Three, all interfaces (WiFi station, WiFi softap + and Bluetooth) receive a universally administered MAC address. They are generated sequentially by adding + 0, 1 and 2 (respectively) to the final octet of the base MAC address. The remaining one interface + (Ethernet) receives local MAC addresses which is derived from the universal WiFi softap MAC. + - 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 1 or 2 per device.) + addresses in this range (either 2 or 3 per device.) config ESP32C3_UNIVERSAL_MAC_ADDRESSES_TWO bool "Two"