]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config.c
WPS: Add option for using random UUID
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 13 Apr 2017 10:22:56 +0000 (13:22 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 13 Apr 2017 14:38:55 +0000 (17:38 +0300)
commit183d3924cf0aab216d72059e07b7db2b7bbef5e4
tree5186f8377adbb0e5f96b56ef29ba6939b59fc5ee
parentc27a6c62529e25ace9a8a5444caeafac1ee4e4c5
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>
src/utils/uuid.c
src/utils/uuid.h
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/config_winreg.c
wpa_supplicant/wpa_supplicant.conf
wpa_supplicant/wps_supplicant.c