Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1136063lqm; Thu, 2 May 2024 06:25:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXF73avuV3VHzXB3Kw5wKn/iJwqF+r5bSlG4gTHm8ohnCftex1k3xbJrAw1KzJXA2O8p259z90VB6mphc7O/PSTsuirLv4GfMPfysr09w== X-Google-Smtp-Source: AGHT+IEuHbjKfcFS+QtJrEXdyUUeWn+X4wHOTPToHnkE8vC9iixBKWiLyqDORbI5x6MnspJEfRBH X-Received: by 2002:a17:906:33ce:b0:a55:596b:c9ca with SMTP id w14-20020a17090633ce00b00a55596bc9camr3559409eja.39.1714656352053; Thu, 02 May 2024 06:25:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714656352; cv=pass; d=google.com; s=arc-20160816; b=V/heEma1TCU1jNOStkxX90hGKsqfKDnNTyqyOWB5BdUvVM8wvC24EdVFs/3botXYGx KO2Aw7jZEQK5N+ovaA7JtnPb5IhUtzr4a2YyHSz78xsPYDccPp/uDw5orrr15lTZ/nBK rRH56tM2k0/32GuR+Bnt7OPzmMh8N3XZW0hVMr1YSDLpDNig02ODTLhvD0xvu8fQ2KGd Mpph3EFUbR1ylSRliUjtJJDhPZeI+PlPjwDWrmrpKduZ2r0hLxUdTRkW0nyfsqQRgA4N 3EHWqkejkRgSECAW6kE8Uqg3mR3mSux2ElRbACqIa4HxagxWVTq0vj2hYlxQEBpPx4Ib cLgw== ARC-Message-Signature: i=2; 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=zbhIqbjytSeVKcrw3SXiaBuhF0cff4yPj0WodLQdMFQ=; fh=UlaahPiN/rNdKcI/qN+VbG3cFW/Xo8G3R84ARN2b9OI=; b=orANcPgsGF6vsiYyLDZA6qmGtLu+97kNB5KuZGLecqIwolEmFvsxds607bulTX0gm7 bK4A15alC+WCo7gQG2uQo8qRNuuWWLoxWuWIjNVwTLLLYc9aMHNXHu8MSSyugX++Jm3p NuAuptl6Xc1DGqRJW61Lu0nyRL/M76cMSswZ/rFmTNrwqat0KyXQ4qdr4DINfIaJOqYv OEWvHwQOWGLnfNgL7gNA/W1/RnnC3uTZHr6ydjw7WcL7aO+cA2U+/m1zf2eX0xmmmlq9 Ihh2lBij9wAZ8lCQZNz4hArEPVjcgz5S/V8TjyNJ8eYoi2hKzn3BY3B15wdVGE7SJnAa rraQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PEdNcM2I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id wv1-20020a170907080100b00a55bb1872desi541853ejb.643.2024.05.02.06.25.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 06:25:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PEdNcM2I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id C44031F224F8 for ; Thu, 2 May 2024 13:25:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2756384DE8; Thu, 2 May 2024 13:25:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PEdNcM2I" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 840DC83CC5; Thu, 2 May 2024 13:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714656344; cv=none; b=Nm7lUq51pP1+3aoMTxLTJx6ktFy3oDeGyEdn2wcpUEstQhz7nGjPiDEOVj0byMeJZ/f5KvuaBlLuN5clBQb1Z+VLCK86ahy/kBOPAMHALGFIrTAtFAgbP2qrdDEmqZznWZmqrDiYsdZoYJTxRzN2dvz4ZJh3FZGm1cX+jiRNQQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714656344; c=relaxed/simple; bh=DvfYRYHvgsxTSZyqjmlAyayx/56nh7hHtnI5bpCN+2A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=om4UT7KPRNBE4HiU9RPZBwBMsoTCf3lgvsUXnxs7gBnnY6lNc3k+UUIbowazaXtFjrRG76iAUi6KkYkifhAGsKZqsx8aHGjj5T7eiLbSH7+73i+FLAiXyHGp/NW+ubAf+xo14siJEJeZ2tUvaoOFGB3+EPNjcvuzOzFaOfNR+ug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PEdNcM2I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D8FEC113CC; Thu, 2 May 2024 13:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714656344; bh=DvfYRYHvgsxTSZyqjmlAyayx/56nh7hHtnI5bpCN+2A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PEdNcM2I17MtW0rDVTMcO7IfhLLuPazC6GauJKMHdiAZqQBcSdFA0skf2gOaS/nas EUorKlh9C5JHh/w5eoEaoMM7/ANVHSZPSJH9veMQexzc7AAzpiVyeHXUoNv05x4m+U q/FCWWHMN8L/Ma9G/u9zlAsjtYiJspcrk7d5/lxPvA4gs39JjX/2Til1w2860sKdZJ 7HBCWrq6lMlgLoaLyBsE/gxxZO+igJca3I/9kv7Op3gOb//YsoCR2YCLXu4HAVkOli 1AtStUb1lm/u8uEUPSU90pX561aJJmodtpt97uIC4it8HeFUs4WxKfIhQsA9z0Vbi6 QkH6DHAjqLRmQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1s2WRW-000000005WP-3Swo; Thu, 02 May 2024 15:25:47 +0200 Date: Thu, 2 May 2024 15:25:46 +0200 From: Johan Hovold To: quic_zijuhu Cc: Tim Jiang , Janaki Ramaiah Thota , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: QCA NVM file for the X13s (WCN6855) Message-ID: References: <5aea3149-ba44-400f-acc6-1a3eca8a7e72@quicinc.com> Precedence: bulk X-Mailing-List: linux-bluetooth@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: <5aea3149-ba44-400f-acc6-1a3eca8a7e72@quicinc.com> On Thu, May 02, 2024 at 08:56:12PM +0800, quic_zijuhu wrote: > On 5/2/2024 6:57 PM, Johan Hovold wrote: > > I noticed that you have both submitted firmware and NVM files for > > QCA2066 to linux-firmware. [1][2] > > > > I'm working on Linux support for the Lenovo ThinkPad X13s (Windows on > > Arm, Snapdragon), which has the related WCN6855 controller that uses the > > same firmware (hpbtfw21.tlv). > which SOC type does the machine use? WCN6855 or QCA2066? It's WCN6855 but the Linux driver currently uses the firmware you pushed for QCA2066. > > The current Linux driver is using the generic NVM file (hpnv21.bin) for > > WCN6855, but connectivity is quite bad and I only get 2-3 meters of > > range. > > > Switching to the board-specific NVM configuration (hpnv21b.b8c) that > it seems hpnv21b.b8c is a wrong NVM name. > is it hpnv21g.b8c? I've only tested with the NVM file without the "g" infix, but there indeed also is a 'hpnv21g.b8c' in the Windows installation. What is the difference between those two? > > came with the Windows driver make all issues go away and the range is > > really good, but I'm not sure if that file is fully compatible with the > > firmware used by the Linux driver. > > > > Could you help us submit an NVM configuration file for the controller > > with board id 0x008c to linux-firmware? > > > For Windows OS, there are relevant channel to deliver BT firmware. > For Linux OS, we normally upload relevant BT firmware to linux-firmware. > > it seems customer would like to use Linux OS instead of preinstalled > Windows OS for the machine. > right? Exactly. It's a Lenovo machine that comes with Windows pre-installed and we're working on enabling Linux on it with some help from Lenovo. > need customer to make a request for their requirements if the answer is > yes for above question. Lenovo has made requests for X13s firmware from Qualcomm and pushed it to linux-firmware [1], but they have not yet been able to get Qualcomm to provide an NVM configuration file for Bluetooth (I think the problem may be finding the right person to talk to inside Qualcomm). So I was hoping maybe you could help us with this since the difference between 'hpnv21.bin' that you pushed to linux-firmware and what came with Windows appears to be really small (e.g. just a few bytes). Johan [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/qcom?id=4ae4ae88918928e15006eb129ad981aa58216b59