aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-21 15:01:51 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-21 15:03:34 (GMT)
commit8528994e21bb6c3ceafde40379b18785d311d672 (patch)
treef0d5f13e828fdbb3ee346839dcfea659c478ca3a /wpa_supplicant/config_file.c
parentda143f7fb91e61db7a3946cbaa527fae57a35ac1 (diff)
downloadhostap-8528994e21bb6c3ceafde40379b18785d311d672.zip
hostap-8528994e21bb6c3ceafde40379b18785d311d672.tar.gz
hostap-8528994e21bb6c3ceafde40379b18785d311d672.tar.bz2
DPP: Automatic network profile creation
wpa_supplicant can now be configured to generate a network profile automatically based on DPP configuration. The following dpp_config_processing values can be used to specify the behavior: 0 = report received configuration to an external program for processing; do not generate any network profile internally (default) 1 = report received configuration to an external program and generate a network profile internally, but do not automatically connect to the created (disabled) profile; the network profile id is reported to external programs 2 = report received configuration to an external program, generate a network profile internally, try to connect to the created profile automatically Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index dead8ad..7de0438 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1455,6 +1455,9 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
config->gas_rand_addr_lifetime);
if (config->gas_rand_mac_addr)
fprintf(f, "gas_rand_mac_addr=%d\n", config->gas_rand_mac_addr);
+ if (config->dpp_config_processing)
+ fprintf(f, "dpp_config_processing=%d\n",
+ config->dpp_config_processing);
}