From: Carl Huang <cjhuang@codeaurora.org>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 3/3] ath10k: download firmware via diag Copy Engine for QCA6174 and QCA9377.
Date: Wed, 05 Sep 2018 13:33:12 +0800 [thread overview]
Message-ID: <a122a1ac5f4255ab704b1d6763754fe4@codeaurora.org> (raw)
In-Reply-To: <87musw7dh2.fsf@kamboji.qca.qualcomm.com>
On 2018-09-05 12:52, Kalle Valo wrote:
> Carl Huang <cjhuang@codeaurora.org> writes:
>
>> Downloading firmware via BMI protocol takes too long time. For
>> example,
>> a ~700K bytes firmware takes about 500ms to download via BMI protocol.
>> This is too long especially in suspend and resume scenario where
>> firmware
>> is re-downloaded unless WoWLAN is enabled. Downloading firmware via
>> diag CE
>> can reduce the time to ~40ms for a ~700K bytes firmware binary.
>>
>> Ath10k driver parses the firmware to segments and downloads the
>> segments
>> to the specified address directly. If the firmware is compressed or
>> has
>> unsupported segments, ath10k driver will try BMI download again.
>>
>> It's tested with QCA6174 hw3.2 and
>> firmware-6.bin_WLAN.RM.4.4.1-00111-QCARMSWP-1. QCA9377 is also
>> affected.
>>
>> Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
>
> There were new warnings:
>
> drivers/net/wireless/ath/ath10k/hw.c:1029:16: warning: restricted
> __le32 degrades to integer
> drivers/net/wireless/ath/ath10k/hw.c:1047:27: warning: incorrect type
> in assignment (different base types)
> drivers/net/wireless/ath/ath10k/hw.c:1047:27: expected unsigned int
> [unsigned] [usertype] base_addr
> drivers/net/wireless/ath/ath10k/hw.c:1047:27: got restricted __le32
> [usertype] addr
> drivers/net/wireless/ath/ath10k/hw.c:1048:26: warning: incorrect type
> in assignment (different base types)
> drivers/net/wireless/ath/ath10k/hw.c:1048:26: expected unsigned int
> [unsigned] [usertype] base_len
> drivers/net/wireless/ath/ath10k/hw.c:1048:26: got restricted __le32
> [usertype] length
>
> I fixed those in the pending branch, please review:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=f6f6f597654693ab122ecd950b56343489b91e59
Kalle,
Thank you for fixing the warnings. I don't see any issues with this
warning fix.
Thanks,
Carl
next prev parent reply other threads:[~2018-09-05 10:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-30 2:29 [PATCH 0/3] ath10k: download firmware via diag ce for qca6174 and qca9377 Carl Huang
2018-08-30 2:29 ` [PATCH 1/3] ath10k: optimize pci diag mem read & write operations Carl Huang
2018-09-06 16:10 ` Kalle Valo
2018-08-30 2:29 ` [PATCH 2/3] ath10k: support to access target space below 1M for qca6174 and qca9377 Carl Huang
2018-08-30 2:29 ` [PATCH 3/3] ath10k: download firmware via diag Copy Engine for QCA6174 and QCA9377 Carl Huang
2018-09-05 4:52 ` Kalle Valo
2018-09-05 5:33 ` Carl Huang [this message]
2018-09-21 20:10 ` Brian Norris
2018-09-21 20:39 ` Brian Norris
2018-09-22 0:53 ` Brian Norris
2018-09-25 6:19 ` Carl Huang
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=a122a1ac5f4255ab704b1d6763754fe4@codeaurora.org \
--to=cjhuang@codeaurora.org \
--cc=ath10k@lists.infradead.org \
--cc=kvalo@codeaurora.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).