aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-09-29 20:24:19 (GMT)
committerJouni Malinen <j@w1.fi>2014-09-29 21:40:23 (GMT)
commita313d17de943cbaf12cbf67d666af14791be8ad2 (patch)
treec1dba9d5a6350aa0adbe952fde54ac01828cf108 /wpa_supplicant/wpa_supplicant.conf
parent1cbdb9d13754e1476620f5a3938b726270821adb (diff)
downloadhostap-a313d17de943cbaf12cbf67d666af14791be8ad2.zip
hostap-a313d17de943cbaf12cbf67d666af14791be8ad2.tar.gz
hostap-a313d17de943cbaf12cbf67d666af14791be8ad2.tar.bz2
Extend random MAC address support to allow OUI to be kept
mac_addr=2 and preassoc_mac_addr=2 parameters can now be used to configure random MAC address to be generated by maintaining the OUI part of the permanent MAC address (but with locally administered bit set to 1). Other than that, these values result in similar behavior with mac_addr=1 and preassoc_mac_addr=1, respectively. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index f2eaaa8..89da0da 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -335,6 +335,7 @@ fast_reauth=1
# MAC address policy default
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
+# 2 = like 1, but maintain OUI (with local admin bit set)
#
# By default, permanent MAC address is used unless policy is changed by
# the per-network mac_addr parameter. Global mac_addr=1 can be used to
@@ -347,6 +348,7 @@ fast_reauth=1
# MAC address policy for pre-association operations (scanning, ANQP)
# 0 = use permanent MAC address
# 1 = use random MAC address
+# 2 = like 1, but maintain OUI (with local admin bit set)
#preassoc_mac_addr=0
# Interworking (IEEE 802.11u)
@@ -982,6 +984,7 @@ fast_reauth=1
# MAC address policy
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
+# 2 = like 1, but maintain OUI (with local admin bit set)
#mac_addr=0
# disable_ht: Whether HT (802.11n) should be disabled.