wifi: implement MAC address randomization

System Internals / NetworkManager - Dan Williams [redhat.com] - 18 November 2015 08:37 UTC

If the supplicant supports it and the connection requests it, tell the supplicant to randomize the MAC address for the association.

In addition, like both iOS, Android, and other OSs always randomize the MAC address when performing a WiFi scan.

190e0e3 wifi: implement MAC address randomization
man/NetworkManager.conf.xml.in | 4 +
src/devices/wifi/nm-device-wifi.c | 17 +++-
src/supplicant-manager/nm-supplicant-config.c | 53 ++++++++--
src/supplicant-manager/nm-supplicant-config.h | 7 +-
src/supplicant-manager/nm-supplicant-interface.c | 105 ++++++++++++++++++--
src/supplicant-manager/nm-supplicant-interface.h | 6 --
src/supplicant-manager/nm-supplicant-types.h | 6 ++
.../tests/test-supplicant-config.c | 24 ++++-
8 files changed, 190 insertions(+), 32 deletions(-)

Upstream: cgit.freedesktop.org


  • Share