From: Kalle Valo <kvalo@qca.qualcomm.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 2/2] ath10k: only warn about incompatible firmware versions
Date: Sat, 4 May 2013 08:44:38 +0300 [thread overview]
Message-ID: <87ip2z70zd.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <51822F6B.9070405@tieto.com> (Michal Kazior's message of "Thu, 2 May 2013 11:18:35 +0200")
Michal Kazior <michal.kazior@tieto.com> writes:
> On 02/05/13 11:02, Kalle Valo wrote:
>> Most of the time it does more harm than good to halt the
>> driver initialisation if the firmware version is not
>> supported. For example, sometimes it's good to test
>> something from older versions etc. So just change the
>> check to a warning.
>>
>> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
>> ---
[...]
>> - ath10k_err("Firmware %s is not supported. Please use version %s (or newer)\n",
>> - ar->hw->wiphy->fw_version, version);
>> + ath10k_warn("WARNING: Firmware version %s is not officially supported.\n",
>> + ar->hw->wiphy->fw_version);
>> + ath10k_warn("Please upgrade to version %s (or newer)\n", version);
>>
>> - return -EINVAL;
>> + return 0;
>> }
>
> Perhaps we should also be taking the abi_version (from
> wmi_service_ready_event) into account. I'm not sure if FW really fills
> that one out though.
AFAIK the firmware team doesn't use the abi_version for anything.
> The "or newer" doesn't seem to suit here either. If new FW has ABI
> changes we're screwed.
You are right but we need to revisit the firmware version handling
anyway in the near future anyway so I'll just keep the warning as is for
now.
--
Kalle Valo
next prev parent reply other threads:[~2013-05-04 5:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 9:02 [ath9k-devel] [PATCH 0/2] ath10k: firmware version related changes Kalle Valo
2013-05-02 9:02 ` [ath9k-devel] [PATCH 1/2] ath10k: print firmware version string during boot Kalle Valo
2013-05-02 9:02 ` [ath9k-devel] [PATCH 2/2] ath10k: only warn about incompatible firmware versions Kalle Valo
2013-05-02 9:18 ` Michal Kazior
2013-05-04 5:44 ` Kalle Valo [this message]
2013-05-04 5:46 ` [ath9k-devel] [PATCH 0/2] ath10k: firmware version related changes 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=87ip2z70zd.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath9k-devel@lists.ath9k.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 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.