Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: sys/qwz: initialize on Snapdragon but fails on scan
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
tech@openbsd.org
Date:
Thu, 02 Apr 2026 22:00:51 +0200

Download raw body.

Thread
On Thu, 02 Apr 2026 21:53:11 +0200,
Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> 
> > Date: Thu, 02 Apr 2026 21:45:48 +0200
> > From: Kirill A. Korinsky <kirill@korins.ky>
> > 
> > On Thu, 02 Apr 2026 21:41:47 +0200,
> > Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> > > 
> > > > Date: Sun, 29 Mar 2026 21:23:36 +0200
> > > > From: Kirill A. Korinsky <kirill@korins.ky>
> > > > 
> > > > tech@,
> > > > 
> > > > I'd like to share some work which I pocking around with attempt to move
> > > > forward with qwz driver.
> > > > 
> > > > I've attached 3 diffs where:
> > > > 
> > > > 1. fixed a copy and typo in DTS for my Honor machine;
> > > > 2. updated qwz firmware to the last version;
> > > > 3. a bit of work in qwz.
> > > > 
> > > > Right now, after boot qwz reads like this:
> > > > 
> > > > qwz0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> > > >         lladdr 3c:0a:f3:d3:55:c5
> > > >         index 1 priority 4 llprio 3
> > > >         groups: wlan
> > > >         media: IEEE802.11 autoselect
> > > >         status: no network
> > > >         ieee80211: nwid ""
> > > > 
> > > > and attempt to up an interface leads to firmware crash.
> > > > 
> > > > Scope of qwz work:
> > > > 1. Fixed a crash on my machine which was suggested as:
> > > > https://marc.info/?l=openbsd-tech&m=177410294328488&w=2
> > > > 2. Implemented world reg domain like ath12k
> > > > 3. Fully filled flags and follow ath12k logic with peer-metadata
> > > > 4. Increased RDDM size and synced timeouts with ath12k
> > > > 
> > > > This work was like read how ath12k works, and figure out what we do the
> > > > wrong way. Right now qwz works more or less the same way, and I run out of
> > > > ideas why it crashing. Any suggestion and ideas are welcome.
> > > 
> > > FWIW, on my vivobook this diff gives me (with QWZ_DEBUG enabled):
> > >
> > 
> > Which version of firmware do you use? new one or from ports?
> 
> This is the one I got by running fw_update, so the one from ports I
> suppose.
> 

May I ask you to try update from this email?
https://marc.info/?l=openbsd-tech&m=177481501901011&w=2

I haven't commited it yet

-- 
wbr, Kirill