summaryrefslogtreecommitdiff
path: root/src/supplicant/nm-supplicant-interface.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-04-13 10:42:32 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-05-15 12:59:55 +0200
commit1d15e9c6de7dab60454b6ca2e63b2636c6d7a916 (patch)
treed6221ba031a12b87ca9c61b88ffe5fff63512e42 /src/supplicant/nm-supplicant-interface.h
parente6f95b50c83fae1deb76483bdc5f0652a62a28e1 (diff)
supplicant-interface: add support for WPS enrollment
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.h')
-rw-r--r--src/supplicant/nm-supplicant-interface.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/supplicant/nm-supplicant-interface.h b/src/supplicant/nm-supplicant-interface.h
index a31d2b8a8..567cf96ff 100644
--- a/src/supplicant/nm-supplicant-interface.h
+++ b/src/supplicant/nm-supplicant-interface.h
@@ -15,7 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * Copyright (C) 2006 - 2010 Red Hat, Inc.
+ * Copyright (C) 2006 - 2017 Red Hat, Inc.
* Copyright (C) 2007 - 2008 Novell, Inc.
*/
@@ -69,6 +69,7 @@ typedef enum {
#define NM_SUPPLICANT_INTERFACE_BSS_REMOVED "bss-removed"
#define NM_SUPPLICANT_INTERFACE_SCAN_DONE "scan-done"
#define NM_SUPPLICANT_INTERFACE_CREDENTIALS_REQUEST "credentials-request"
+#define NM_SUPPLICANT_INTERFACE_WPS_CREDENTIALS "wps-credentials"
typedef struct _NMSupplicantInterfaceClass NMSupplicantInterfaceClass;
@@ -131,4 +132,12 @@ void nm_supplicant_interface_set_fast_support (NMSupplicantInterface *self,
void nm_supplicant_interface_set_pmf_support (NMSupplicantInterface *self,
NMSupplicantFeature pmf_support);
+
+void nm_supplicant_interface_enroll_wps (NMSupplicantInterface *self,
+ const char *const type,
+ const char *bssid,
+ const char *pin);
+
+void nm_supplicant_interface_cancel_wps (NMSupplicantInterface *self);
+
#endif /* __NM_SUPPLICANT_INTERFACE_H__ */