From nobody Mon Jun 17 12:15:36 2024 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W2pkP4g8Hz5Nmcj for ; Mon, 17 Jun 2024 12:15:41 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W2pkN2XY1z4gps for ; Mon, 17 Jun 2024 12:15:40 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ajtj4EVR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::72e as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7953f1dcb01so383301885a.3 for ; Mon, 17 Jun 2024 05:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718626539; x=1719231339; darn=freebsd.org; h=in-reply-to:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=nJXFG/ewBzuBOn/ksG82VDV+z1hBBagmu1SUc7TywY4=; b=ajtj4EVRDh7HlibKDtlZ3DeIr7Ku3UthfhVMO7KlIIGmnj7mwmk4coIvq4jqvybS7w x4LviBV+JQWEIzv60484lHpfjRcG2IJMqgzvFIhBpLVtLDMu1t2MoPxA1KTnoSI6hkSN zZdgkjWt3ozmRQqAqdBRsFsDIr1gEl4+/ugMBhTIvUE9MFFvbpiT0IMbpWBs0FJIGafE n94IKyorx1Ie6uRAeMkkGHlm9aKCaqL7Yz62Nmvsu11sXiSPtuwUEs+6zOBcVoJnjE1t 3DDQUK7oW9JmlKXRzF/rBqWaHuWehC3JB3Cet6ttU0+X1yBECZfhSu8olQiYpDtHE5W+ 00wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718626539; x=1719231339; h=in-reply-to:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nJXFG/ewBzuBOn/ksG82VDV+z1hBBagmu1SUc7TywY4=; b=B0q4wm57tktpBqcUZcVKFnYb77dLmJ8vKa4Voyh8w6Qvbqm+UNBu3/pyX4aObptt7N nhskIVNErWHRqVvenhn2msyUx9idcql0aK1//Dmmjd9U/BZJXj3xzVIwPJ3vCUmLDFkl YeB5yyRJiXoZ9LGa3K1dcr8e4lol1tzFGM1rgSsYfPTqvp/kLX1MY08mkeOSVCsi9hOx Vr2TrRkT/QxOkDXzpF1yIRSX4OteY9TiBy2geB4rF/ouYRltdZEkB8yLBV2IsuskGqMO CGaT7UToYpz46DXFzjoDlrV7AK5O1CGak3a31y89CeVYBoWz9TH7jNk8YwDD/V7VeiGZ ohnQ== X-Gm-Message-State: AOJu0YwpPDEPmKrSdlOqEVPZmWR1iwKeGGD4nDgaRI/ckkMQkLTnDAQ/ E+h3fbopRID49j8p43QDo+GKka6l4kN+nWxKjcel/EjgbAq2J4+bkAMPEA== X-Google-Smtp-Source: AGHT+IGKEQf1QUNIPlVPutggvxz4zB4bcXt0zQy5HCAmxpMTJUMSmzyBQ4dVTAzM6N2TGFhJSq1bOg== X-Received: by 2002:a0c:f5ce:0:b0:6b0:695e:6f70 with SMTP id 6a1803df08f44-6b2afd963abmr95065226d6.26.1718626538806; Mon, 17 Jun 2024 05:15:38 -0700 (PDT) Received: from ?IPV6:2600:1015:a030:2fb0:b424:f4ff:14a9:4270? ([2600:1015:a030:2fb0:b424:f4ff:14a9:4270]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b2a5edb809sm54277106d6.103.2024.06.17.05.15.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 05:15:38 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Content-Type: multipart/alternative; boundary="------------ySwewrN0dRceTacEEGzm4X8L" Message-ID: Date: Mon, 17 Jun 2024 08:15:36 -0400 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: rtw88 vs rtwn Wi-Fi drivers To: "Bjoern A. Zeeb" Cc: FreeBSD Wireless References: <0r8n60n3-4p1p-rr59-880r-1no60po3n76s@yvfgf.mnoonqbm.arg> <2debc66e-9603-4b96-a918-f1823742475f@gmail.com> <9p11oo76-pq82-987q-rrr7-287p3113ss8n@yvfgf.mnoonqbm.arg> Content-Language: en-US In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.22 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.23)[-0.232]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72e:from] X-Rspamd-Queue-Id: 4W2pkN2XY1z4gps This is a multi-part message in MIME format. --------------ySwewrN0dRceTacEEGzm4X8L Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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 > > 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? >> --------------ySwewrN0dRceTacEEGzm4X8L Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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?

--------------ySwewrN0dRceTacEEGzm4X8L--