Re: rtw88 vs rtwn Wi-Fi drivers

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Sun, 16 Jun 2024 14:50:55 UTC
root@Slimline:~ $ cat /boot/loader.conf.local
hw.re.max_rx_mbuf_sz="2048"
compat.linuxkpi.skb.mem_limit=1    <--- this one?
# utouch_load="YES"
hw.bus.devctl_nomatch_enabled=1 # need this to discover ums0
net.inet.ip.fw.default_to_accept="1"
if_re_load="yes"
if_re_name="/boot/modules/if_re.ko"
# if_lagg_load="YES"
# if_rtwn_usb_load="YES"

On 6/16/24 10:33, Bjoern A. Zeeb wrote:
> On Sun, 16 Jun 2024, Steven Friedrich wrote:
>
>>
>> On 6/16/24 03:47, Bjoern A. Zeeb wrote:
>>> On Sat, 15 Jun 2024, Steven Friedrich wrote:
>>>
>>>> slimline is an HP Slimline Desktop - 290-p0014
>>>>
>>>> Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
>>>> Coffee Lake (Core i7)
>>>> Ethernet    RTL8111/8168/8411 and RTL8125 2.5GbE
>>>> Wi-Fi RTL8821CE
>>>>
>>>> I have disabled Ethernet interfaces so I could concentrate on my 
>>>> Wi-Fi issue
>>>>
>>>> The on board Wi-Fi is this, but it won't associate.
>>> [...]
>>>> How can I help the developer find/fix this issue?
>>>
>>> Seems good news is that the laptop doesn't "hang" anymore.
>>>
>>> Do you get any logging in dmesg?  If you enable a level of debugging in
>>> wpa_supplicant, does it log anything helping?
>>
>> Yes, /var/log/messages says it's timing out after 10 seconds:
>>
>> Jun 15 22:48:52 Slimline wpa_supplicant[35434]: wlan0: Trying to 
>> associate with ??:??:??:??:??:?? (SSID='Verizon_C4J9FL' freq=2462 MHz)
>> Jun 15 22:49:02 Slimline wpa_supplicant[35434]: wlan0: Authentication 
>> with ??:??:??:??:??:?? timed out.
>> Jun 15 22:49:02 Slimline wpa_supplicant[35434]: wlan0: 
>> CTRL-EVENT-DISCONNECTED bssid=??:??:??:??:??:?? reason=3 
>> locally_generated=1
>> Jun 15 22:49:02 Slimline wpa_supplicant[35434]: BSSID 
>> ??:??:??:??:??:?? ignore list count incremented to 2, ignoring for 10 
>> seconds
>> Jun 15 22:49:02 Slimline wpa_supplicant[35434]: wlan0: 
>> CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Verizon_C4J9FL" 
>> auth_failures=7 duration=90 reason=CONN_FAILED
>> Jun 15 22:49:02 Slimline wpa_supplicant[35434]: wlan0: 
>> CTRL-EVENT-DSCP-POLICY clear_all
>>
>> Can this timeout be set in wpa_supplicant.conf?
>>
>>>
>>> Which FreeBSD version are you running?
>>>
>>> 14.1 with daily git pulls, so I'm tracking stable-14.
>
> Did you by any chance not set the loader tunable as documented in the
> man page?
>