mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: quic_zijuhu <quic_zijuhu@quicinc.com>
Cc: Tim Jiang <quic_tjiang@quicinc.com>,
	Janaki Ramaiah Thota <quic_janathot@quicinc.com>,
	linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: QCA NVM file for the X13s (WCN6855)
Date: Thu, 2 May 2024 15:25:46 +0200	[thread overview]
Message-ID: <ZjOUWqor4q1Efy0W@hovoldconsulting.com> (raw)
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

  reply	other threads:[~2024-05-02 13:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 10:57 Johan Hovold
2024-05-02 12:56 ` quic_zijuhu
2024-05-02 13:25   ` Johan Hovold [this message]
2024-05-02 13:46     ` quic_zijuhu
2024-05-02 14:13       ` Johan Hovold
2024-11-14  6:57         ` quic_zijuhu
2024-11-14  8:27           ` Paul Menzel
2024-11-14  8:39             ` quic_zijuhu
2024-11-15  9:08           ` Johan Hovold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZjOUWqor4q1Efy0W@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_janathot@quicinc.com \
    --cc=quic_tjiang@quicinc.com \
    --cc=quic_zijuhu@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®