Re: rtw88 vs rtwn Wi-Fi drivers

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Mon, 17 Jun 2024 12:15:36 UTC
It appears the rtw88 driver in 14.1-RELEASE will associate, but if I 
build stable-14, it no longer associates.



On 6/17/24 07:16, Steven Friedrich wrote:
>
> While doing a fresh install, I noticed rtw88 associated on my system.  
> Here is the ifconfiig wlan0:
>
> ifconfig wlan0
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
> 1500
>        options=0
>        ether 5c:fb:3a:69:48:65
>        inet 192.168.1.66 netmask 0xffffff00 broadcast 192.168.1.255
>        groups: wlan
>        ssid Verizon_C4J9FL channel 11 (2462 MHz 11g) bssid 
> 4c:22:f3:39:25:7b
>        regdomain FCC country US authmode WPA2/802.11i privacy ON
>        deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
>        protmode CTS wme roaming MANUAL
>        parent interface: rtw880
>        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
>        status: associated
>        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>
> Can we specify mode 11g in some config file?  I think my issue arises 
> after a buildworld/kernel, installworld.  Is 11g compatibility getting 
> configured out?
>
>
>
> 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?
>>