Re: [EXT] Re: mwifiex cmd timeout on one pci variant
From: Jonas Dreßler <hidden>
Date: 2021-09-14 10:12:00
Hi Dominique, regarding the firmware version, as you can see in the commit updating the firmware binaries (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/mrvl/pcie8897_uapsta.bin?id=1a5773c0c89ee44cee51a285d5c7c1063cdb0891), indeed the version numbering differs between the different versions of the card (usb/usb, pcie/usb, pcie/uart(?)). Anyway, if you manage to find newer firmware for any of those versions, I'd be happy if you could point me to that, apparently they just fixed a critical vulnerability in the Windows firmware again (see https://support.microsoft.com/en-us/surface/surface-pro-5th-gen-update-history-5203144a-90c1-63df-ce0b-7ec7ff32ff10), I wouldn't be surprised if our firmware is also affected by that. About the command timeout, I have no idea why the fix isn't working for you, but well, my analysis of the issue is also just a (not exactly educated) guess, so it might as well be a completely different problem and my fix is just a lucky hack. I'd kinda hope though that my proposed patches finally wake up some people at NXP and motivate them to take a look at that firmware repo again. Jonas On 9/8/21 7:56 AM, Dominique MARTINET wrote:
Sharvari Harisangam wrote on Wed, Sep 08, 2021 at 05:45:53AM +0000:quoted
Use firmware from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/mrvl for mwifiex driver.Thanks, that's the first firmware I was using; it's currently at 16.68.1.p179 which is why I'm surprised Jonas said the latest would be 15.68.19.p21. I think it's just a different variant of the driver now though, a binary grep matches 15.68.19.p21 for pcie8897_uapsta.bin but I my driver loads pcieuart8997_combo_v4.bin I hadn't noticed the first number didn't match, but that likely confirms it. Sorry for the noise on firmware version, I'm still interested in understanding why the command timeouts.