diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-06-27 14:44:09 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-27 14:44:09 -0700 |
commit | ce1dcdff6bad467f5027c6e4c33af767e47ec488 (patch) | |
tree | 395373885d498603a1f9b77783c843c240c81641 /include | |
parent | e130a419a73ab080f845d1ffcc8b3e63d6738535 (diff) | |
parent | 63e0a765edf7d00e498e50795f22f9b9532a2ebd (diff) |
Merge "cnss: notify wlan driver when failed to power up"
Diffstat (limited to 'include')
-rw-r--r-- | include/net/cnss.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/net/cnss.h b/include/net/cnss.h index d6f27759af17..ea0082dc1219 100644 --- a/include/net/cnss.h +++ b/include/net/cnss.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -55,6 +55,7 @@ struct cnss_wlan_driver { int (*suspend)(struct pci_dev *pdev, pm_message_t state); int (*resume)(struct pci_dev *pdev); void (*modem_status)(struct pci_dev *, int state); + void (*update_status)(struct pci_dev *pdev, uint32_t status); struct cnss_wlan_runtime_ops *runtime_ops; const struct pci_device_id *id_table; }; @@ -93,11 +94,14 @@ struct cnss_platform_cap { u32 cap_flag; }; -/* WLAN driver status */ +/* WLAN driver status, keep it aligned with cnss2 */ enum cnss_driver_status { CNSS_UNINITIALIZED, CNSS_INITIALIZED, - CNSS_LOAD_UNLOAD + CNSS_LOAD_UNLOAD, + CNSS_RECOVERY, + CNSS_FW_DOWN, + CNSS_SSR_FAIL, }; enum cnss_runtime_request { |