Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT)

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Tue, 04 Mar 2025 22:44:34 UTC
On Tue, 4 Mar 2025, Tilman Keskinöz wrote:

> Hi, sorry for being late to the party.
>
> On 2/27/25 23:54, Bjoern A. Zeeb wrote:
>> (4) rtw89 (my own testing):
>> ----------------------------------------
>> 
>> * vendor=0x10ec device=0xc822 subvendor=0x1a3b subdevice=0x3750
>>    [8852AE, rtw89/rtw8852a_fw.bin 0.13.36.0 (c33d3f88)]
>>    Problems, 'FW crash'
>> 
>
> rtw890@pci0:3:0:0:      class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec 
> device=0x8852 subvendor=0x17aa subdevice=0x4852
>    vendor     = 'Realtek Semiconductor Co., Ltd.'
>    device     = 'RTL8852AE 802.11ax PCIe Wireless Network Adapter'
>    class      = network
>
>
> The device associates but quite soon disassociates.
>
> wlanstats output:
>
> wlanstats: wlan0:00:00:00:00:00:00 (IEEE80211_IOC_STA_INFO): No such file or 
> directory
> wlanstats: wlan0:00:00:00:00:00:00 (IEEE80211_IOC_STA_STATS): No such file or 
> directory
> 21                rx discard 'cuz dup
> 189               rx w/ wrong direction
> 257               rx discard mgt frames
> 2705              rx ctrl frames
> 401               rx beacon frames
> 453               rx element unknown
> 7                 rx frame chan mismatch
> 320               rx w/ incorrect keyid
> 2                 tx failed 'cuz no defkey
> 71                active scans started
> 1270              ccmp crypto done in s/w
> 680               rx management frames
> 1                 A-MPDU BAR rx before ADDBA exchange (or disabled with 
> net.link.ieee80211)
> 2                 tx failed 'cuz vap not in RUN state
> 0.0M              current transmit rate
> 0.0               current rssi
> 0.0               current signal (dBm)


Which tunables did you set in this case?


> dmesg:
> ieee80211_node_get_txrate_dot11rate: called for VHT / unknown rate (type 0)!
> wlan0: link state changed to UP
> wlan0: link state changed to DOWN
> ieee80211_node_get_txrate_dot11rate: called for VHT / unknown rate (type 0)!

This was fixed earlier today but is just noise.

-- 
Bjoern A. Zeeb                                                     r15:7