aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/hif.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/hif.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/hif.h b/drivers/net/wireless/ath/ath10k/hif.h
index 5f7f1e08866f..04320d792c88 100644
--- a/drivers/net/wireless/ath/ath10k/hif.h
+++ b/drivers/net/wireless/ath/ath10k/hif.h
@@ -83,7 +83,7 @@ struct ath10k_hif_ops {
83 void (*write32)(struct ath10k *ar, u32 address, u32 value); 83 void (*write32)(struct ath10k *ar, u32 address, u32 value);
84 84
85 /* Power up the device and enter BMI transfer mode for FW download */ 85 /* Power up the device and enter BMI transfer mode for FW download */
86 int (*power_up)(struct ath10k *ar); 86 int (*power_up)(struct ath10k *ar, enum ath10k_firmware_mode fw_mode);
87 87
88 /* Power down the device and free up resources. stop() must be called 88 /* Power down the device and free up resources. stop() must be called
89 * before this if start() was called earlier 89 * before this if start() was called earlier
@@ -174,9 +174,10 @@ static inline u16 ath10k_hif_get_free_queue_number(struct ath10k *ar,
174 return ar->hif.ops->get_free_queue_number(ar, pipe_id); 174 return ar->hif.ops->get_free_queue_number(ar, pipe_id);
175} 175}
176 176
177static inline int ath10k_hif_power_up(struct ath10k *ar) 177static inline int ath10k_hif_power_up(struct ath10k *ar,
178 enum ath10k_firmware_mode fw_mode)
178{ 179{
179 return ar->hif.ops->power_up(ar); 180 return ar->hif.ops->power_up(ar, fw_mode);
180} 181}
181 182
182static inline void ath10k_hif_power_down(struct ath10k *ar) 183static inline void ath10k_hif_power_down(struct ath10k *ar)