path: root/wpa_supplicant/wpa_supplicant.conf
diff options
authorVamsi Krishna <vamsin@qti.qualcomm.com>2016-12-08 16:21:25 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-07 17:41:32 (GMT)
commit1d9d21f37694d45d6d885745855eaf6e5f1bc284 (patch)
tree8cbd186f871bc7ef02da65f74c93a217a79bba8c /wpa_supplicant/wpa_supplicant.conf
parent8331c9b316eae90c2b1a51c219a1659b68f031a0 (diff)
GAS: Add support to randomize transmitter address
Add support to send GAS requests with a randomized transmitter address if supported by the driver. The following control interface commands (and matching configuration file parameters) can be used to configure different types of randomization: "SET gas_rand_mac_addr 0" to disable randomizing TX MAC address, "SET gas_rand_mac_addr 1" to randomize the complete TX MAC address, "SET gas_rand_mac_addr 2" to randomize the TX MAC address except for OUI. A new random MAC address will be generated for every gas_rand_addr_lifetime seconds and this can be configured with "SET gas_rand_addr_lifetime <timeout>". Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index c90fa62..6faa7af 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -422,6 +422,15 @@ fast_reauth=1
# 2 = like 1, but maintain OUI (with local admin bit set)
+# MAC address policy for GAS operations
+# 0 = use permanent MAC address
+# 1 = use random MAC address
+# 2 = like 1, but maintain OUI (with local admin bit set)
+# Lifetime of GAS random MAC address in seconds (default: 60)
# Interworking (IEEE 802.11u)
# Enable Interworking