commit | 30039ff068dacecc03e6a717bece58eb34d7f5b0 | [log] [tgz] |
---|---|---|
author | Eric Caruso <ejcaruso@google.com> | Tue Apr 19 16:50:19 2016 -0700 |
committer | Eric Caruso <ejcaruso@google.com> | Tue Apr 19 16:51:31 2016 -0700 |
tree | 670516d8c8943620797704c6b1899519983312ec | |
parent | ad9c9c1af5b2e12917e2d11890c74d0aec98e301 [diff] |
shill: Add MAC address randomization property You can set this property on a shill device to have it set up randomization on the underlying wpa_supplicant interface. BUG=chromium:579598 TEST=add logs, then $ dbus-send --print-reply --system --dest=org.chromium.flimflam \ /device/wlan0 org.chromium.flimflam.Device.SetProperty \ string:MACAddressRandomization variant:boolean:true and make sure we start randomizing the MAC address in scans with a sniffer, then $ dbus-send --print-reply --system --dest=org.chromium.flimflam \ /device/wlan0 org.chromium.flimflam.Device.SetProperty \ string:MACAddressRandomization variant:boolean:false and make sure the MAC address is the hardware MAC. Also: current and new unittests. Change-Id: I7833ae61bf869cd4879662252f695884d98c4f9a