aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
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.h
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.h')
-rw-r--r--wpa_supplicant/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index c883c18..b429939 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1366,6 +1366,21 @@ struct wpa_config {
* 2 = like 1, but maintain OUI (with local admin bit set)
*/
int gas_rand_mac_addr;
+
+ /**
+ * dpp_config_processing - How to process DPP configuration
+ *
+ * 0 = report received configuration to an external program for
+ * processing; do not generate any network profile internally
+ * 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
+ */
+ int dpp_config_processing;
};