From nobody Wed Dec 11 20:21:10 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 4Y7n7668Yyz5gQpb for ; Wed, 11 Dec 2024 20:21:22 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 4Y7n764FqLz4hFD; Wed, 11 Dec 2024 20:21:22 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-46779ae3139so20194521cf.2; Wed, 11 Dec 2024 12:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733948481; x=1734553281; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5OI2X8PZBWqSQ+vcoO7fRwmILCwCcjv0cT7ukdhcSPo=; b=RoOUl7iuk14ul0km13Z2T+JTsPO/sRrhopGxNbRe0zDzi/5XDpAi31N3bGx0hOl18n lym+YgmB+fMX1tmYPX5ukTepL/sa0ij9j8a3JZ7M0l0HNcdvXuXnNnv9VUYwvZWkyEVU 3gtwVeYTK54gWWJU/O9xPAyHWHESE1Qi3zpyMDl7fQuUqEc6kOCQO9oJnHyOPzBvog5y N1s/ygmJmJeIMhuKMXKOTNdsxXyD8pl57MGzLDXccx7GfaV8EVAl3FOAacheqYF7kdJq vTSgrKRuHMEDrkDhISl1iBWP9f1rqIPrrddPdldHj36y2iZvna1MACsB24BgwJCSV/jS JYeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733948481; x=1734553281; 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=5OI2X8PZBWqSQ+vcoO7fRwmILCwCcjv0cT7ukdhcSPo=; b=xRUuEG73Zn1fZ605qDAvu62Eut9qUTptPJt09CWdRuTyAvgzu3iglVK4pd0DEx5Mzh p9PZpx7IBXlwFuNUlWVakNidtFZ/6kxvUI2gGeVHc5YqJLwnW+6J4Xa4cMYphywwXaPb 5D8PqDYoTnTsfTXDG0wtcOKYTQXYPwwBrel4JLOanxv6CCe7LNUCsTEGh9cCV1jaZKCH FO3yzdrJghCk8sl1S0XLM5W/2oqv/MSaeTFlVPXBNvTRx72ibGwW1T53ZiSJARQrw6oc 6oPWfGj4fIUxe+Hg7dTElGs06VGKlsTyHiDEX0dVPnabNJor2IUfqrs9jRF7tRPnA8bf X3Jw== X-Gm-Message-State: AOJu0YxT6JfIWokC0Y6QeyNEvgvoDsLv5gKyfj0ceAP1exAW+Zjj2TTR Qug0FTMyaGyvkqHHzecGzKjhNDsxhKOsLyoIDgkUDg1H9ZbXJL8i46DPvFXwdaFTm/U4eUWLfaP ej0kpe0h5TqEKicrla4ZQq/wlsFtg/A== X-Gm-Gg: ASbGncs/oAk+wRbEC33a+9+ENEJdqcVfR2Q69QatSUfeSCMX7WX6anVaQtXbWJummj7 eoPhBruBSCPUnOfqQiVyjrl24sy2cKfCG+d3N X-Google-Smtp-Source: AGHT+IEJfDgrbXYjCw/vWGpB567rfZzySK306tCAs27s0OrQjl+/1D7Y5A4cEQNXncDftGruM15rzw06p9sQa3aVCZA= X-Received: by 2002:a05:622a:c2:b0:466:ac03:a714 with SMTP id d75a77b69052e-467962211c4mr12486291cf.36.1733948481473; Wed, 11 Dec 2024 12:21:21 -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: Mike Jakubik Date: Wed, 11 Dec 2024 15:21:10 -0500 Message-ID: Subject: Re: ath0 (Atheros AR946x/AR948x) timeout issues To: Adrian Chadd Cc: net@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004c154c06290457ee" 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y7n764FqLz4hFD X-Spamd-Bar: ---- --0000000000004c154c06290457ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yey, hopefully you're not shipping to Canada via Canaa Post :P On Wed, Dec 11, 2024 at 12:54=E2=80=AFPM Adrian Chadd = wrote: > 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 >> rest 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 >>> antenna config issues as the AR9462 IIRC is one of those 1x1 devices wi= th >>> 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=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 >>>> 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 metric 0 m= tu >>>> 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:3= d >>>> 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 >>>> >>>> >>>> >>>> >>>> >>>> --0000000000004c154c06290457ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yey, hopefully you're not shipping to Canada via Canaa= =C2=A0Post=C2=A0:P



On We= d, Dec 11, 2024 at 12:54=E2=80=AFPM Adrian Chadd <adrian@freebsd.org> wrote:
That's great, I just= ordered one from Amazon and will go figure it out with you!

=


-adrian


On Wed, 11 D= ec 2024 at 08:54, Mike Jakubik <mike.jakubik@gmail.com> wrote:
Hi,

Here are some images for now, I'll have to plug it back in to ge= t the rest of the data.

Thanks.

On Wed, Dec 11, 2024 at 11:00=E2=80=AFAM Adrian Ch= add <adrian@free= bsd.org> wrote:
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 ab= ove 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 Ja= kubik <mike.= jakubik@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>





--0000000000004c154c06290457ee--