Re: rtw88 in main (and stable/14) updated and re-connected to the build

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 09 Oct 2023 18:51:37 UTC
On Fri, 6 Oct 2023, Bjoern A. Zeeb wrote:

Hi,

> I've reconnected rtw88 in main to the build with [1].
> I'll later today most likely MFC this updated driver to stable/14 as well
> as it blocks iwlwifi.

main, stable/14 and probably soon also releng/14.0 will have the updated
code.

For main you need to install firmware from ports, for stable/14 and
releng/14.0 firmware is still in the tree.

> If you are happy with the previous states of affairs please stick to
> stable/13 for the next weeks.
>
> The new state of workings is unclear to me.  I know 8822c has some issues
> but I am away from my test lab to do further analysis.  The same
> problems were reported on Linux as well earlier this year.

Possibly my 8822c is sitting inside a rack without antennas, possibly
there is a driver issue.  I won't be able to say until next week.

On he good side, both my 8821c and 8822b came up just fine on first
attempt and were passing some packets.


In case anyone else could confirm that rtw88 gets attached or even
working that would be great news.


# pciconf -lv pci4:18:0:0
rtw881@pci4:18:0:0:     class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xc821 subvendor=0x103c subdevice=0x831a
     vendor     = 'Realtek Semiconductor Co., Ltd.'
     device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
     class      = network
# pciconf -lv pci4:5:0:0
rtw880@pci4:5:0:0:      class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb822 subvendor=0x103c subdevice=0x831b
     vendor     = 'Realtek Semiconductor Co., Ltd.'
     device     = 'RTL8822BE 802.11a/b/g/n/ac WiFi adapter'
     class      = network

wlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=0
         ether 9c:30:5b:57:8b:11
         inet6 fe80::9e30:5bff:fe57:8b11%wlan7 prefixlen 64 scopeid 0x3
         groups: wlan
         ssid abc123 channel 36 (5180 MHz 11a) bssid 9a:9d:7e:76:6f:fa
         regdomain ETSI country DE authmode WPA2/802.11i privacy ON
         deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6
         mgmtrate 6 scanvalid 60 wme roaming MANUAL
         parent interface: rtw880
         media: IEEE 802.11 Wireless Ethernet OFDM/6Mbps mode 11a
         status: associated
         nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
wlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=0
         ether 5c:ea:1d:32:a2:0f
         inet6 fe80::5eea:1dff:fe32:a20f%wlan8 prefixlen 64 scopeid 0x4
         groups: wlan
         ssid abc123 channel 36 (5180 MHz 11a) bssid 9a:9d:7e:76:6f:fa
         regdomain ETSI country DE authmode WPA2/802.11i privacy ON
         deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6
         mgmtrate 6 scanvalid 60 wme roaming MANUAL
         parent interface: rtw881
         media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a
         status: associated
         nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>


> If you have any rtw88 supported devices please test and report back with
> PCI ID and state here or add information to the PR at [2].
>
> Also please do not forget to set the sysctl to limit memory to 32bit
> (see man page).  Also firmware is now provided out of port/packages so
> please install that too (see man page).  Installer support for that will
> follow later, so if you do not have a freebsd system installed you'll
> need to by some other means of networking if needed.
>
> /bz
>
>
> [1] 
> https://cgit.FreeBSD.org/src/commit/?id=299e2d5724c2bc4929b6eac3258f04055e97992e
> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274303
>
>

-- 
Bjoern A. Zeeb                                                     r15:7