From: Oleksij Rempel <linux@rempel-privat.de>
To: Kalle Valo <kvalo@adurom.com>
Cc: ath9k-devel@qca.qualcomm.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH v3] ath9k_htc: introduce support for different fw versions
Date: Sun, 06 Sep 2015 13:01:31 +0200 [thread overview]
Message-ID: <55EC1D0B.6090707@rempel-privat.de> (raw)
In-Reply-To: <87si6r3jhg.fsf@purkki.adurom.net>
[-- Attachment #1: Type: text/plain, Size: 1903 bytes --]
Am 06.09.2015 um 12:55 schrieb Kalle Valo:
> Oleksij Rempel <linux@rempel-privat.de> writes:
>
>> Current kernel support only one fw name with theoretically only one
>> fw version located in “firmware/htc_[9271|7010].fw”. Which is ok so
>> far we have only one fw version (1.3). After we realised new fw 1.4,
>> we faced compatibility problem which was decided to solve by firmware
>> name and location:
>>
>> - new firmware is located now in firmware/ath9k_htc/htc_[9271|7010]-1.4.0.fw
>> - old version 1.3 should be on old place, so old kernel have no issues with it.
>> - new kernels including this patch should be able to try different supported (min..max) fw version.
>> - new kernel should be able to support old fw location too. At least for now.
>
> Please word wrap the commit log.
ok.
>> At same time this patch will add new module option which should allow
>> user to play with development fw version without replacing stable one.
>> If user will set “ath9k_htc use_dev_fw=1” module will try to find
>> firmware/ath9k_htc/htc_[9271|7010]-1.dev.0.fw first and if it fails,
>> use stable version: for example...1.4.0.fw.
>
> I'm not really sure if this module parameter makes sense and I haven't
> noticed any other wifi driver having a similar parameter. If user wants
> to test a developemnt firmware he can override a stable firmware version
> with a simple cp operation. So why is the module parameter needed?
>
Sure, iwl module has CONFIG for this case, so you should recompile it.
The use case which i was thinking is the ability to provide a package
for dev FW, which will not conflict with main FW package.
The package just should provide 3 files, /etc/modules/ath9k_htc_params
and /lib/firmware/bla.fw
If dev package introduces some regressions i still can ask user to
reload module with other parameter.
--
Regards,
Oleksij
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
next prev parent reply other threads:[~2015-09-06 11:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-14 16:12 [PATCH] ath9k_htc: introduce support for different fw versions Oleksij Rempel
2015-06-14 23:27 ` Julian Calaby
2015-06-15 18:55 ` Oleksij Rempel
2015-06-15 18:57 ` Oleksij Rempel
2015-06-15 18:58 ` [PATCH v2] " Oleksij Rempel
2015-07-03 4:07 ` Oleksij Rempel
2015-07-03 10:53 ` Kalle Valo
2015-07-03 17:43 ` Oleksij Rempel
2015-07-12 12:17 ` Kalle Valo
2015-07-12 17:42 ` [PATCH v3] " Oleksij Rempel
2015-08-14 5:12 ` Oleksij Rempel
2015-09-06 10:55 ` Kalle Valo
2015-09-06 11:01 ` Oleksij Rempel [this message]
2015-09-06 13:16 ` 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=55EC1D0B.6090707@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=ath9k-devel@qca.qualcomm.com \
--cc=kvalo@adurom.com \
--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 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.