diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2016-08-19 13:37:42 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-08-31 10:27:35 +0300 |
commit | 20ddca21dcf84fcae063f2f75f49cfd545bf5237 (patch) | |
tree | 119983f47c58532d0c35ae460f13c2b46ba6c102 /drivers/net/wireless/ath/ath10k/core.h | |
parent | 84d4911b7184dfa911ea089c2d6728b994de6cd9 (diff) | |
download | linux-20ddca21dcf84fcae063f2f75f49cfd545bf5237.tar.xz |
ath10k: add wmi command barrier utility
This allows placing command barriers for explicit
serializing and synchronizing state.
Useful for future driver development.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index cc6e66fdf498..56daeb7926f9 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -142,6 +142,7 @@ struct ath10k_wmi { enum ath10k_htc_ep_id eid; struct completion service_ready; struct completion unified_ready; + struct completion barrier; wait_queue_head_t tx_credits_wq; DECLARE_BITMAP(svc_map, WMI_SERVICE_MAX); struct wmi_cmd_map *cmd; |