Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1199551rdb; Wed, 6 Dec 2023 11:12:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGoXzLbCQK0YUCW0dgpxrP8ZeFQ7ElfRJd+zIgxa8sAf1JwC5ynFQkGaqIwKCzQhw5Imu/z X-Received: by 2002:a0c:c310:0:b0:67a:a721:d782 with SMTP id f16-20020a0cc310000000b0067aa721d782mr1681268qvi.104.1701889930874; Wed, 06 Dec 2023 11:12:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701889930; cv=none; d=google.com; s=arc-20160816; b=iV5zxUw+WQwjf76NXynKdlyRSJCVuU50E6e0/S0SviE2bdWsOKNbcd0SJ6SbodIQtL uFxtJVX/FRxBT2B/uB3g97O22VKlY3ug3IUK8f5rMaRk2m7TuvsOntKnoCOt+CgfCO2s WpONkO+f2fY2DgGjx0jBtG2E1R2/j+DjbUIhj0G+tqPk7Z1aQ7yysAaJxVBQLzf3TLB9 TjITyLTWiAJ4yB9yGWlvUa1uj9VKGoRxCdipqP8JKBejf6KdF14Q4SF/KVrprMLVqW8J EMJxjCssnoK7giXFE0JgaMe+l7AwPQ+lU8YHl2tBIWkW7JcQ/PbQO+jeo1xLRnivv3wL YYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fKXwDoSk6eUw/PYkuaUJ/DPKIhb1MBkA5JKGxmqSVm0=; fh=/gOfmz4SRLWvK5vLwuPNFApcH7/HkZIrwcs64YgjTHM=; b=WBRWvseLB6qYrgpNu9qChxHlGuH159wrAFvCuBVFl3tE8B0Du1iyE4mBly5Ic57Rxu juenzSldLmsGHdjUIoSpVud+TjY19xToCtvtD8f5tBXRKOWd7/7NQ/CYPfma8NuGgUYx ZLQ3ppAtN8nI9E4zQN/kfMkMXjN95JzBySN+QpdRfo5UoGxF8mGnPqgKVCAs5CmH7qmd N3Vs8tjY0gvKctJtoUoFlLjrAxiNTqv4v446Vaypz5pZBn71Alb6jIo+fBoNSzs08TWB 9kftFWfmj3MbOmdmUFCEnKulIV8lZzb06rdx768j+IwtRCzJw8TqKStGf57eTsx5shiV /IOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dP62dgct; spf=pass (google.com: domain of linux-wireless+bounces-505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bx3-20020a05622a090300b0042543985c87si552458qtb.41.2023.12.06.11.12.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 11:12:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dP62dgct; spf=pass (google.com: domain of linux-wireless+bounces-505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 991731C20F34 for ; Wed, 6 Dec 2023 19:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA1656A339; Wed, 6 Dec 2023 19:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="dP62dgct" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F00D40 for ; Wed, 6 Dec 2023 11:12:06 -0800 (PST) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6ce9e897aeaso151876b3a.2 for ; Wed, 06 Dec 2023 11:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701889925; x=1702494725; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fKXwDoSk6eUw/PYkuaUJ/DPKIhb1MBkA5JKGxmqSVm0=; b=dP62dgctc5dJOsUJ+PFQLCJfwenf3L/GUC2WUqdy0Xhdah+SYLgm+DUm3wvokHMrLh hCCzgwj6kcSaw3KANT6Uz2KMYnwsHSHq6+zLh1gXCXwWvU/YXtKwhkM3a+oOsfWlQH21 JsURo4naAGz2Y+/rHfM/kE4vst0slvH5nKbao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701889925; x=1702494725; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fKXwDoSk6eUw/PYkuaUJ/DPKIhb1MBkA5JKGxmqSVm0=; b=PLdoLCr2HQB7cVPpk9+SPLNg9ppMyqdIznrvcEMp4RIsInATSvIACZUi/QJwfNYzU/ K09rF0TqKjFw3waJZsd5Vr1qgsY75PhSlZuf4myHOCIUP71AyMTnv6s53IztcGmC0Hi5 d3a04ht3bl61U5yqrh8uQFpe1msrF5Q1Ypa8ZJIqMCND+i+ZeyxLsgS79Kt09adMls1L +12F7xOvGY4QA6jfXWcLJMyQzKiAKm7FGUGDER9skLNxGVuxFUYTlr2qWpfMpGl854J6 6BgKBiFwKPgKpqJeaZe+StMj2slqJ2oSKqe9Hd0+uMwvs6l1Ndz03Fp4YG4UyItLTrla DcUw== X-Gm-Message-State: AOJu0YxrE47i5PPIsY+K3Drm9VYh2pnPoo0UDtxLUtqA3t4JHiBMpOoM ILzGzmfP2MCkPdAJHjwVu2CAEw== X-Received: by 2002:a05:6a20:938e:b0:18f:97c:8a37 with SMTP id x14-20020a056a20938e00b0018f097c8a37mr1695396pzh.98.1701889925521; Wed, 06 Dec 2023 11:12:05 -0800 (PST) Received: from localhost ([2620:15c:9d:2:5038:905b:ae7e:e6da]) by smtp.gmail.com with UTF8SMTPSA id k15-20020aa7998f000000b006ce742b6b1fsm330430pfh.63.2023.12.06.11.12.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Dec 2023 11:12:05 -0800 (PST) Date: Wed, 6 Dec 2023 11:12:02 -0800 From: Brian Norris To: Alex Bee Cc: Amitkumar Karwar , Ganapathi Bhat , Kalle Valo , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] wifi: mwifiex: Restore USB8897 chipset support Message-ID: References: <20231205210237.209332-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231205210237.209332-1-knaerzche@gmail.com> On Tue, Dec 05, 2023 at 10:02:37PM +0100, Alex Bee wrote: > This patch restores USB8897 support which was removed with > Commit 60a188a2715f ("mwifiex: remove USB8897 chipset support") Did you look at the reason for that removal? "if both mwifiex_pcie and mwifiex_usb modules are enabled by user, sometimes mwifiex_usb wins the race even if user wants wlan interface to be on PCIe and USB for bluetooth. This patch solves the problem." That sounds like a legitimate problem, even if the solution isn't perfect. Do you have any alternatives? I don't have such hardware, so I don't know its behaviors nor can I test it. But it'd be nice if we could differentiate USB-only vs PCIe+USB somehow. > There are quite some devices which use this chipset with USB interface. > The firmware still exits in linux upstream firmware repo and this simple > patch is all what is required to support it in upstream linux (again). > > Signed-off-by: Alex Bee > --- > Recently I upstreamed support for Geniatec XPI-3128 SBC which actually > has one any of those boards soldered to the onboard USB Host controller. > Geniatech has some boards [0], [1], [2] (maybe more) which have this > variant soldered the same way. (optional) > I've also read that "Xbox Wireless adapter for Windows" uses this chipset > (unverified). > I've also CC'ed Ganapathi Bhat who last updated the firmware for SDIO and > PCIe variant of this chipset: It would be great if the firmware > for USB variant could get an update too, as the one which we currently > have is quite old - version 15.68.4.p103, while other have some 16.* > firmware. The old maintainers here seem to have gone AWOL, so I wouldn't hold my breath on getting any support from them. Brian > [0] https://www.geniatech.com/product/xpi-3288/ > [1] https://www.geniatech.com/product/xpi-imx8mm/ > [2] https://www.geniatech.com/product/xpi-s905x/ > > drivers/net/wireless/marvell/mwifiex/Kconfig | 4 ++-- > drivers/net/wireless/marvell/mwifiex/usb.c | 14 ++++++++++++++ > drivers/net/wireless/marvell/mwifiex/usb.h | 3 +++ > 3 files changed, 19 insertions(+), 2 deletions(-)