Re: Please test iwlwifi/rtw88/rtw89 now

From: Bjoern A. Zeeb <bz_at_freebsd.org>
Date: Tue, 11 Nov 2025 14:40:47 UTC
On Tue, 11 Nov 2025, Oleg Nauman wrote:

> On Mon, Nov 10, 2025 at 9:56 PM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>>
>> On Fri, 5 Sep 2025, Oleg Nauman wrote:
>>
>> Hi Oleg,
>>
>>> On Wed, Sep 3, 2025 at 12:06 AM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>>>>
>>>> Hi,
>>>>
>>>> with the changes (especially for scanning--rtw88) and all the other
>>>> minor details gone in the last days I would love to ask people to test
>>>> as much as they can on main before I'll merge to stable/14 and also
>>>> given stable/15 is imminent.
>>>
>>> Unfortunately rtw88 now ( CURRENT revision d3462294c1f0 ) can't
>>> associate with access points while It was working in 659962f96a15 (
>>> Jul 29 )
>>
>> I just pushed
>>         https://cgit.FreeBSD.org/src/commit/?id=b568711f8ef1afd7c86ea2d8bd2f94f399f54dc1
>> into main.
>
> I  am sorry but nothing changed so it still can not be associated.
>
> Well,  I have some interesting observations related to this issue
> If I perform soft reboot after rtw88 testing and start wifibox service
> ( I am using it as backup wifi based on the same wireless adapter ),
> then wifibox fails to initialize wireless adapter.  It never happens

That is Linux fails to reset the card too?

> if I performing power off /on sequence after rtw88 testing.
> I suspect that rtw88 fails to correctly initialize my wireless
> adapter and/or firmware crash
>
> rtw880@pci0:2:0:0:      class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec
> device=0xc821 subvendor=0x1a3b subdevice=0x3040
>    vendor     = 'Realtek Semiconductor Co., Ltd.'
>    device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
>    class      = network
>
> rtw880: <rtw_8821ce> port 0xd000-0xd0ff mem 0xef100000-0xef10ffff irq
> 17 at device 0.0 on pci2
> rtw880: successfully loaded firmware image 'rtw88/rtw8821c_fw.bin'
> rtw880: Firmware version 24.11.0, H2C version 12
>
>
> Thank you for your hard work
> Please let me know how can I debug it further

Do you have more logging of this?

Can you try to:

set wlandebug for the interface to 0xffffffff (all)
Set
 	kern.msgbufsize=4587520
 	kern.msgbuf_show_timestamp=2
 	compat.linuxkpi.80211.debug=0x00100041
in loader.conf

Gather dmesg for me for when it is failing to associate?



>> If you can confirm that it works before Wednesday afternoon UTC, then I can get
>> it to stable/15 and into 15.0-RELEASE still.
>>
>> Thanks a lot for reporting, reminding me, and all the testing you are always
>> doing.  I am sorry it took so long to get this fixed.
>>
>> Lost of health,
>> /bz
>>
>> --
>> Bjoern A. Zeeb                                                     r15:7
>

-- 
Bjoern A. Zeeb                                                     r15:7