linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
@ 2015-09-19 10:39 Hauke Mehrtens
  2015-09-22  8:44 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Hauke Mehrtens @ 2015-09-19 10:39 UTC (permalink / raw)
  To: emmanuel.grumbach; +Cc: johannes.berg, ilw, linux-wireless, Hauke Mehrtens

modinfo iwlwifi showed the following required firmware:
firmware: iwlwifi-3160-IWL3160_UCODE_API_OK.ucode

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/net/wireless/iwlwifi/iwl-7000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-7000.c b/drivers/net/wireless/iwlwifi/iwl-7000.c
index 6951aba..bccd2d2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-7000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-7000.c
@@ -348,6 +348,6 @@ const struct iwl_cfg iwl7265d_n_cfg = {
 };
 
 MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
-MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK));
+MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3165_UCODE_API_OK));
 MODULE_FIRMWARE(IWL7265_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
 MODULE_FIRMWARE(IWL7265D_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
  2015-09-19 10:39 [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160 Hauke Mehrtens
@ 2015-09-22  8:44 ` Johannes Berg
  2015-09-22  8:46   ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2015-09-22  8:44 UTC (permalink / raw)
  To: Hauke Mehrtens, emmanuel.grumbach; +Cc: ilw, linux-wireless

On Sat, 2015-09-19 at 12:39 +0200, Hauke Mehrtens wrote:
> modinfo iwlwifi showed the following required firmware:
> firmware: iwlwifi-3160-IWL3160_UCODE_API_OK.ucode

This is obviously wrong.

> 
>  MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
> -MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK));
> +MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3165_UCODE_API_OK));
> 
But this is also wrong, it should be 7260, and there should be a
separate entry for 3165. I'll get a patch on the way to fix it.

johannes

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
  2015-09-22  8:44 ` Johannes Berg
@ 2015-09-22  8:46   ` Johannes Berg
  2015-09-22 19:14     ` Hauke Mehrtens
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2015-09-22  8:46 UTC (permalink / raw)
  To: Hauke Mehrtens, emmanuel.grumbach; +Cc: ilw, linux-wireless

On Tue, 2015-09-22 at 10:44 +0200, Johannes Berg wrote:
> On Sat, 2015-09-19 at 12:39 +0200, Hauke Mehrtens wrote:
> > modinfo iwlwifi showed the following required firmware:
> > firmware: iwlwifi-3160-IWL3160_UCODE_API_OK.ucode
> 
> This is obviously wrong.
> 
> > 
> >  MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
> > -MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK));
> > +MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3165_UCODE_API_OK));
> > 
> But this is also wrong, it should be 7260, and there should be a
> separate entry for 3165. I'll get a patch on the way to fix it.
> 

Actually, no, there shouldn't be another entry since 3165 uses the same
firmware as 7265-D.

johannes

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
  2015-09-22  8:46   ` Johannes Berg
@ 2015-09-22 19:14     ` Hauke Mehrtens
  2015-09-22 19:16       ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Hauke Mehrtens @ 2015-09-22 19:14 UTC (permalink / raw)
  To: Johannes Berg, emmanuel.grumbach; +Cc: ilw, linux-wireless

On 09/22/2015 10:46 AM, Johannes Berg wrote:
> On Tue, 2015-09-22 at 10:44 +0200, Johannes Berg wrote:
>> On Sat, 2015-09-19 at 12:39 +0200, Hauke Mehrtens wrote:
>>> modinfo iwlwifi showed the following required firmware:
>>> firmware: iwlwifi-3160-IWL3160_UCODE_API_OK.ucode
>>
>> This is obviously wrong.
>>
>>>
>>>  MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
>>> -MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK));
>>> +MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3165_UCODE_API_OK));
>>>
>> But this is also wrong, it should be 7260, and there should be a
>> separate entry for 3165. I'll get a patch on the way to fix it.
>>
> 
> Actually, no, there shouldn't be another entry since 3165 uses the same
> firmware as 7265-D.
> 
> johannes

Should I change something?

iwl3165 uses iwl3160 firmware, but support for that was added in rev 13
of that firmware. That's the information I got from the driver and the
linux-firmware commit messages.

Hauke

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
  2015-09-22 19:14     ` Hauke Mehrtens
@ 2015-09-22 19:16       ` Johannes Berg
  2015-10-05 12:18         ` Luca Coelho
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2015-09-22 19:16 UTC (permalink / raw)
  To: Hauke Mehrtens, emmanuel.grumbach; +Cc: ilw, linux-wireless


> 
> Should I change something?

No, I already created a different patch to make it simply use the 7260
number instead of the 3165 one. I also made one, in fact, to get rid of
the 3165 since that has the same values anyway.

> iwl3165 uses iwl3160 firmware, but support for that was added in rev 
> 13 of that firmware. That's the information I got from the driver and
> the linux-firmware commit messages.
> 

Ah. it may be that we have changed this internally vs. upstream, need
to check on that. Actually, Luca will just find out when he tries to
upstream my changes :)

johannes

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160
  2015-09-22 19:16       ` Johannes Berg
@ 2015-10-05 12:18         ` Luca Coelho
  0 siblings, 0 replies; 6+ messages in thread
From: Luca Coelho @ 2015-10-05 12:18 UTC (permalink / raw)
  To: Johannes Berg, Hauke Mehrtens, emmanuel.grumbach; +Cc: ilw, linux-wireless

On Tue, 2015-09-22 at 21:16 +0200, Johannes Berg wrote:
> > 
> > Should I change something?
> 
> No, I already created a different patch to make it simply use the
> 7260
> number instead of the 3165 one. I also made one, in fact, to get rid
> of
> the 3165 since that has the same values anyway.
> 
> > iwl3165 uses iwl3160 firmware, but support for that was added in
> > rev 
> > 13 of that firmware. That's the information I got from the driver
> > and
> > the linux-firmware commit messages.
> > 
> 
> Ah. it may be that we have changed this internally vs. upstream, need
> to check on that. Actually, Luca will just find out when he tries to
> upstream my changes :)

Just saw this now because... I'm preparing our patches for upstreaming.
:)

But I didn't notice anything regarding this when I cherry-picked your
patch for upstreaming.  Did I miss something?

--
Luca.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-05 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-19 10:39 [PATCH] iwlwifi: fix requested firmware name for iwlwifi-3160 Hauke Mehrtens
2015-09-22  8:44 ` Johannes Berg
2015-09-22  8:46   ` Johannes Berg
2015-09-22 19:14     ` Hauke Mehrtens
2015-09-22 19:16       ` Johannes Berg
2015-10-05 12:18         ` Luca Coelho

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).