From: Kalle Valo <kvalo@codeaurora.org>
To: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Cc: Wright Feng <wright.feng@cypress.com>,
arend.vanspriel@broadcom.com, franky.lin@broadcom.com,
hante.meuleman@broadcom.com, chi-hsien.lin@cypress.com,
linux-wireless@vger.kernel.org,
brcm80211-dev-list.pdl@broadcom.com
Subject: Re: [PATCH v6] brcmfmac: add CLM download support
Date: Tue, 14 Nov 2017 08:47:52 +0200 [thread overview]
Message-ID: <8760adjqzr.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <20171110090013.GA131667@aremote01.aus.cypress.com> (Chung-Hsien Hsu's message of "Fri, 10 Nov 2017 03:00:14 -0600")
Chung-Hsien Hsu <stanley.hsu@cypress.com> writes:
> On Fri, Nov 10, 2017 at 08:15:19AM +0200, Kalle Valo wrote:
>> Wright Feng <wright.feng@cypress.com> writes:
>>
>> > From: Chung-Hsien Hsu <stanley.hsu@cypress.com>
>> >
>> > The firmware for brcmfmac devices includes information regarding
>> > regulatory constraints. For certain devices this information is kept
>> > separately in a binary form that needs to be downloaded to the device.
>> > This patch adds support to download this so-called CLM blob file. It
>> > uses the same naming scheme as the other firmware files with extension
>> > of .clm_blob.
>> >
>> > The CLM blob file is optional. If the file does not exist, the download
>> > process will be bypassed. It will not affect the driver loading.
>> >
>> > Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
>>
>> [...]
>>
>> > + err = brcmf_fil_iovar_data_get(ifp, "clmver", buf, sizeof(buf));
>> > + if (err) {
>> > + if (err == -23) {
>>
>> No magic numbers, please. Is this supposed to be -ENFILE?
>
> It indicates "Unsupported". I will remove it since it will not affect
> the CLM downlaod and driver loading.
BTW you would not have to remove it, adding a define would have been
just fine. (I was travelling, hence the late reply.)
--
Kalle Valo
prev parent reply other threads:[~2017-11-14 6:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 7:31 [PATCH v6] brcmfmac: add CLM download support Wright Feng
2017-11-03 8:27 ` Chung-Hsien Hsu
2017-11-03 9:20 ` Arend van Spriel
2017-11-03 9:40 ` Chung-Hsien Hsu
2017-11-03 13:40 ` Kalle Valo
2017-11-10 2:51 ` Chung-Hsien Hsu
2017-11-10 6:16 ` Kalle Valo
2017-11-06 8:47 ` Arend van Spriel
2017-11-10 6:13 ` [v6] " Kalle Valo
2017-11-10 6:15 ` [PATCH v6] " Kalle Valo
2017-11-10 9:00 ` Chung-Hsien Hsu
2017-11-14 6:47 ` Kalle Valo [this message]
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=8760adjqzr.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@codeaurora.org \
--cc=arend.vanspriel@broadcom.com \
--cc=brcm80211-dev-list.pdl@broadcom.com \
--cc=chi-hsien.lin@cypress.com \
--cc=franky.lin@broadcom.com \
--cc=hante.meuleman@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=stanley.hsu@cypress.com \
--cc=wright.feng@cypress.com \
/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).