From: <ryanhsu@qca.qualcomm.com> To: <ath10k@lists.infradead.org>, <linux-wireless@vger.kernel.org> Cc: <ryanhsu@qca.qualcomm.com> Subject: [PATCH 4.11] ath10k: fix incorrect wlan_mac_base in qca6174_regs Date: Mon, 13 Mar 2017 15:49:03 -0700 [thread overview] Message-ID: <1489445343-8719-1-git-send-email-ryanhsu@qca.qualcomm.com> (raw) From: Ryan Hsu <ryanhsu@qca.qualcomm.com> In the 'commit ebee76f7fa46 ("ath10k: allow setting coverage class")', it inherits the design and the address offset from ath9k, but the address is not applicable to QCA6174, which leads to a random crash while doing the resume() operation, since the set_coverage_class.ops will be called from ieee80211_reconfig() when resume() (if the wow is not configured). Fix the incorrect address offset here to avoid the random crash. Verified on QCA6174/hw3.0 with firmware WLAN.RM.4.4-00022-QCARMSWPZ-2. Fixes: ebee76f7fa46 ("ath10k: allow setting coverage class") Cc: stable@vger.kernel.org Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com> --- drivers/net/wireless/ath/ath10k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/hw.c b/drivers/net/wireless/ath/ath10k/hw.c index 33fb268..d9f37ee 100644 --- a/drivers/net/wireless/ath/ath10k/hw.c +++ b/drivers/net/wireless/ath/ath10k/hw.c @@ -51,7 +51,7 @@ .rtc_soc_base_address = 0x00000800, .rtc_wmac_base_address = 0x00001000, .soc_core_base_address = 0x0003a000, - .wlan_mac_base_address = 0x00020000, + .wlan_mac_base_address = 0x00010000, .ce_wrapper_base_address = 0x00034000, .ce0_base_address = 0x00034400, .ce1_base_address = 0x00034800, -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: <ryanhsu@qca.qualcomm.com> To: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org Cc: ryanhsu@qca.qualcomm.com Subject: [PATCH 4.11] ath10k: fix incorrect wlan_mac_base in qca6174_regs Date: Mon, 13 Mar 2017 15:49:03 -0700 [thread overview] Message-ID: <1489445343-8719-1-git-send-email-ryanhsu@qca.qualcomm.com> (raw) From: Ryan Hsu <ryanhsu@qca.qualcomm.com> In the 'commit ebee76f7fa46 ("ath10k: allow setting coverage class")', it inherits the design and the address offset from ath9k, but the address is not applicable to QCA6174, which leads to a random crash while doing the resume() operation, since the set_coverage_class.ops will be called from ieee80211_reconfig() when resume() (if the wow is not configured). Fix the incorrect address offset here to avoid the random crash. Verified on QCA6174/hw3.0 with firmware WLAN.RM.4.4-00022-QCARMSWPZ-2. Fixes: ebee76f7fa46 ("ath10k: allow setting coverage class") Cc: stable@vger.kernel.org Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com> --- drivers/net/wireless/ath/ath10k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/hw.c b/drivers/net/wireless/ath/ath10k/hw.c index 33fb268..d9f37ee 100644 --- a/drivers/net/wireless/ath/ath10k/hw.c +++ b/drivers/net/wireless/ath/ath10k/hw.c @@ -51,7 +51,7 @@ .rtc_soc_base_address = 0x00000800, .rtc_wmac_base_address = 0x00001000, .soc_core_base_address = 0x0003a000, - .wlan_mac_base_address = 0x00020000, + .wlan_mac_base_address = 0x00010000, .ce_wrapper_base_address = 0x00034000, .ce0_base_address = 0x00034400, .ce1_base_address = 0x00034800, -- 1.9.1 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next reply other threads:[~2017-03-13 22:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-13 22:49 ryanhsu [this message] 2017-03-13 22:49 ` [PATCH 4.11] ath10k: fix incorrect wlan_mac_base in qca6174_regs ryanhsu 2017-03-17 15:10 ` Kalle Valo 2017-03-17 15:10 ` Kalle Valo 2017-03-20 15:12 ` [4.11] " Kalle Valo 2017-03-20 15:12 ` Kalle Valo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1489445343-8719-1-git-send-email-ryanhsu@qca.qualcomm.com \ --to=ryanhsu@qca.qualcomm.com \ --cc=ath10k@lists.infradead.org \ --cc=linux-wireless@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.