]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/wps/wps.h
WPS: Add a workaround for Windows 7 capability discovery for PBC
[thirdparty/hostap.git] / src / wps / wps.h
index 918273dd6c942e410e0571f6934db6b4661d8b19..3e4c2185b6989825307dcf3148d24d927fbc6343 100644 (file)
@@ -187,6 +187,14 @@ struct wps_config {
         * to %NULL to indicate the station does not have a P2P Device Address.
         */
        const u8 *p2p_dev_addr;
+
+       /**
+        * pbc_in_m1 - Do not remove PushButton config method in M1 (AP)
+        *
+        * This can be used to enable a workaround to allow Windows 7 to use
+        * PBC with the AP.
+        */
+       int pbc_in_m1;
 };
 
 struct wps_data * wps_init(const struct wps_config *cfg);