summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-05-12 16:05:28 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-05-15 12:59:55 +0200
commit1194641afe6a8a18491c2c24120eed5d5eba43b7 (patch)
tree19b1b3fa0b9ec2f2820b4254b26affbeedfab0db
parent2899bb34293cb96796bde5602ddc779560a7284d (diff)
downloadNetworkManager-1194641afe6a8a18491c2c24120eed5d5eba43b7.tar.gz
dbus/secret-agent: add a flag indicating WPS PBC is active
The agents may used this to learn that WPS PBC enrollment is active and suggest that user pushes a button on the router instead of supplying a network key.
-rw-r--r--libnm-core/nm-dbus-interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h
index 7130a92609..92c8a359d8 100644
--- a/libnm-core/nm-dbus-interface.h
+++ b/libnm-core/nm-dbus-interface.h
@@ -720,6 +720,9 @@ typedef enum {
* initiated by user-requested action via the D-Bus interface, as opposed to
* automatically initiated by NetworkManager in response to (for example) scan
* results or carrier changes.
+ * @NM_SECRET_AGENT_GET_SECRETS_FLAG_WPS_PBC_ACTIVE: indicates that WPS enrollment
+ * is active with PBC method. The agent may suggest that the user pushes a button
+ * on the router instead of supplying a PSK.
* @NM_SECRET_AGENT_GET_SECRETS_FLAG_ONLY_SYSTEM: Internal flag, not part of
* the D-Bus API.
* @NM_SECRET_AGENT_GET_SECRETS_FLAG_NO_ERRORS: Internal flag, not part of
@@ -732,6 +735,7 @@ typedef enum { /*< flags >*/
NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION = 0x1,
NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW = 0x2,
NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED = 0x4,
+ NM_SECRET_AGENT_GET_SECRETS_FLAG_WPS_PBC_ACTIVE = 0x8,
/* Internal to NM; not part of the D-Bus API */
NM_SECRET_AGENT_GET_SECRETS_FLAG_ONLY_SYSTEM = 0x80000000,