aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-06 16:26:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-06 16:26:34 +0000
commitb30e092de65ca7be7cb277f934016484137d924c (patch)
tree85f6bba930e34344d746b1674209cc3f03a56a51 /package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch
parent32549f52cb0f2a9316d894909b3fbef452d7b493 (diff)
downloadupstream-b30e092de65ca7be7cb277f934016484137d924c.tar.gz
upstream-b30e092de65ca7be7cb277f934016484137d924c.tar.bz2
upstream-b30e092de65ca7be7cb277f934016484137d924c.zip
mac80211: update to version 2015-06-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46198
Diffstat (limited to 'package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch')
-rw-r--r--package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch b/package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch
deleted file mode 100644
index fff764647f..0000000000
--- a/package/kernel/mac80211/patches/933-ath10k_fix_htt_op_backwards_compatibility_for_qca6174.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/drivers/net/wireless/ath/ath10k/core.c
-+++ b/drivers/net/wireless/ath/ath10k/core.c
-@@ -1002,6 +1002,29 @@ static int ath10k_core_init_firmware_fea
- return -EINVAL;
- }
-
-+ /* Backwards compatibility for firmwares without
-+ * ATH10K_FW_IE_HTT_OP_VERSION.
-+ */
-+ if (ar->htt.op_version == ATH10K_FW_HTT_OP_VERSION_UNSET) {
-+ switch (ar->wmi.op_version) {
-+ case ATH10K_FW_WMI_OP_VERSION_MAIN:
-+ ar->htt.op_version = ATH10K_FW_HTT_OP_VERSION_MAIN;
-+ break;
-+ case ATH10K_FW_WMI_OP_VERSION_10_1:
-+ case ATH10K_FW_WMI_OP_VERSION_10_2:
-+ case ATH10K_FW_WMI_OP_VERSION_10_2_4:
-+ ar->htt.op_version = ATH10K_FW_HTT_OP_VERSION_10_1;
-+ break;
-+ case ATH10K_FW_WMI_OP_VERSION_TLV:
-+ ar->htt.op_version = ATH10K_FW_HTT_OP_VERSION_TLV;
-+ break;
-+ case ATH10K_FW_WMI_OP_VERSION_UNSET:
-+ case ATH10K_FW_WMI_OP_VERSION_MAX:
-+ WARN_ON(1);
-+ return -EINVAL;
-+ }
-+ }
-+
- return 0;
- }
-
---- a/drivers/net/wireless/ath/ath10k/htt.c
-+++ b/drivers/net/wireless/ath/ath10k/htt.c
-@@ -156,11 +156,11 @@ int ath10k_htt_init(struct ath10k *ar)
- ar->htt.t2h_msg_types_max = HTT_TLV_T2H_NUM_MSGS;
- break;
- case ATH10K_FW_HTT_OP_VERSION_MAIN:
-- case ATH10K_FW_HTT_OP_VERSION_UNSET:
- ar->htt.t2h_msg_types = htt_main_t2h_msg_types;
- ar->htt.t2h_msg_types_max = HTT_MAIN_T2H_NUM_MSGS;
- break;
- case ATH10K_FW_HTT_OP_VERSION_MAX:
-+ case ATH10K_FW_HTT_OP_VERSION_UNSET:
- WARN_ON(1);
- return -EINVAL;
- }