[FreeBSD 14.0] no driver attachement for 0xB852 (Wifi 802.11ax Realtek)

Hi all,

I have a AM06PRO containing a mini-pcie Wifi 6 Realtek card, but seems to be not recognize by last FreeBSD version.
It's works on last Debian version ; maybe it's possible to find a driver ??? how can I install driver for this Wifi card on FreeBSD ?

Other hardware are not recognize but the most important is Wifi ; thank you very much for your help.

Output for sysctl -a | grep 'no driver'
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pci3: <network> at device 0.0 (no driver attached)
pci5: <encrypt/decrypt> at device 0.2 (no driver attached)
pci5: <multimedia> at device 0.5 (no driver attached)


Output for pciconf -lv
[...]
none0@pci0:0:0:2: class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1631 subvendor=0x1022 subdevice=0x1631
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Renoir/Cezanne IOMMU'
class = base peripheral
subclass = IOMMU
[...]
none1@pci0:3:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852 subvendor=0x10ec subdevice=0xb852
vendor = 'Realtek Semiconductor Co., Ltd.'
class = network
[...]
none2@pci0:5:0:2: class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15df subvendor=0x1022 subdevice=0x15df
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 17h (Models 10h-1fh) Platform Security Processor'
class = encrypt/decrypt
[...]
none3@pci0:5:0:5: class=0x048000 rev=0x01 hdr=0x00 vendor=0x1022 device=0x15e2 subvendor=0x1022 subdevice=0x15e2
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'ACP/ACP3X/ACP6x Audio Coprocessor'
class = multimedia
[...]
none4@pci0:5:0:7: class=0x118000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e4 subvendor=0x1022 subdevice=0x15e4
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Sensor Fusion Hub'
class = dasp
none5@pci0:6:0:0: class=0x130000 rev=0x81 hdr=0x00 vendor=0x1022 device=0x145a subvendor=0x1022 subdevice=0x7901
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Zeppelin/Raven/Raven2 PCIe Dummy Function'
class = non-essential instrumentation


I find this information, from debian, if it can be usefull :
id:network
description:Wireless interface
product:Realtek Semiconductor Co., Ltd.
vendor:Realtek Semiconductor Co., Ltd.
physical id:0
bus info:pci@0000:03:00.0
logical name:wlp3s0
version:00
serial:40:9c:a7:2b:2c:ba
width:64 bits
clock:33MHz
capabilities:pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration:
broadcast=yes
driver=rtw89_8852be
driverversion=6.5.13-1-pve
firmware=N/A
latency=0
link=no
multicast=yes
wireless=IEEE 802.11
resources:
irq:77
ioport:e000(size=256)
memory:fcd00000-fcdfffff
 
driver=rtw89_8852be
The FreeBSD native rtw89 driver is in development, not fully supported yet.

The driver is present in the currently supported FreeBSD 13, 14, 15 branches source:

/usr/src/sys/contrib/dev/rtw89/rtw8852be.c
Code:
                PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xb852),

However, it is disconnected from build, meaning, it won't be build when the kernel and kernel modules are build from source. The driver must be build separately. This is why no driver has attached to the device:
none1@pci0:3:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852

For the time being, the development is quite slow. I myself have a adapter with a RTL8852AE chipset in my laptop, waiting to use it.

You can try the driver, but don't expect it to work as expected or work at all. On my system for example, the driver produces a kernel panic when trying to connect to a access point.

There is a third party solution to use the adapter, net/wifibox (Wireless card driver via virtualized Linux).

- https://github.com/pgj/freebsd-wifibox
Project FreeBSD Wifibox

Wifibox deploys a Linux guest to drive a wireless networking card on the FreeBSD host system with the help of PCI
pass-through. There have been guides on the Internet to suggest the use of such techniques to improve the wireless
networking experience on FreeBSD, of which Wifibox tries to implement as a single easy-to-use software package.

The package for rtw89 would be "wifibox-rtw89", or when installing from port: make install clean FLAVOR=rtw89

I'm not sure if the native rtw89 driver supports (or will support) wifi 6, but it's supported by the Linux driver.

According to https://www.freebsd.org/releases/14.0R/relnotes/, currently only iwlwifi(4) supports wifi 6(E).


 
Ok thank you very much ; it's very clear ; hope this driver will coming soon.

I use pfSense (base on FreeBSD) via ProxMox ; and I would like to create a Wifi HotSpot by connecting via pass-trough the WiFi card to the pfSense VM ; but seems not possible yet.
Maybe there is a way to virtualize the card via ProxMox and give the VM all functionnality to set the card as HotSpot ; but I dont find the way to do this yet ; I think virtualization works for connecting to hotspot but not to set the card as a hotspot itself.

I am waiting another mini-pcie card which is AX210 from intel hope it wil be compatible.
 
I use pfSense
I'm sorry, but pfSense is not supported here in forums.


I am waiting another mini-pcie card which is AX210 from intel hope it wil be compatible.
On FreeBSD the AX210 is supported by the iwlwifi(4) driver, don't know about pfSense.
 
Back
Top