From nobody Wed Dec 11 16:00:36 2024 X-Original-To: net@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 4Y7gLW6rbjz5g6qQ for ; Wed, 11 Dec 2024 16:00:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 4Y7gLW0jr6z46Hq for ; Wed, 11 Dec 2024 16:00:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of adrian.chadd@gmail.com designates 209.85.167.51 as permitted sender) smtp.mailfrom=adrian.chadd@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-540201cfedbso3108979e87.3 for ; Wed, 11 Dec 2024 08:00:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733932849; x=1734537649; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tvWHXD+7I6lqDnVnlq8YrJsYdrGrikKKYnsrBc1wMuU=; b=qggJ70OOulTGx1wVh8pUywXoEBSuXnkxq/YXH13OH2jZeNipAPqpxbx+4wAww8Iw3b OZWk3vDvZVhcjv2Thneekb64fBxHLursqLbL4lWwxxTnf88i7Z5ICDgH95xnlz1XuKvP xV+Dndy4RlWrF8ULTJ4NOyB1SfrUCVGTrDVu6Jib03lzNacjIKAwQx4wesR93N037zsS bxTp8NFxBN7NKd/wwwQBN4KJyxMtbGX4+xjoqq4RaOVPmuzArvyiL4WkAqXkOj7EmjvT hxbzaWvvXbllRpKkhXjdLKiaaHE9pT/l74ajmQe2MxOMutL5ljzp9gTeLBLR/XJnIHZ0 2lIw== X-Gm-Message-State: AOJu0YwVwVCnkKJbfd0glaVpamwqc3vlWlIEM/qkpNgjXKzGCjlFtSfb uy/RG3+jLZkp/61SF1HdbCTrAfECvqjLLMjQ4ZXfM1PIt98rPDHgnjOT/ri4LfBrgG6zkDAC69y rknV4BpCSlvkLwaKMlkFN09qgrXo= X-Gm-Gg: ASbGnculU5MGvaaM0VEc20M7m4rtIrMus8JwcEiMQBLZy9Wc0BIzgt11iIjoF5T5ns8 jF3z1ZrD1bd4TwBAx5TFf/aFcUgzwraGy554L X-Google-Smtp-Source: AGHT+IH9G0ABbjOvFEM3EAf9GxAHPvF69+BcceHAtRtGOIKDnzg5Cl8hixMbu8U0nSOtDX3t8QpoJ2+PUpgwIFrGQ5E= X-Received: by 2002:a05:6512:ac8:b0:540:20f5:be88 with SMTP id 2adb3069b0e04-5402a5d7762mr1038550e87.5.1733932848998; Wed, 11 Dec 2024 08:00:48 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <5e27a6e0-6fe2-434a-b8ea-1c39ea018d1f@gmail.com> In-Reply-To: <5e27a6e0-6fe2-434a-b8ea-1c39ea018d1f@gmail.com> From: Adrian Chadd Date: Wed, 11 Dec 2024 08:00:36 -0800 Message-ID: Subject: Re: ath0 (Atheros AR946x/AR948x) timeout issues To: Mike Jakubik Cc: net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000877253062900b3bc" X-Spamd-Result: default: False [-1.63 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.98)[-0.983]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; NEURAL_SPAM_SHORT(0.25)[0.248]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[net@freebsd.org]; TAGGED_RCPT(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.51:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.51:from] X-Rspamd-Queue-Id: 4Y7gLW0jr6z46Hq X-Spamd-Bar: - --000000000000877253062900b3bc Content-Type: text/plain; charset="UTF-8" Hi! It shouldn't be timing out at all. It's possible there's some antenna config issues as the AR9462 IIRC is one of those 1x1 devices with an antenna switch and bluetooth. Can you do "ifconfig wlan0 list sta" and paste that and the above into a problem report? I'll go find my AR9462 NICs and take a look. Also, can you take a photo of the NIC itself, so I can make sure it lines up with what I have in my box of Atheros parts? Thanks! -adrian On Sun, 1 Dec 2024 at 05:41, Mike Jakubik wrote: > Hello, > > After all the info i gathered about ath having best WIFI support, i > bought a card only to experience constant timeout issues and terrible > performance. Below is some useful info, any ideas appreciated. The PC > and it's antenna is ~12m @ LOS from the AP. All other WIFI devices in > house work great. > > Qualcomm Atheros AR5BMD222 Wireless Network Adapter > FreeBSD 15 @ ~2 days ago from master branch. > > #rc.conf > create_args_wlan0="country US regdomain FCC" > wlans_ath0="wlan0" > ifconfig_wlan0="WPA SDHCP" > > #wpa_supplicant.conf > ctrl_interface=/var/run/wpa_supplicant > > network={ > ssid="SSID_redacted" > psk="PSK_redacted" > } > > > ath0: mem 0xdf600000-0xdf67ffff at device 0.0 on > pci8 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] LDPC transmit/receive enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9460 mac 640.2 RF5110 phy 0.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 > > > [255] ath0: device timeout > [287] ath0: device timeout > > ^ This repeats hundreds of times, network is unusable during these reports. > > > [mike@fbsd15 ~]$ ifconfig -m wlan0 > > wlan0: flags=8843 metric 0 mtu 1500 > options=0 > capabilities=0 > ether c0:38:96:39:66:f5 > inet 192.168.100.180 netmask 0xffffff00 broadcast 192.168.100.255 > groups: wlan > ssid BluePill channel 149 (5745 MHz 11a ht/40+) bssid 40:ae:30:fc:e2:3d > regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 > mgmtrate 6 scanvalid 60 ampdulimit 64k shortgi -uapsd wme burst > roaming MANUAL > parent interface: ath0 > media: IEEE 802.11 Wireless Ethernet MCS mode 11na > status: associated > > supported media: > media MCS mode autoselect > media MCS mode 11ng > media autoselect mode 11ng > media MCS mode 11na > media autoselect mode 11na > media DS/11Mbps mode autoselect > media DS/5.5Mbps mode autoselect > media DS/2Mbps mode autoselect > media DS/1Mbps mode autoselect > media OFDM/54Mbps mode autoselect > media OFDM/48Mbps mode autoselect > media OFDM/36Mbps mode autoselect > media OFDM/24Mbps mode autoselect > media OFDM/18Mbps mode autoselect > media OFDM/12Mbps mode autoselect > media OFDM/9Mbps mode autoselect > media OFDM/6Mbps mode autoselect > media OFDM/54Mbps mode 11g > media OFDM/48Mbps mode 11g > media OFDM/36Mbps mode 11g > media OFDM/24Mbps mode 11g > media OFDM/18Mbps mode 11g > media OFDM/12Mbps mode 11g > media OFDM/9Mbps mode 11g > media OFDM/6Mbps mode 11g > media DS/11Mbps mode 11g > media DS/5.5Mbps mode 11g > media DS/2Mbps mode 11g > media DS/1Mbps mode 11g > media autoselect mode 11g > media DS/11Mbps mode 11b > media DS/5.5Mbps mode 11b > media DS/2Mbps mode 11b > media DS/1Mbps mode 11b > media autoselect mode 11b > media OFDM/54Mbps mode 11a > media OFDM/48Mbps mode 11a > media OFDM/36Mbps mode 11a > media OFDM/24Mbps mode 11a > media OFDM/18Mbps mode 11a > media OFDM/12Mbps mode 11a > media OFDM/9Mbps mode 11a > media OFDM/6Mbps mode 11a > media autoselect mode 11a > media autoselect mode autoselect > nd6 options=29 > > > > > > --000000000000877253062900b3bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi! It shouldn't be timing out at all. It's possib= le there's some antenna config issues as the AR9462 IIRC is one of thos= e 1x1 devices with an antenna switch and bluetooth.

Can = you do "ifconfig wlan0 list sta" and paste that and the above int= o a problem report? I'll go find my AR9462 NICs and take a look.
<= div>
Also, can you take a photo of the NIC itself, so I can m= ake sure it lines up with what I have in my box of Atheros parts?

Thanks!



<= div>-adrian


On Sun, 1 Dec 2024 at= 05:41, Mike Jakubik <mike.jak= ubik@gmail.com> wrote:
Hello,

After all the info i gathered about ath having best WIFI support, i
bought a card only to experience constant timeout issues and terrible
performance. Below is some useful info, any ideas appreciated. The PC
and it's antenna is ~12m @ LOS from the AP. All other WIFI devices in <= br> house work great.

Qualcomm Atheros AR5BMD222 Wireless Network Adapter
FreeBSD 15 @ ~2 days ago from master branch.

#rc.conf
create_args_wlan0=3D"country US regdomain FCC"
wlans_ath0=3D"wlan0"
ifconfig_wlan0=3D"WPA SDHCP"

#wpa_supplicant.conf
ctrl_interface=3D/var/run/wpa_supplicant

network=3D{
=C2=A0=C2=A0 ssid=3D"SSID_redacted"
=C2=A0=C2=A0 psk=3D"PSK_redacted"
}


ath0: <Atheros AR946x/AR948x> mem 0xdf600000-0xdf67ffff at device 0.0= on
pci8
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9460 mac 640.2 RF5110 phy 0.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000


[255] ath0: device timeout
[287] ath0: device timeout

^ This repeats hundreds of times, network is unusable during these reports.=


[mike@fbsd15 ~]$ ifconfig -m wlan0

wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500
options=3D0
capabilities=3D0
ether c0:38:96:39:66:f5
inet 192.168.100.180 netmask 0xffffff00 broadcast 192.168.100.255
groups: wlan
ssid BluePill channel 149 (5745 MHz 11a ht/40+) bssid 40:ae:30:fc:e2:3d
regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 ampdulimit 64k shortgi -uapsd wme burst
roaming MANUAL
parent interface: ath0
media: IEEE 802.11 Wireless Ethernet MCS mode 11na
status: associated

supported media:
media MCS mode autoselect
media MCS mode 11ng
media autoselect mode 11ng
media MCS mode 11na
media autoselect mode 11na
media DS/11Mbps mode autoselect
media DS/5.5Mbps mode autoselect
media DS/2Mbps mode autoselect
media DS/1Mbps mode autoselect
media OFDM/54Mbps mode autoselect
media OFDM/48Mbps mode autoselect
media OFDM/36Mbps mode autoselect
media OFDM/24Mbps mode autoselect
media OFDM/18Mbps mode autoselect
media OFDM/12Mbps mode autoselect
media OFDM/9Mbps mode autoselect
media OFDM/6Mbps mode autoselect
media OFDM/54Mbps mode 11g
media OFDM/48Mbps mode 11g
media OFDM/36Mbps mode 11g
media OFDM/24Mbps mode 11g
media OFDM/18Mbps mode 11g
media OFDM/12Mbps mode 11g
media OFDM/9Mbps mode 11g
media OFDM/6Mbps mode 11g
media DS/11Mbps mode 11g
media DS/5.5Mbps mode 11g
media DS/2Mbps mode 11g
media DS/1Mbps mode 11g
media autoselect mode 11g
media DS/11Mbps mode 11b
media DS/5.5Mbps mode 11b
media DS/2Mbps mode 11b
media DS/1Mbps mode 11b
media autoselect mode 11b
media OFDM/54Mbps mode 11a
media OFDM/48Mbps mode 11a
media OFDM/36Mbps mode 11a
media OFDM/24Mbps mode 11a
media OFDM/18Mbps mode 11a
media OFDM/12Mbps mode 11a
media OFDM/9Mbps mode 11a
media OFDM/6Mbps mode 11a
media autoselect mode 11a
media autoselect mode autoselect
nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>





--000000000000877253062900b3bc--