Outstanding Issues & Update on my TODO

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 12 May 2025 22:26:01 UTC
Hi,

sorry I was quiet for a few days;  an update of my main desktop ended up
in four panics an iwlwifi firmware crash.  Thankfully none of the panics
were directly related to wifi.  One was an interface restart but the
panic was in the IP[v6] code as the dump revealed.

I am trying to sort the outstanding issues again and I had a bit of
packet loss due to the above so emails may have gone unanswered.

First: Mediatek mt76: I have an update at [1] on where it currently
stands.  Once the LinuxKPI reviews are sorted I'll push a treee
somewhere so other people can try and see if their cards get further.
You likely will not be able to use drm-kmod at the same time while
testing this so a multi boot, usb pen drive, netboot or similar
or a reinstall will be needed.
Firmware update is here [2].  If any ports committer would help with
review that would be awesome.

rtw89: I have reports that it's not stable / not working.  The much I
wished I have little time for it currently.  I am still trying changes
at least on one of my rtw89 and see occasional problems too.  If someone
wants to debug let me know.

rtw88: more LinuxKPI bits are needed to get use closer to 11ac there;
likely also more crypto work needed in LinuxKPI.  I'll keep this as low
prio background task.  [1 function every other day will get us far and
not take too much time off my daily work; something along these lines].

I need to check about firmware updates for both of these (rtw8x);  if
anyone wants to test before I'll commit if there are changes, let me
know.

Experimental regdomain:
- FCC hard coded into ifconfig
- ifconfig always shows ZW? for regdomain now
- the fact that country==regdomain needs more review and detangling.

Crypto:
- I need to setup a FreeBSD 11n AP to test GCMP for LinuxKPI and if it
   works it could be added.

Suspend / Resume:
- I worked on the PCI bits but sadly that was one of my panics --
   though with drmn (grpahics) as that code is special; I need to add
   exceptions or repliicate some logic from the native PCI code before
   I can continue.

iwlwifi driver update:
- Along with the PCI changes for suspend/resume there are more coming
   so this can likely be put into main;  6.14 will be the last vesion
   where the AX and the BE hardware will be the same (sub-driver).
   Intel split iwlwifi up further.
   To users this should not matter but the reshuffling for 6.15 or later
   should be a separate thing in the future.
   Firmware update along to newer / recompiled versions.

11ac:
- We have a few people who cannot get on 5Ghz, or it takes ages until
   they get on.  I've not found the common problem but I'll get back to
   you again.  PR 286493 is tracking parts of this.
- firmware crashes: I know my own one and I have one from Eirik
- I have one user who reported a vht80p80 possible but was not chosen.
   We'll need to see about that.
- https://reviews.freebsd.org/D49773 is still pending review
   Did anyone test but me who managed to get onto VHT160 with this that
   did not work before?  Please let me know.

net80211:
- the race condition fix for scanning went all the way to releng/14.3
   so that's handled
- I have an update to the IE list and ifconfig somewhere pending
- I have other IE related work to fix (PRs)

LinuxKPI 802.11:
- I ran into and spend a few minutes on checksum offloading so we get
   at least RX csum bits working.  iwlwifi needs a special change;
   I need to follow-up on net@ as the functions needed are currently
   not exported
- I have a few internals on my TODO for minor improvements also to sort
   one or two more iwlwifi PRs.

Older iwlwifi and 11ac:
- that's something to be discussed;  the original code is GPL-only
   upstream;  we neither have the (full) functionality in iwm or iwx
   to lift it from there.  It's a few Kloc.  Problem is there's plenty
   of 8xxx and 9xxx cards out there still with FreeBSD users.  I'll
   need to see.  Ran an experiment with one of you (thanks a lot!)

docs:
- need to update iwlwifi man page

What am I missing at the moment?  Please add problems I missed
vvvvvvvv here!
-
-
-
-

Lots of health,
Bjoern

[1] https://github.com/FreeBSDFoundation/proj-laptop/issues/66#issuecomment-2868233512
[2] https://reviews.freebsd.org/D50305

-- 
Bjoern A. Zeeb                                                     r15:7