aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/driver.h')
-rw-r--r--src/drivers/driver.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 51e1898..0412586 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1731,6 +1731,18 @@ struct wpa_driver_ops {
* normal station operations like scanning to be completed.
*/
int (*deinit_ap)(void *priv);
+
+ /**
+ * suspend - Notification on system suspend/hibernate event
+ * @priv: Private driver interface data
+ */
+ void (*suspend)(void *priv);
+
+ /**
+ * resume - Notification on system resume/thaw event
+ * @priv: Private driver interface data
+ */
+ void (*resume)(void *priv);
};