aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-18 21:30:24 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:16 (GMT)
commit1d47214aa973d46cde9dd9fcdbb9a6ef95076f8f (patch)
treebef5f9101c61df2202b9133e21026a314f882e55 /wpa_supplicant/config.h
parent121adf9c2e91ff49808d43f437851526c63bc018 (diff)
downloadhostap-1d47214aa973d46cde9dd9fcdbb9a6ef95076f8f.zip
hostap-1d47214aa973d46cde9dd9fcdbb9a6ef95076f8f.tar.gz
hostap-1d47214aa973d46cde9dd9fcdbb9a6ef95076f8f.tar.bz2
Add flag indicating which global configuration parameters have changed
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index a75524c..17e2faa 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -27,6 +27,13 @@
#include "config_ssid.h"
+#define CFG_CHANGED_DEVICE_NAME BIT(0)
+#define CFG_CHANGED_CONFIG_METHODS BIT(1)
+#define CFG_CHANGED_DEVICE_TYPE BIT(2)
+#define CFG_CHANGED_OS_VERSION BIT(3)
+#define CFG_CHANGED_UUID BIT(4)
+#define CFG_CHANGED_COUNTRY BIT(5)
+
/**
* struct wpa_config - wpa_supplicant configuration data
*
@@ -348,6 +355,11 @@ struct wpa_config {
* 1 = only include configured SSIDs in scan results/BSS table
*/
int filter_ssids;
+
+ /**
+ * changed_parameters - Bitmap of changed parameters since last update
+ */
+ unsigned int changed_parameters;
};