projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath10k: decouple suspend code
[cascardo/linux.git]
/
drivers
/
net
/
wireless
/
ath
/
ath10k
/
core.h
diff --git
a/drivers/net/wireless/ath/ath10k/core.h
b/drivers/net/wireless/ath/ath10k/core.h
index
5a0b2ce
..
5c94ea0
100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/core.h
+++ b/
drivers/net/wireless/ath/ath10k/core.h
@@
-247,6
+247,11
@@
struct ath10k_debug {
struct completion event_stats_compl;
};
struct completion event_stats_compl;
};
+enum ath10k_state {
+ ATH10K_STATE_OFF = 0,
+ ATH10K_STATE_ON,
+};
+
struct ath10k {
struct ath_common ath_common;
struct ieee80211_hw *hw;
struct ath10k {
struct ath_common ath_common;
struct ieee80211_hw *hw;
@@
-344,6
+349,8
@@
struct ath10k {
struct completion offchan_tx_completed;
struct sk_buff *offchan_tx_skb;
struct completion offchan_tx_completed;
struct sk_buff *offchan_tx_skb;
+ enum ath10k_state state;
+
#ifdef CONFIG_ATH10K_DEBUGFS
struct ath10k_debug debug;
#endif
#ifdef CONFIG_ATH10K_DEBUGFS
struct ath10k_debug debug;
#endif
@@
-358,7
+365,4
@@
void ath10k_core_stop(struct ath10k *ar);
int ath10k_core_register(struct ath10k *ar);
void ath10k_core_unregister(struct ath10k *ar);
int ath10k_core_register(struct ath10k *ar);
void ath10k_core_unregister(struct ath10k *ar);
-int ath10k_core_target_suspend(struct ath10k *ar);
-int ath10k_core_target_resume(struct ath10k *ar);
-
#endif /* _CORE_H_ */
#endif /* _CORE_H_ */