Message ID | 1461168993-13693-1-git-send-email-danielmicay@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
On Wed, Apr 20, 2016 at 12:16:33PM -0400, Daniel Micay wrote: > This enables pre-associating (scanning) MAC address randomization for > Android. It uses the default 60 second expiry time. > > Change-Id: Id23947f46a0014e2b42913cd0a2cc3f908c3bc62 > --- This would need to have a Signed-off-by: line in the commit message as described in the top level CONTRIBUTIONS file. > diff --git a/wpa_supplicant/wpa_supplicant_template.conf b/wpa_supplicant/wpa_supplicant_template.conf > +preassoc_mac_addr=1 How has this been tested? I'm mainly interested in which Android versions and Wi-Fi drivers were used. I don't think I'd recommend using this preassoc_mac_addr=1 design since it changes the MAC address of the netdev. Instead, I'd use the pre-scan request mechanism to request driver to use random MAC addresses. This can be configured with the MAC_RAND_SCAN control interface command.
diff --git a/wpa_supplicant/wpa_supplicant_template.conf b/wpa_supplicant/wpa_supplicant_template.conf index f3f2a64..494d10a 100644 --- a/wpa_supplicant/wpa_supplicant_template.conf +++ b/wpa_supplicant/wpa_supplicant_template.conf @@ -4,3 +4,4 @@ eapol_version=1 ap_scan=1 fast_reauth=1 pmf=1 +preassoc_mac_addr=1