dbus: add WPS methods to AP flags

Will be used to indicate WPS method discovered to be supported by the
access point.
This commit is contained in:
Lubomir Rintel 2017-04-30 22:49:37 +02:00
parent 63836f3945
commit 36b6bbdae3

View file

@ -14,7 +14,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Copyright 2004 - 2014 Red Hat, Inc.
* Copyright 2004 - 2017 Red Hat, Inc.
*/
/* Definitions related to NetworkManager's D-Bus interfaces.
@ -289,12 +289,18 @@ typedef enum { /*< flags >*/
* @NM_802_11_AP_FLAGS_NONE: access point has no special capabilities
* @NM_802_11_AP_FLAGS_PRIVACY: access point requires authentication and
* encryption (usually means WEP)
* @NM_802_11_AP_FLAGS_WPS: access point supports some WPS method
* @NM_802_11_AP_FLAGS_WPS_PBC: access point supports push-button WPS
* @NM_802_11_AP_FLAGS_WPS_PIN: access point supports PIN-based WPS
*
* 802.11 access point flags.
**/
typedef enum { /*< underscore_name=nm_802_11_ap_flags, flags >*/
NM_802_11_AP_FLAGS_NONE = 0x00000000,
NM_802_11_AP_FLAGS_PRIVACY = 0x00000001,
NM_802_11_AP_FLAGS_WPS = 0x00000002,
NM_802_11_AP_FLAGS_WPS_PBC = 0x00000004,
NM_802_11_AP_FLAGS_WPS_PIN = 0x00000008,
} NM80211ApFlags;
/**