aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-04-13 10:22:56 (GMT)
committerJouni Malinen <j@w1.fi>2017-04-13 14:38:55 (GMT)
commit183d3924cf0aab216d72059e07b7db2b7bbef5e4 (patch)
tree5186f8377adbb0e5f96b56ef29ba6939b59fc5ee /wpa_supplicant/wpa_supplicant.conf
parentc27a6c62529e25ace9a8a5444caeafac1ee4e4c5 (diff)
downloadhostap-183d3924cf0aab216d72059e07b7db2b7bbef5e4.zip
hostap-183d3924cf0aab216d72059e07b7db2b7bbef5e4.tar.gz
hostap-183d3924cf0aab216d72059e07b7db2b7bbef5e4.tar.bz2
WPS: Add option for using random UUID
If the uuid configuration parameter is not set, wpa_supplicant generates an UUID automatically to allow WPS operations to proceed. This was previously always using an UUID generated from the MAC address. This commit adds an option to use a random UUID instead. The type of the automatically generated UUID is set with the auto_uuid parameter: 0 = based on MAC address (default; old behavior), 1 = random UUID. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 6dac20e..c07badb 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -218,9 +218,15 @@ fast_reauth=1
# Wi-Fi Protected Setup (WPS) parameters
# Universally Unique IDentifier (UUID; see RFC 4122) of the device
-# If not configured, UUID will be generated based on the local MAC address.
+# If not configured, UUID will be generated based on the mechanism selected with
+# the auto_uuid parameter.
#uuid=12345678-9abc-def0-1234-56789abcdef0
+# Automatic UUID behavior
+# 0 = generate static value based on the local MAC address (default)
+# 1 = generate a random UUID every time wpa_supplicant starts
+#auto_uuid=0
+
# Device Name
# User-friendly description of device; up to 32 octets encoded in UTF-8
#device_name=Wireless Client