]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/config_ssid.h
Disable network block temporarily on authentication failures
[thirdparty/hostap.git] / wpa_supplicant / config_ssid.h
index 232c9c0d0b6ec2393c54d64e6671342aade3a534..796b3d9e3151697b6840cf79bcd9811d8292e753 100644 (file)
@@ -519,6 +519,16 @@ struct wpa_ssid {
         * By default: 2
         */
        int dtim_period;
+
+       /**
+        * auth_failures - Number of consecutive authentication failures
+        */
+       unsigned int auth_failures;
+
+       /**
+        * disabled_until - Network block disabled until this time if non-zero
+        */
+       struct os_time disabled_until;
 };
 
 #endif /* CONFIG_SSID_H */