From nobody Mon Jun 17 11:16:43 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 4W2nQR6Jkbz5NhZX for ; Mon, 17 Jun 2024 11:16:47 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (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 4W2nQR44f2z4btd for ; Mon, 17 Jun 2024 11:16:47 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-630640c1e14so50161187b3.1 for ; Mon, 17 Jun 2024 04:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718623006; x=1719227806; 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=MnFJ5cQ7inR/+dpeeEh0ksnz/Aa+w0IpYP96m6+cZsw=; b=gbfK0TTU2USnldq8ztnMkDuLWRY486yeyzTnM9h7WfjFXgbZ+hD9gicN4yGViohB1A fvgHilQ9/YAdDnUFsn+K6Jb0EJSFZXEGH/PbwZoSk6CJA5jJZrBBnSGTiFSxjo3lrHCr OxS2IBmFkCShltlr2WSvAQ0CvOFLbQ1mD6Ast6z5edhOcJVp9maJ6pUVjoic9N9IwW2/ GQP7We9WV+essw4MLkZT7xtIuX/QFsPkuBiM/c8c99MfAhaOxOR3CoR/AvWYEN1AZDNw tqqAPoGPgGUIpn/GXWR3ZaWbD2T4ieVqhdNZL4pnyAkEUqcAgHw9umqUJLtJ1Fff/YBd pL/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718623006; x=1719227806; 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=MnFJ5cQ7inR/+dpeeEh0ksnz/Aa+w0IpYP96m6+cZsw=; b=ZqPTcYAwr85S9VVKzFbslgC70UhTGpGXGsjR54/GgUH94SaCknwcXGq4tbB72AK2MC u386cYCyWuAgn6+9b3zPtEUUR+1/7bX3RaQvXz2m3gdNTsj4LALBTcMeliMBd58xgW8u eUlaIm0xrJfI6pOVSPJ+oTrP+AB5JwwOvbbyMWk7Wl/pCOA51HyXFk6Sj02PowqfcZh2 EXjHakRhLvCZ3zR93FXp40UQQ2PrtRCN5VlISON2LO8ozjgcJ4w6NcUe3tpm4w+gtI0X N3NqHUDyTkzO98j5r7/dkNe3xoszgu1RYK2p+Za++5b8R+8azV8InR+9KyELD+5g814N h69w== X-Gm-Message-State: AOJu0YwE3uzCyrbMNbw0SlJBmAdoqTASN252qB0aM8rx7Xa1wXV+sNKd Nk/WdpjVHOa2ZprxUbCzOiw+s8L7gLi78pBoxeKoI8g1kmqYeqUV X-Google-Smtp-Source: AGHT+IEa/7veBn9PTJ4cupr506YFsttr+GqXZMmR9jnSQroe3bO0Dm4gOXDTMM4LjUC6xUcP+B+kQw== X-Received: by 2002:a0d:c304:0:b0:61b:349c:817 with SMTP id 00721157ae682-63222560c71mr88095377b3.12.1718623005608; Mon, 17 Jun 2024 04:16:45 -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-6b2a5bf55f8sm54389396d6.15.2024.06.17.04.16.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 04:16:45 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Content-Type: multipart/alternative; boundary="------------dMFEvKMI3giJOW3zvZ0Y90u0" Message-ID: Date: Mon, 17 Jun 2024 07:16:43 -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: <9p11oo76-pq82-987q-rrr7-287p3113ss8n@yvfgf.mnoonqbm.arg> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4W2nQR44f2z4btd This is a multi-part message in MIME format. --------------dMFEvKMI3giJOW3zvZ0Y90u0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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? > --------------dMFEvKMI3giJOW3zvZ0Y90u0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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?

--------------dMFEvKMI3giJOW3zvZ0Y90u0--