aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2018-11-29 08:46:43 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-12 15:58:30 (GMT)
commita95906f9381ee8aa4ccb66e1c99952658d8e3369 (patch)
tree92e523e361885382de8bb6d3832fbbc39334708c /wpa_supplicant/config.c
parent9359cc8483eb84fbbb0a75cf64dcffd213fb412e (diff)
downloadhostap-a95906f9381ee8aa4ccb66e1c99952658d8e3369.zip
hostap-a95906f9381ee8aa4ccb66e1c99952658d8e3369.tar.gz
hostap-a95906f9381ee8aa4ccb66e1c99952658d8e3369.tar.bz2
P2P: support random interface address
To enhance privacy, generate a random interface for each group. There are two configurations are introduced: * p2p_interface_random_mac_addr enable interface random MAC address feature, default disable. Signed-off-by: Jimmy Chen <jimmycmchen@google.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index d4570d6..b4e9952 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -4787,6 +4787,7 @@ static const struct global_parse_data global_fields[] = {
{ INT_RANGE(p2p_cli_probe, 0, 1), 0 },
{ INT(p2p_device_random_mac_addr), 0 },
{ FUNC(p2p_device_persistent_mac_addr), 0 },
+ { INT(p2p_interface_random_mac_addr), 0 },
#endif /* CONFIG_P2P */
{ FUNC(country), CFG_CHANGED_COUNTRY },
{ INT(bss_max_count), 0 },