From nobody Wed Dec 11 17:54:16 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 4Y7jsf3nJkz5gGRg for ; Wed, 11 Dec 2024 17:54:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 4Y7jsd16X9z4Mch for ; Wed, 11 Dec 2024 17:54:29 +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.52 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-f52.google.com with SMTP id 2adb3069b0e04-53e3a37ae07so4782211e87.3 for ; Wed, 11 Dec 2024 09:54:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733939667; x=1734544467; 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=CNVaLncwmndps1debs3uYWcAqBbXtektdzPDmZpKBHA=; b=FYl+jJkkKwY67OKr2lh1Mt9VycCnU14USuSW0R60QsMQl2m4l18J+4P2s4SfJIwwWn pYbpTeZCTSIpbMcVrMlI01t67c3FROHuiEy70aG2Krrpa+J0hwX+S/1X/zlUn5mlpHQD VX+IubLMv49LKlvfskiovfZkZocS/E4uy/rwdlLV7o09z0lgNkTE07sldh9sTxqi4PSg me7naviaWutXMQuNRTy7g6Y8YAihRHLGK5ZOvkYfK4RJx1s27/+aEPNjYfsxatbsRse7 7jqt0Z/d8nd405zZIboqVM8BH7Ogy/jptegXzoE1PjREkL/fh7vMctLR0zoPEU3eZakj +htg== X-Gm-Message-State: AOJu0Yx3Zxd7qwalDJ3ZLev6BM03+HcOFl59DaIsLOE3IKT/XI+qdBDN +W7EhK/Pk91M45m7O4bBzcXlzldWnS20xKuIxeRgn13Ti17sjc9ga2a7Ns6U+4jxjPlI9tTKJ/4 vcC7vUdHY/qDpFEWcgFlNio9Tbxyb5w== X-Gm-Gg: ASbGncuXFJSoTeq8iY9GvjgunQ6Db7+Rpn3PE2Mpf+PYpIInQ8ZbyVnX3n7524UuupZ +C6eOMyaiV6XJr7Q3tDDXcCRYUiApfU2F3ek5 X-Google-Smtp-Source: AGHT+IE1lsYfr32ix9J+p9e/YW1HPU+rYL1TFMS6KnAw/uFUbaJOlR/0R1xvxFC9tKZ0HjOQfNXsb/mXDXiVfw9FIhI= X-Received: by 2002:a05:6512:68b:b0:53e:3a7d:a1df with SMTP id 2adb3069b0e04-5402a5fcc85mr1310137e87.45.1733939667070; Wed, 11 Dec 2024 09:54:27 -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: From: Adrian Chadd Date: Wed, 11 Dec 2024 09:54:16 -0800 Message-ID: Subject: Re: ath0 (Atheros AR946x/AR948x) timeout issues To: Mike Jakubik Cc: net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000eaf9d806290249d6" X-Spamd-Result: default: False [-2.02 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_SHORT(-0.12)[-0.118]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; 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:~]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; RCVD_COUNT_ONE(0.00)[1]; 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.52:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.52:from] X-Rspamd-Queue-Id: 4Y7jsd16X9z4Mch X-Spamd-Bar: -- --000000000000eaf9d806290249d6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That's great, I just ordered one from Amazon and will go figure it out with you! -adrian On Wed, 11 Dec 2024 at 08:54, Mike Jakubik wrote: > Hi, > > Here are some images for now, I'll have to plug it back in to get the res= t > of the data. > > https://ibb.co/3N1SRtd > https://ibb.co/k0cQ2Pr > > Thanks. > > On Wed, Dec 11, 2024 at 11:00=E2=80=AFAM Adrian Chadd wrote: > >> Hi! It shouldn't be timing out at all. It's possible there's some antenn= a >> 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 line= s >> 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=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{ >>> ssid=3D"SSID_redacted" >>> psk=3D"PSK_redacted" >>> } >>> >>> >>> ath0: mem 0xdf600000-0xdf67ffff at device 0.0 o= n >>> 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 metric 0 mt= u >>> 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 >>> >>> >>> >>> >>> >>> --000000000000eaf9d806290249d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's great, I just ordered one from Amazon and will = go figure it out with you!



-adrian


On Wed, 11 Dec 2024 at 0= 8:54, Mike Jakubik <mike.jakub= ik@gmail.com> wrote:
Hi,

Here are some images fo= r now, I'll have to plug it back in to get the rest of the data.
<= div>

Thanks.

On We= d, Dec 11, 2024 at 11:00=E2=80=AFAM Adrian Chadd <adrian@freebsd.org> wrote:
Hi! It= shouldn't be timing out at all. It's possible there's some ant= enna config issues as the AR9462 IIRC is one of those 1x1 devices with an a= ntenna switch and bluetooth.

Can you do "ifconfig w= lan0 list sta" and paste that and the above into a problem report? I&#= 39;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 wi= th what I have in my box of Atheros parts?

Thanks!=



-adrian
<= br>

On Sun, 1 Dec 2024 at 05:41, Mike Jakubik <mike.jakubik@gmail.com> wrot= e:
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>





--000000000000eaf9d806290249d6--