linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mwifiex: Firmware name for W8997 sdio wifi chip
@ 2020-05-15 13:23 Pali Rohár
  2020-05-16  8:17 ` [EXT] " Ganapathi Bhat
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-05-15 13:23 UTC (permalink / raw)
  To: Ganapathi Bhat, Amitkumar Karwar, Xinming Hu, Marek Behún,
	linux-wireless, linux-kernel

Hello!

There is inconsistency in firmware naming for W8997 SDIO wifi chip.

Firmware for this chip is stored in linux-firmware [1] repository under
filename sdsd8997_combo_v4.bin.

But mainline linux kernel driver mwifiex_sdio.ko [2] expects and loads
firmware for this chip from filename sd8997_uapsta.bin.

So result is that W8997 SDIO wifi chip does not work out of box and
people are complaining where to get "sd8997_uapsta.bin" firmware file as
it does not exist [3]. People suggest to rename it.

Do you have any opinion how to solve this problem?

As Marvell is using sdsd8997_combo_v4.bin name for this firmware I would
suggest to extend mwifiex_sdio.ko Linux driver to load this firmware
also from the file sdsd8997_combo_v4.bin.

Also firmware file sdsd8997_combo_v4.bin in linux-firmware git
repository [1] is in version 16.68.1.p179. But there is already newer
version available (e.g. 16.68.1.p197) . Are you able to update firmware
for W8997 SDIO chip in linux-firmware repository to the lasted version?

[1] - https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/mrvl
[2] - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/marvell/mwifiex/sdio.h?h=v5.6#n41
[3] - https://raspberrypi.stackexchange.com/q/93478

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

* RE: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-15 13:23 mwifiex: Firmware name for W8997 sdio wifi chip Pali Rohár
@ 2020-05-16  8:17 ` Ganapathi Bhat
  2020-05-16  8:23   ` Pali Rohár
  2020-05-28 10:34   ` Pali Rohár
  0 siblings, 2 replies; 12+ messages in thread
From: Ganapathi Bhat @ 2020-05-16  8:17 UTC (permalink / raw)
  To: Pali Rohár, Amitkumar Karwar, Xinming Hu, Marek Behún,
	linux-wireless, linux-kernel

Hi Pali,

Thanks for this notice. We will try to push the new firmware and also, fix the naming problem.

Regards,
Ganapathi

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-16  8:17 ` [EXT] " Ganapathi Bhat
@ 2020-05-16  8:23   ` Pali Rohár
  2020-05-28 10:34   ` Pali Rohár
  1 sibling, 0 replies; 12+ messages in thread
From: Pali Rohár @ 2020-05-16  8:23 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Saturday 16 May 2020 08:17:17 Ganapathi Bhat wrote:
> Hi Pali,
> 
> Thanks for this notice. We will try to push the new firmware and also, fix the naming problem.
> 
> Regards,
> Ganapathi

Thank you! Please consider extending kernel driver to load firmware
from filename sdsd8997_combo_v4.bin which is already stored in
linux-firmware repository. Also this is name which is used by marvell
(out-of-tree) kernel driver mlan.ko/sd8997.ko.

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-16  8:17 ` [EXT] " Ganapathi Bhat
  2020-05-16  8:23   ` Pali Rohár
@ 2020-05-28 10:34   ` Pali Rohár
  2020-05-29  8:43     ` Ganapathi Bhat
  1 sibling, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-05-28 10:34 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Saturday 16 May 2020 08:17:17 Ganapathi Bhat wrote:
> Hi Pali,
> 
> Thanks for this notice. We will try to push the new firmware and also, fix the naming problem.
> 
> Regards,
> Ganapathi

Hello Ganapathi!

According to publicly available information, firmware for these W8xxx
Marvell wifi chips is vulnerable to security issue CVE-2019-6496 [1].

Are you able to update firmwares to the last versions and give us some
information which (old) firmware versions are affected by that security
issue?

So Linux distribution would know if they are distributing older
vulnerable firmwares and should push security fixes with new firmware
versions.

[1] - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6496

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

* RE: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-28 10:34   ` Pali Rohár
@ 2020-05-29  8:43     ` Ganapathi Bhat
  2020-05-29  8:46       ` Pali Rohár
  0 siblings, 1 reply; 12+ messages in thread
From: Ganapathi Bhat @ 2020-05-29  8:43 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

Hi Pali,

> According to publicly available information, firmware for these W8xxx
> Marvell wifi chips is vulnerable to security issue CVE-2019-6496 [1].
> 
> Are you able to update firmwares to the last versions and give us some
> information which (old) firmware versions are affected by that security issue?
> 
> So Linux distribution would know if they are distributing older vulnerable
> firmwares and should push security fixes with new firmware versions.
> 

88W8787, 88W8797, 88W8801, 88W8897, and 88W8997 models are all already updated, with one exception:
usb8897_uapsta.bin, which we will upstream soon;

Regards,
Ganapathi

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  8:43     ` Ganapathi Bhat
@ 2020-05-29  8:46       ` Pali Rohár
  2020-05-29  8:49         ` Ganapathi Bhat
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-05-29  8:46 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Friday 29 May 2020 08:43:56 Ganapathi Bhat wrote:
> Hi Pali,
> 
> > According to publicly available information, firmware for these W8xxx
> > Marvell wifi chips is vulnerable to security issue CVE-2019-6496 [1].
> > 
> > Are you able to update firmwares to the last versions and give us some
> > information which (old) firmware versions are affected by that security issue?
> > 
> > So Linux distribution would know if they are distributing older vulnerable
> > firmwares and should push security fixes with new firmware versions.
> > 
> 
> 88W8787, 88W8797, 88W8801, 88W8897, and 88W8997 models are all already updated, with one exception:
> usb8897_uapsta.bin, which we will upstream soon;

Hello Ganapathi! Thank you for information. Can you point me to git tree
or location where are firmware files already updated?

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

* RE: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  8:46       ` Pali Rohár
@ 2020-05-29  8:49         ` Ganapathi Bhat
  2020-05-29  8:55           ` Pali Rohár
  0 siblings, 1 reply; 12+ messages in thread
From: Ganapathi Bhat @ 2020-05-29  8:49 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

Hi Pali,
 
> Hello Ganapathi! Thank you for information. Can you point me to git tree or
> location where are firmware files already updated?

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

or

https://github.com/NXP/mwifiex-firmware


Regards,
Ganapathi

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  8:49         ` Ganapathi Bhat
@ 2020-05-29  8:55           ` Pali Rohár
  2020-05-29  9:11             ` Ganapathi Bhat
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-05-29  8:55 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Friday 29 May 2020 08:49:18 Ganapathi Bhat wrote:
> Hi Pali,
>  
> > Hello Ganapathi! Thank you for information. Can you point me to git tree or
> > location where are firmware files already updated?
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> 
> or
> 
> https://github.com/NXP/mwifiex-firmware

Hello Ganapathi! Seems that on both locations is older version of
sdsd8997_combo_v4.bin firmware, not the latest one. On both location is
available just version 16.68.1.p179. But we have newer version
16.68.1.p197. Could you please recheck it?

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

* RE: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  8:55           ` Pali Rohár
@ 2020-05-29  9:11             ` Ganapathi Bhat
  2020-05-29  9:12               ` Pali Rohár
  0 siblings, 1 reply; 12+ messages in thread
From: Ganapathi Bhat @ 2020-05-29  9:11 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

Hi Pali,
 
> Hello Ganapathi! Seems that on both locations is older version of
> sdsd8997_combo_v4.bin firmware, not the latest one. On both location is
> available just version 16.68.1.p179. But we have newer version 16.68.1.p197.
> Could you please recheck it?

p179 do have the fix but we will try to upstream p197 also soon.

Regards,
Ganapathi

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  9:11             ` Ganapathi Bhat
@ 2020-05-29  9:12               ` Pali Rohár
  2020-06-18 12:36                 ` Pali Rohár
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-05-29  9:12 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Friday 29 May 2020 09:11:08 Ganapathi Bhat wrote:
> Hi Pali,
>  
> > Hello Ganapathi! Seems that on both locations is older version of
> > sdsd8997_combo_v4.bin firmware, not the latest one. On both location is
> > available just version 16.68.1.p179. But we have newer version 16.68.1.p197.
> > Could you please recheck it?
> 
> p179 do have the fix but we will try to upstream p197 also soon.

Thank you!

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

* Re: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-05-29  9:12               ` Pali Rohár
@ 2020-06-18 12:36                 ` Pali Rohár
  2020-06-24  9:42                   ` Ganapathi Bhat
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2020-06-18 12:36 UTC (permalink / raw)
  To: Ganapathi Bhat
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

On Friday 29 May 2020 11:12:11 Pali Rohár wrote:
> On Friday 29 May 2020 09:11:08 Ganapathi Bhat wrote:
> > Hi Pali,
> >  
> > > Hello Ganapathi! Seems that on both locations is older version of
> > > sdsd8997_combo_v4.bin firmware, not the latest one. On both location is
> > > available just version 16.68.1.p179. But we have newer version 16.68.1.p197.
> > > Could you please recheck it?
> > 
> > p179 do have the fix but we will try to upstream p197 also soon.
> 
> Thank you!

Hello Ganapathi! Do you have any updates about upstreaming new firmware version?

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

* RE: [EXT] mwifiex: Firmware name for W8997 sdio wifi chip
  2020-06-18 12:36                 ` Pali Rohár
@ 2020-06-24  9:42                   ` Ganapathi Bhat
  0 siblings, 0 replies; 12+ messages in thread
From: Ganapathi Bhat @ 2020-06-24  9:42 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Amitkumar Karwar, Xinming Hu, Marek Behún, linux-wireless,
	linux-kernel

Hi Pali,

> > > > Hello Ganapathi! Seems that on both locations is older version of
> > > > sdsd8997_combo_v4.bin firmware, not the latest one. On both
> > > > location is available just version 16.68.1.p179. But we have newer
> version 16.68.1.p197.

Where did you find p197, kindly let me know so that I can try to get it's details and upstream.

> > > > Could you please recheck it?
> > >
> > > p179 do have the fix but we will try to upstream p197 also soon.
> >
> > Thank you!
> 
> Hello Ganapathi! Do you have any updates about upstreaming new firmware
> version?

Regards,
Ganapathi

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

end of thread, other threads:[~2020-06-24  9:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 13:23 mwifiex: Firmware name for W8997 sdio wifi chip Pali Rohár
2020-05-16  8:17 ` [EXT] " Ganapathi Bhat
2020-05-16  8:23   ` Pali Rohár
2020-05-28 10:34   ` Pali Rohár
2020-05-29  8:43     ` Ganapathi Bhat
2020-05-29  8:46       ` Pali Rohár
2020-05-29  8:49         ` Ganapathi Bhat
2020-05-29  8:55           ` Pali Rohár
2020-05-29  9:11             ` Ganapathi Bhat
2020-05-29  9:12               ` Pali Rohár
2020-06-18 12:36                 ` Pali Rohár
2020-06-24  9:42                   ` Ganapathi Bhat

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