Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp529299pxb; Tue, 14 Sep 2021 03:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys1LxbP9hGRFZJMSKN2ig4GqQLyMHyRD9CaQOgCG2NV+9o9W5VUjwCSeCVnVeqEkrFLO3o X-Received: by 2002:a17:906:7ad7:: with SMTP id k23mr17943086ejo.405.1631614357441; Tue, 14 Sep 2021 03:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631614357; cv=none; d=google.com; s=arc-20160816; b=wrEpuTeNSNZIVttlgahTXSwkiQriXdd11EdefeePZLsBkuOZ/ibFipTvORrnIN3m2T BHvB9JR1ZpvI8xZYyj0kNr6HGv2zEl0/bZx+yGI2U1J/i6WlN2fQGZ459hvKHdHW+hGY DAnaMG7VlyEJEy8nVj1nECjVYbs4sTISR52LTSFMux9h7S17JtTvtLrwUynqfSJeV/tK Si++ex/KLof0MNM5EkceMqKbs7sSboMdvHGoHASP/BZRr/zjK7Yxor3YTuxmb8fdhBqE l4wcPIs8GGaWeFaVI9I7FyR/qje5Avhf5Mgk1kWBF1D8YvX2w3+hoDThQC6Ug6a2Cp1+ wLSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:from:references:cc:to :subject; bh=FuTxQ4Wxy9CFM2tMxMiSOjfAZF5QSoEK43pRHWIYSvE=; b=t1QYrHPUIg5K37VLWHPs55QYIhzDCRKJyMocUUeJktk1BinmHyNpcowiBAUWSj4lUz d2/edu775FmY+ODjxngdHg2/7I4TbwbQ1Zll1be9KbGMF0KAHrzQ2QLERU+wRglsXSxG gPIHqDGM9gSkYdaV9RVkR/9myDz7Me1ZuCMEWXNOYmNnO9ydhI6EUqvsf2ufi5036wvL z5dM9aZcpXWKR0V+Fm9SW5rYa9eKIgDj1uMsBBP+CoFKR0/7b8062ZNZl8ZhCiHiGi2B jDoBV0D1n9PfdPK6vvFZWjo4Nm5uBGIWrvrK3hvMnLveyolOyls8bXKKTOc8BdC6qEva FnPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ml13si9714950ejb.579.2021.09.14.03.12.07; Tue, 14 Sep 2021 03:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231160AbhINKNP (ORCPT + 99 others); Tue, 14 Sep 2021 06:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbhINKNN (ORCPT ); Tue, 14 Sep 2021 06:13:13 -0400 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050::465:202]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25E99C061574 for ; Tue, 14 Sep 2021 03:11:56 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4H7zfK0b4KzQk3L; Tue, 14 Sep 2021 12:11:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Subject: Re: [EXT] Re: mwifiex cmd timeout on one pci variant To: Dominique MARTINET , Sharvari Harisangam Cc: "linux-wireless@vger.kernel.org" , Amitkumar Karwar , Takashi Iwai , Tsuchiya Yuto , Geert Uytterhoeven , Arnd Bergmann , Lee Jones , Kalle Valo , Xinming Hu , Ganapathi Bhat References: From: =?UTF-8?Q?Jonas_Dre=c3=9fler?= Message-ID: Date: Tue, 14 Sep 2021 12:11:46 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 6765918B4 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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: >> 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. >