diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2015-04-28 14:43:54 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-04-28 14:44:19 +0300 |
commit | 73b25f66dcae45d74e1641c52a3d96d041788e4e (patch) | |
tree | e370fe6f754852c7a979580717457a05edd7f893 /drivers/net/wireless/ath/ath10k/wow.h | |
parent | 2decb2682f80759f631c8332f9a2a34a02150a03 (diff) | |
parent | 45c9abc059fa754aae047351742ec2d84f932f53 (diff) | |
download | linux-73b25f66dcae45d74e1641c52a3d96d041788e4e.tar.gz linux-73b25f66dcae45d74e1641c52a3d96d041788e4e.tar.bz2 linux-73b25f66dcae45d74e1641c52a3d96d041788e4e.zip |
Merge ath-next from ath.git
Major changes in ath10k:
* enable channel 144 on 5 GHz
* enable Adaptive Noise Immunity (ANI) by default
* add Wake on Wireless LAN (WOW) patterns support
* add basic Tunneled Direct Link Setup (TDLS) support
* add multi-channel support for QCA6174
* enable IBSS RSN support
* enable Bluetooth Coexistance whenever firmware supports it
* add more versatile way to set bitrates used by the firmware
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wow.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wow.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wow.h b/drivers/net/wireless/ath/ath10k/wow.h new file mode 100644 index 000000000000..abbb04b6d1bd --- /dev/null +++ b/drivers/net/wireless/ath/ath10k/wow.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2015 Qualcomm Atheros, Inc. + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +#ifndef _WOW_H_ +#define _WOW_H_ + +struct ath10k_wow { + u32 max_num_patterns; + struct completion wakeup_completed; + struct wiphy_wowlan_support wowlan_support; +}; + +#ifdef CONFIG_PM + +int ath10k_wow_init(struct ath10k *ar); +int ath10k_wow_op_suspend(struct ieee80211_hw *hw, + struct cfg80211_wowlan *wowlan); +int ath10k_wow_op_resume(struct ieee80211_hw *hw); + +#else + +static inline int ath10k_wow_init(struct ath10k *ar) +{ + return 0; +} + +#endif /* CONFIG_PM */ +#endif /* _WOW_H_ */ |