2021-09-25 17:27:06

by Gérald Kerma

[permalink] [raw]
Subject: mwifiex 1.0 (16.68.10.p159) - PCIEUSB-8997 firmware is buggy

Héllo All,

I made some few tests on EspressoBin-Ultra from GlobalScaleTechnologies,
because of problem with the WiFi.

I have done some quick tests on all the firmware of PCIEUSB-8997 using
the pcieuart8997_combo_v4.bin on OpenWrt 21.02.x

Here is a summary of the tests :
- W16.68.10.p159 = KO
- W16.68.1.p195 = KO
- V16.68.1.p145 = OK
- 16.68.1.p140 = OK
- 16.68.1.p133 = OK
- 16.68.1.p97 = OK
- 16.68.1.p70 = KO
 
REF (and all details of tests) :
https://github.com/NXP/mwifiex-firmware/issues/1


Broken firmware :

Version |W16.68.1.p195| of |pcieusb8997_combo_v4.bin| was included into
linux-firmware repository by this pull request:
https://lore.kernel.org/all/[email protected]om/
<https://lore.kernel.org/all/[email protected]om/>

And latest version |W16.68.10.p159| of |pcieusb8997_combo_v4.bin| by
this pull request:
https://lore.kernel.org/linux-firmware/[email protected]om/
<https://lore.kernel.org/linux-firmware/[email protected]om/>

Olders looks to works better.

In quick tests, they allow more than 1 clients at a time !

I am still testing the V16.68.1.p145 and report the results after some
longer use...

Hopes it will help...
Regards,
Gérald Kerma
gandalf(at)gk2(dot)net


2021-09-25 17:44:43

by Gérald Kerma

[permalink] [raw]
Subject: Re: mwifiex 1.0 (16.68.10.p159) - PCIEUSB-8997 firmware is buggy

Correcting old marvell address to new nxp...

Le 25/09/2021 à 19:19, Gérald Kerma a écrit :
> Héllo All,
>
> I made some few tests on EspressoBin-Ultra from GlobalScaleTechnologies,
> because of problem with the WiFi.
>
> I have done some quick tests on all the firmware of PCIEUSB-8997 using
> the pcieuart8997_combo_v4.bin on OpenWrt 21.02.x
>
> Here is a summary of the tests :
> - W16.68.10.p159 = KO
> - W16.68.1.p195 = KO
> - V16.68.1.p145 = OK
> - 16.68.1.p140 = OK
> - 16.68.1.p133 = OK
> - 16.68.1.p97 = OK
> - 16.68.1.p70 = KO
>  
> REF (and all details of tests) :
> https://github.com/NXP/mwifiex-firmware/issues/1
>
>
> Broken firmware :
>
> Version |W16.68.1.p195| of |pcieusb8997_combo_v4.bin| was included into
> linux-firmware repository by this pull request:
> https://lore.kernel.org/all/[email protected]om/
> <https://lore.kernel.org/all/[email protected]om/>
>
> And latest version |W16.68.10.p159| of |pcieusb8997_combo_v4.bin| by
> this pull request:
> https://lore.kernel.org/linux-firmware/[email protected]om/
> <https://lore.kernel.org/linux-firmware/[email protected]om/>
>
> Olders looks to works better.
>
> In quick tests, they allow more than 1 clients at a time !
>
> I am still testing the V16.68.1.p145 and report the results after some
> longer use...
>
> Hopes it will help...
> Regards,
> Gérald Kerma
> gandalf(at)gk2(dot)net

2021-09-28 12:11:04

by Gérald Kerma

[permalink] [raw]
Subject: Re: mwifiex 1.0 (16.68.10.p159) - PCIEUSB-8997 firmware is buggy

To be more correct :
older firmware allow more than 1 client at a time !
The two latest do not allow more than 1 client at a time...

Regards,
Gérald

Le 28/09/2021 à 13:26, Gérald Kerma a écrit :
> Héllo all,
>
> A quick reply, just to correct a mistype sentence about the issue !
>
> Le 27/09/2021 à 15:47, Josh Boyer a écrit :
>> On Sun, Sep 26, 2021 at 6:43 AM Pali Rohár <[email protected]> wrote:
>>> Hello Josh, Sharvari and other from NXP!
>>>
>>> On Saturday 25 September 2021 19:23:48 Gérald Kerma wrote:
>>>> Correcting old marvell address to new nxp...
>>>>
>>>> Le 25/09/2021 à 19:19, Gérald Kerma a écrit :
>>>>> Héllo All,
>>>>>
>>>>> I made some few tests on EspressoBin-Ultra from GlobalScaleTechnologies,
>>>>> because of problem with the WiFi.
>>>>>
>>>>> I have done some quick tests on all the firmware of PCIEUSB-8997 using
>>>>> the pcieuart8997_combo_v4.bin on OpenWrt 21.02.x
>>>>>
>>>>> Here is a summary of the tests :
>>>>> - W16.68.10.p159 = KO
>>>>> - W16.68.1.p195 = KO
>>>>> - V16.68.1.p145 = OK
>>>>> - 16.68.1.p140 = OK
>>>>> - 16.68.1.p133 = OK
>>>>> - 16.68.1.p97 = OK
>>>>> - 16.68.1.p70 = KO
>>> From this user test result can be seen that last two versions of
>>> pcieusb8997_combo_v4.bin firmware file for 8997 wifi+bt card with
>>> official mainline linux kernel driver mwifiex were not properly tested
>>> internally in NXP and are causing serious issues which make 8997 card
>>> basically unusable.
>>>
>>> Sharvari and other NXP developers: Do you have some internal testing of
>>> this pcieusb8997_combo_v4.bin firmware for PCIe+USB variant of 8997
>>> wifi chips? Or are you aware of this issue and do you have in NXP some
>>> workaround for it (e.g. at driver level)? Could you please look at this
>>> serious issue and try to debug firmware and release a new version, as
>>> this is obvious fatal error in firmware itself?
>>>
>>> Josh, how you in linux-firmware repository handle such, I must say,
>>> "fatal issues"? Wait for vendor fixes or revert problematic commits? Or
>>> something else?
>> We can revert if we need to, but I think it's not quite that simple.
>>
>>> Because when users starts upgrading linux-firmware packages in their
>>> downstream distributions then basically wifi cards on this 8997 chips
>>> with official mwifiex driver stops working.
>> The first broken version was committed in Feb of 2019. That's
>> approaching 3 years ago. Given that this is binary firmware, I have
>> no idea what else may or may not be included in the updates in the
>> meantime.
>>
>> josh
>>
>>>>> REF (and all details of tests) :
>>>>> https://github.com/NXP/mwifiex-firmware/issues/1
>>>>>
>>>>>
>>>>> Broken firmware :
>>>>>
>>>>> Version |W16.68.1.p195| of |pcieusb8997_combo_v4.bin| was included into
>>>>> linux-firmware repository by this pull request:
>>>>> https://lore.kernel.org/all/[email protected]om/
>>>>> <https://lore.kernel.org/all/CA+5PVA5yQbjg3vaT7F8120B6[email protected]/>
>>>>>
>>>>> And latest version |W16.68.10.p159| of |pcieusb8997_combo_v4.bin| by
>>>>> this pull request:
>>>>> https://lore.kernel.org/linux-firmware/[email protected]om/
>>>>> <https://lore.kernel.org/linux-firmware/[email protected]om/>
>>>>>
>>>>> Olders looks to works better.
>>>>>
>>>>> In quick tests, they allow more than 1 clients at a time !
> In quick tests, they do *NOT* allow more than only 1 client at a time !
>
>>>>> I am still testing the V16.68.1.p145 and report the results after some
>>>>> longer use...
>>>>>
>>>>> Hopes it will help...
>>>>> Regards,
>>>>> Gérald Kerma
>>>>> gandalf(at)gk2(dot)net
> Gérald

2021-09-28 12:46:00

by Gérald Kerma

[permalink] [raw]
Subject: Re: mwifiex 1.0 (16.68.10.p159) - PCIEUSB-8997 firmware is buggy

Héllo all,

A quick reply, just to correct a mistype sentence about the issue !

Le 27/09/2021 à 15:47, Josh Boyer a écrit :
> On Sun, Sep 26, 2021 at 6:43 AM Pali Rohár <[email protected]> wrote:
>> Hello Josh, Sharvari and other from NXP!
>>
>> On Saturday 25 September 2021 19:23:48 Gérald Kerma wrote:
>>> Correcting old marvell address to new nxp...
>>>
>>> Le 25/09/2021 à 19:19, Gérald Kerma a écrit :
>>>> Héllo All,
>>>>
>>>> I made some few tests on EspressoBin-Ultra from GlobalScaleTechnologies,
>>>> because of problem with the WiFi.
>>>>
>>>> I have done some quick tests on all the firmware of PCIEUSB-8997 using
>>>> the pcieuart8997_combo_v4.bin on OpenWrt 21.02.x
>>>>
>>>> Here is a summary of the tests :
>>>> - W16.68.10.p159 = KO
>>>> - W16.68.1.p195 = KO
>>>> - V16.68.1.p145 = OK
>>>> - 16.68.1.p140 = OK
>>>> - 16.68.1.p133 = OK
>>>> - 16.68.1.p97 = OK
>>>> - 16.68.1.p70 = KO
>> From this user test result can be seen that last two versions of
>> pcieusb8997_combo_v4.bin firmware file for 8997 wifi+bt card with
>> official mainline linux kernel driver mwifiex were not properly tested
>> internally in NXP and are causing serious issues which make 8997 card
>> basically unusable.
>>
>> Sharvari and other NXP developers: Do you have some internal testing of
>> this pcieusb8997_combo_v4.bin firmware for PCIe+USB variant of 8997
>> wifi chips? Or are you aware of this issue and do you have in NXP some
>> workaround for it (e.g. at driver level)? Could you please look at this
>> serious issue and try to debug firmware and release a new version, as
>> this is obvious fatal error in firmware itself?
>>
>> Josh, how you in linux-firmware repository handle such, I must say,
>> "fatal issues"? Wait for vendor fixes or revert problematic commits? Or
>> something else?
> We can revert if we need to, but I think it's not quite that simple.
>
>> Because when users starts upgrading linux-firmware packages in their
>> downstream distributions then basically wifi cards on this 8997 chips
>> with official mwifiex driver stops working.
> The first broken version was committed in Feb of 2019. That's
> approaching 3 years ago. Given that this is binary firmware, I have
> no idea what else may or may not be included in the updates in the
> meantime.
>
> josh
>
>>>> REF (and all details of tests) :
>>>> https://github.com/NXP/mwifiex-firmware/issues/1
>>>>
>>>>
>>>> Broken firmware :
>>>>
>>>> Version |W16.68.1.p195| of |pcieusb8997_combo_v4.bin| was included into
>>>> linux-firmware repository by this pull request:
>>>> https://lore.kernel.org/all/[email protected]om/
>>>> <https://lore.kernel.org/all/[email protected]om/>
>>>>
>>>> And latest version |W16.68.10.p159| of |pcieusb8997_combo_v4.bin| by
>>>> this pull request:
>>>> https://lore.kernel.org/linux-firmware/[email protected]om/
>>>> <https://lore.kernel.org/linux-firmware/[email protected]om/>
>>>>
>>>> Olders looks to works better.
>>>>
>>>> In quick tests, they allow more than 1 clients at a time !

In quick tests, they do *NOT* allow more than only 1 client at a time !

>>>> I am still testing the V16.68.1.p145 and report the results after some
>>>> longer use...
>>>>
>>>> Hopes it will help...
>>>> Regards,
>>>> Gérald Kerma
>>>> gandalf(at)gk2(dot)net
Gérald

2022-01-14 23:10:24

by Gérald Kerma

[permalink] [raw]
Subject: Re: mwifiex 1.0 (16.68.10.p159) - PCIEUSB-8997 firmware is buggy

Héllo all,

Thanks again Pali to get this been up again...

Le 14/01/2022 à 18:00, Pali Rohár a écrit :
> NXP people: Sharvari, Rakesh, Cathy, Zheng: could you please look at
> this issue? It is really serous!
>
> On Monday 27 September 2021 09:47:23 Josh Boyer wrote:
>> On Sun, Sep 26, 2021 at 6:43 AM Pali Rohár <[email protected]> wrote:
>>> Hello Josh, Sharvari and other from NXP!
>>>
>>> On Saturday 25 September 2021 19:23:48 Gérald Kerma wrote:
>>>> Correcting old marvell address to new nxp...
>>>>
>>>> Le 25/09/2021 à 19:19, Gérald Kerma a écrit :
>>>>> Héllo All,
>>>>>
>>>>> I made some few tests on EspressoBin-Ultra from GlobalScaleTechnologies,
>>>>> because of problem with the WiFi.
>>>>>
>>>>> I have done some quick tests on all the firmware of PCIEUSB-8997 using
>>>>> the pcieuart8997_combo_v4.bin on OpenWrt 21.02.x
>>>>>
>>>>> Here is a summary of the tests :
>>>>> - W16.68.10.p159 = KO
>>>>> - W16.68.1.p195 = KO
>>>>> - V16.68.1.p145 = OK
>>>>> - 16.68.1.p140 = OK
>>>>> - 16.68.1.p133 = OK
>>>>> - 16.68.1.p97 = OK
>>>>> - 16.68.1.p70 = KO
>>> From this user test result can be seen that last two versions of
>>> pcieusb8997_combo_v4.bin firmware file for 8997 wifi+bt card with
>>> official mainline linux kernel driver mwifiex were not properly tested
>>> internally in NXP and are causing serious issues which make 8997 card
>>> basically unusable.
>>>
>>> Sharvari and other NXP developers: Do you have some internal testing of
>>> this pcieusb8997_combo_v4.bin firmware for PCIe+USB variant of 8997
>>> wifi chips? Or are you aware of this issue and do you have in NXP some
>>> workaround for it (e.g. at driver level)? Could you please look at this
>>> serious issue and try to debug firmware and release a new version, as
>>> this is obvious fatal error in firmware itself?
>>>
>>> Josh, how you in linux-firmware repository handle such, I must say,
>>> "fatal issues"? Wait for vendor fixes or revert problematic commits? Or
>>> something else?
>> We can revert if we need to, but I think it's not quite that simple.
>>
>>> Because when users starts upgrading linux-firmware packages in their
>>> downstream distributions then basically wifi cards on this 8997 chips
>>> with official mwifiex driver stops working.
>> The first broken version was committed in Feb of 2019. That's
>> approaching 3 years ago. Given that this is binary firmware, I have
>> no idea what else may or may not be included in the updates in the
>> meantime.
>>
>> josh
> Josh, as Gérald wrote, current binary in linux-firmware repository is
> unusable. And there is no reply from NXP for 3 months.
>
> You are right that nobody knows what is in firmware binary, but working
> binary is at least usable than non-working binary.
>
> So I would really suggest to start reverting non-working firmware files
> if NXP does not respond in few days.
>
> Gérald, what is your opinion? Do you see other way how to make mainline
> linux driver work (again)?

I am really lost on this, Marvell do not answer at all.
NXP give me some buggy answer, no NDA possible with me and my own company...
No share about any works already public !
So my only proposal will be poor !

May be we can confirm my own test by some other technical testers and
look to get the less buggy, because they all, more or less, again to the
mainline !


>>>>> REF (and all details of tests) :
>>>>> https://github.com/NXP/mwifiex-firmware/issues/1
>>>>>
>>>>>
>>>>> Broken firmware :
>>>>>
>>>>> Version |W16.68.1.p195| of |pcieusb8997_combo_v4.bin| was included into
>>>>> linux-firmware repository by this pull request:
>>>>> https://lore.kernel.org/all/[email protected]om/
>>>>> <https://lore.kernel.org/all/[email protected]om/>
>>>>>
>>>>> And latest version |W16.68.10.p159| of |pcieusb8997_combo_v4.bin| by
>>>>> this pull request:
>>>>> https://lore.kernel.org/linux-firmware/[email protected]om/
>>>>> <https://lore.kernel.org/linux-firmware/[email protected]om/>
>>>>>
>>>>> Olders looks to works better.
>>>>>
>>>>> In quick tests, they allow more than 1 clients at a time !
>>>>>
>>>>> I am still testing the V16.68.1.p145 and report the results after some
>>>>> longer use...
>>>>>
>>>>> Hopes it will help...
>>>>> Regards,
>>>>> Gérald Kerma
>>>>> gandalf(at)gk2(dot)net