mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 08:20:28 +01:00
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.
This commit is contained in:
parent
2899bb3429
commit
1194641afe
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue